improve svg and background

This commit is contained in:
liangping
2023-06-09 13:47:25 +08:00
parent 2cbf6a3ac9
commit 013cc64702
3 changed files with 34 additions and 5 deletions
+5 -2
View File
@@ -1,5 +1,8 @@
import { useBlockchain } from '@/stores';
import numeral from 'numeral';
const chainStore = useBlockchain()
const themeColors = (theme: string) => {
if (theme === 'light') {
return {
@@ -9,7 +12,7 @@ const themeColors = (theme: string) => {
surface: '#FFFFFF',
'surface-variant': '#424242',
'on-surface-variant': '#EEEEEE',
primary: '#666CFF',
primary: chainStore.current?.themeColor || '#666CFF',
'primary-darken-1': '#3700B3',
secondary: '#6D788D',
'secondary-darken-1': '#018786',
@@ -89,7 +92,7 @@ const themeColors = (theme: string) => {
surface: '#30334E',
'surface-variant': '#BDBDBD',
'on-surface-variant': '#424242',
primary: '#666CFF',
primary: chainStore.current?.themeColor || '#666CFF',
'primary-darken-1': '#3700B3',
secondary: '#6D788D',
'secondary-darken-1': '#03DAC5',