Ver Fonte

fix(dark): fix --text-color light color not work (#3228)

* fix(dark): fix --text-color light color not work

* fix(dark): fix --text-color light color not work

---------

Co-authored-by: 苗大 <caoshengmiao@hypergryph.com>
苗大 há 1 ano atrás
pai
commit
2e632e4d4d
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      src/logics/theme/dark.ts

+ 1 - 1
src/logics/theme/dark.ts

@@ -14,7 +14,7 @@ export type CustomColorType = {
 export const customColorList: CustomColorType[] = [
   {
     name: '--text-color',
-    light: 'rgba(0 0 0 85%)',
+    light: 'rgba(0, 0, 0, 0.85)',
     dark: '#c9d1d9',
   },
   {