From 304f819d3e9b2498ebdb70b99b632cda67725a52 Mon Sep 17 00:00:00 2001
From: 李 <344137771@qq.com>
Date: Sun, 31 May 2026 17:57:32 +0800
Subject: [PATCH] 1
---
src/assets/init.scss | 37 ++++++++++++++++++++++++++-----------
1 files changed, 26 insertions(+), 11 deletions(-)
diff --git a/src/assets/init.scss b/src/assets/init.scss
index 3e3f006..14c6752 100644
--- a/src/assets/init.scss
+++ b/src/assets/init.scss
@@ -1,4 +1,5 @@
/** ************************* overwrite ****************/
+@import './theme/index.scss';
#cryptos {
// * {
@@ -37,7 +38,7 @@
}
input::-webkit-input-placeholder {
- color: #C0C4CC;
+ color: #999999;
}
.doTouch {
@@ -55,8 +56,8 @@
$border-grey: #E5E7ED;
$blue: #1194F7;
$light-blue: #1199FA;
- $red: #F43368;
- $green: #06CDA5;
+ $red: #f4374b;
+ $green: #06c16a;
$purple: #9A4DFD;
$night: #131a2e;
// overwrite vant
@@ -74,7 +75,7 @@
}
:root {
- --theme-color: #1194F7;
+ --theme-color: #1a1a1a;
}
/***************** global use framework *****************/
@@ -298,24 +299,36 @@
/* background */
.bg-white {
- background: $white;
+ @include themify() {
+ background: themed("main_background");
+ }
}
.bg-black {
- background: #131a2e;
+ @include themify() {
+ background: themed("main_background");
+ }
}
.bg-night {
- background: #131a2e;
- color: #fff;
+ @include themify() {
+ background: themed("tab_background");
+ color: themed("text_color");
+ }
}
.bg-night1 {
- background: #000;
+ @include themify() {
+ background: themed("tab_background");
+ }
}
.bg-grey {
- background: $grey;
+ // background: $grey;
+
+ @include themify() {
+ background: themed("main_background");
+ }
}
.bg-dark-grey {
@@ -367,7 +380,9 @@
}
.text-black {
- color: $black;
+ @include themify() {
+ color: themed("text_color") !important;
+ }
}
.text-dark-black {
--
Gitblit v1.9.3