From eaf28a6fd5876790ba9a674df38e132e5af5bb63 Mon Sep 17 00:00:00 2001 From: liangping <18786721@qq.com> Date: Fri, 9 Jun 2023 12:01:51 +0800 Subject: [PATCH] set theme colors --- chains/mainnet/akash.json | 1 + chains/mainnet/bitcanna.json | 1 + chains/mainnet/evmos.json | 1 + chains/mainnet/kava.json | 1 + chains/mainnet/stride.json | 1 + src/stores/useWalletStore.ts | 2 -- 6 files changed, 5 insertions(+), 2 deletions(-) diff --git a/chains/mainnet/akash.json b/chains/mainnet/akash.json index 09dea15c..cd2ef2a8 100644 --- a/chains/mainnet/akash.json +++ b/chains/mainnet/akash.json @@ -7,6 +7,7 @@ "sdk_version": "0.45.4", "coin_type": "118", "min_tx_fee": "8000", + "theme_color": "#ce4747", "assets": [{ "base": "uakt", "symbol": "AKT", diff --git a/chains/mainnet/bitcanna.json b/chains/mainnet/bitcanna.json index 941fddb2..aec5a26e 100644 --- a/chains/mainnet/bitcanna.json +++ b/chains/mainnet/bitcanna.json @@ -7,6 +7,7 @@ "sdk_version": "0.45.10", "coin_type": "118", "min_tx_fee": "420", + "theme_color": "#00b786", "assets": [{ "base": "ubcna", "symbol": "BCNA", diff --git a/chains/mainnet/evmos.json b/chains/mainnet/evmos.json index 737ecf52..c9b7825f 100644 --- a/chains/mainnet/evmos.json +++ b/chains/mainnet/evmos.json @@ -8,6 +8,7 @@ "min_tx_fee": "5000000000000000", "addr_prefix": "evmos", "logo": "/logos/evmos.png", + "theme_color": "#ed4e33", "keplr_features": ["ibc-transfer", "ibc-go", "eth-address-gen", "eth-key-sign"], "assets": [{ "base": "aevmos", diff --git a/chains/mainnet/kava.json b/chains/mainnet/kava.json index 86226752..b1fbe91d 100644 --- a/chains/mainnet/kava.json +++ b/chains/mainnet/kava.json @@ -9,6 +9,7 @@ "min_tx_fee": "5000", "addr_prefix": "kava", "logo": "/logos/kava.png", + "theme_color": "#ff433e", "assets": [{ "base": "ukava", "symbol": "KAVA", diff --git a/chains/mainnet/stride.json b/chains/mainnet/stride.json index 4f7005e0..8f839e69 100644 --- a/chains/mainnet/stride.json +++ b/chains/mainnet/stride.json @@ -8,6 +8,7 @@ "min_tx_fee": "800", "addr_prefix": "stride", "logo": "/logos/stride.png", + "theme_color": "#e91179", "assets": [{ "base": "ustrd", "symbol": "STRD", diff --git a/src/stores/useWalletStore.ts b/src/stores/useWalletStore.ts index 58502a94..5962287c 100644 --- a/src/stores/useWalletStore.ts +++ b/src/stores/useWalletStore.ts @@ -28,11 +28,9 @@ export const useWalletStore = defineStore('walletStore', { connectedWallet() { // @ts-ignore if(this.wallet.cosmosAddress) return this.wallet - console.log("orrect", this.wallet) const chainStore = useBlockchain(); const key = chainStore.defaultHDPath; const connected = JSON.parse(localStorage.getItem(key) || '{}'); - console.log("connected:", connected) return connected }, balanceOfStakingToken(): Coin {