Bladeren bron

fix: 修复css变量定义错乱的问题

zhupei@smartai.com 1 jaar geleden
bovenliggende
commit
20a4b1d5c0
2 gewijzigde bestanden met toevoegingen van 11 en 16 verwijderingen
  1. 0 13
      src/base/theme/theme-dark.css
  2. 11 3
      src/base/theme/theme-light.css

+ 0 - 13
src/base/theme/theme-dark.css

@@ -1,15 +1,2 @@
 html body[dmx-theme='dark'] {
-  --bg-color: #333;
-
-  --color-text-1: #1f2022;
-  --color-text-2: #707379;
-  --color-text-3: #a4a8b1;
-
-  --color-bg-1: #fff;
-  /* --color-bg-2: #fff;
-  --color-bg-3: #fff; */
-
-  --color-fill-2: #f0f2f5;
-  /* --color-fill-3: #f0f2f5;
-  --color-fill-4: #f0f2f5; */
 }

+ 11 - 3
src/base/theme/theme-light.css

@@ -1,5 +1,13 @@
-html body[dmx-theme="light"] {
-  --test-bg-color1: red;
+html body[dmx-theme='light'] {
+  --color-text-1: #1f2022;
+  --color-text-2: #707379;
+  --color-text-3: #a4a8b1;
 
-  --bg-color: #dedede;
+  --color-bg-1: #fff;
+  /* --color-bg-2: #fff;
+  --color-bg-3: #fff; */
+
+  --color-fill-2: #f0f2f5;
+  /* --color-fill-3: #f0f2f5;
+  --color-fill-4: #f0f2f5; */
 }