Skip to content

Commit

Permalink
feat: re-enable KILT Rococo parachain (polkadot-js#6963)
Browse files Browse the repository at this point in the history
* feat: enable RILT rococo parachain

* feat: add more KILT colors

* fix: lint

* fix: lint again
  • Loading branch information
wischli authored Feb 10, 2022
1 parent 1bcd672 commit b579c18
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
8 changes: 4 additions & 4 deletions packages/apps-config/src/endpoints/testingRelayRococo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -222,11 +222,11 @@ export function createRococo (t: TFunction): EndpointOption {
},
{
info: 'rococoKilt',
isDisabled: true, // Rococo reset
paraId: 12623,
text: t('rpc.rococo.kilt', 'KILT PC1', { ns: 'apps-config' }),
isDisabled: false,
paraId: 2015,
text: t('rpc.rococo.kilt', 'RILT', { ns: 'apps-config' }),
providers: {
'KILT Protocol': 'wss://para.rococo-v1.kilt.io'
'KILT Protocol': 'wss://rococo.kilt.io'
}
},
{
Expand Down
12 changes: 9 additions & 3 deletions packages/apps-config/src/ui/colors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ const chainPontem = '#A92FAC';
const chainPrism = 'linear-gradient(45deg, rgba(63,94,251,1) 0%, rgba(252,70,107,1) 100%)';
const chainKico = '#29B58D';
const chainKilt = '#8c145a';
const chainKiltDev = '#f05a27';
const chainKiltPeregrine = `linear-gradient(45deg, ${chainKiltDev} 0%, ${chainKilt} 100%)`;
const chainKiltRilt = `linear-gradient(45deg, ${chainKilt} 0%, ${chainKiltDev} 100%)`;
const chainKonomi = '#007aff';
const chainKusama = '#000000';
const chainKusari = '#b8860b';
Expand Down Expand Up @@ -273,10 +276,12 @@ export const chainColors: Record<string, string> = Object.entries({
Khala: chainKhala,
KICO: chainKico,
KILT: chainKilt,
'KILT Local': chainKilt,
'KILT Peregrine': chainKilt,
'KILT Local': chainKiltDev,
'KILT Peregrine': chainKiltPeregrine,
'KILT Peregrine Stagenet': chainKiltDev,
'KILT Spiritnet': chainKilt,
'KILT Testnet': chainKilt,
'KILT Spiritnet Development': chainKiltDev,
'KILT Testnet': chainKiltDev,
Kintsugi: chainKintsugi,
'KLUGDOSSIER.NET': chainKlug,
Konomi: chainKonomi,
Expand Down Expand Up @@ -334,6 +339,7 @@ export const chainColors: Record<string, string> = Object.entries({
'Prism Testnet': chainPrism,
'QUARTZ by UNIQUE': chainQuartz,
'ReAlis Network': nodeRealis,
RILT: chainKiltRilt,
'RioChain CC-1': chainRiochain,
'Riochain Staging': chainRiochain,
Robonomics: nodeRobonomics,
Expand Down

0 comments on commit b579c18

Please sign in to comment.