From e96a68656724425ab479a2db181cd007809d952a Mon Sep 17 00:00:00 2001 From: kahnix Date: Mon, 9 Dec 2024 19:57:38 +0100 Subject: [PATCH] fix(styling): changed colors, default values, made search bar interactions more consistent --- src/components/charts/apexChartConfig.ts | 7 +-- src/modules/[chain]/ibc/connection.vue | 2 +- src/modules/[chain]/index.vue | 6 +-- src/modules/[chain]/tx/index.vue | 13 ++++- src/modules/[chain]/uptime/customize.vue | 5 -- src/modules/wallet/apr.vue | 60 ++++++++++++++---------- src/pages/index.vue | 26 +++++----- src/plugins/i18n/locales/en.json | 8 ++-- 8 files changed, 72 insertions(+), 55 deletions(-) diff --git a/src/components/charts/apexChartConfig.ts b/src/components/charts/apexChartConfig.ts index e4420e22be..2be351e07a 100644 --- a/src/components/charts/apexChartConfig.ts +++ b/src/components/charts/apexChartConfig.ts @@ -12,7 +12,7 @@ const themeColors = (theme: string) => { surface: '#FFFFFF', 'surface-variant': '#424242', 'on-surface-variant': '#EEEEEE', - primary: chainStore.current?.themeColor || '#9cd3b8', + primary: '#9cd3b8', 'primary-darken-1': '#9cd3b8', secondary: '#6D788D', 'secondary-darken-1': '#018786', @@ -222,10 +222,11 @@ export const getMarketPriceChartConfig = ( }, }, - colors: [themeColors(theme).colors.primary], + colors: [ '#fa7327'], fill: { - opacity: 0.5, + opacity: 0.8, type: 'gradient', + gradientToColors: ['#ff5722', '#fa7327'], }, grid: { show: true, diff --git a/src/modules/[chain]/ibc/connection.vue b/src/modules/[chain]/ibc/connection.vue index 136fe03631..cfbf0b1b8b 100644 --- a/src/modules/[chain]/ibc/connection.vue +++ b/src/modules/[chain]/ibc/connection.vue @@ -54,7 +54,7 @@ function pageload(p: number) { ⇌ {{ s.to }}
-
+
diff --git a/src/modules/[chain]/index.vue b/src/modules/[chain]/index.vue index 74f270e13b..84e1190158 100644 --- a/src/modules/[chain]/index.vue +++ b/src/modules/[chain]/index.vue @@ -110,7 +110,7 @@ const amount = computed({
{{ coinInfo.name }} ({{ coinInfo.symbol - }}) + }})
-