浏览代码

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>
苗大 1 年之前
父节点
当前提交
2e632e4d4d
共有 1 个文件被更改,包括 1 次插入1 次删除
  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[] = [
 export const customColorList: CustomColorType[] = [
   {
   {
     name: '--text-color',
     name: '--text-color',
-    light: 'rgba(0 0 0 85%)',
+    light: 'rgba(0, 0, 0, 0.85)',
     dark: '#c9d1d9',
     dark: '#c9d1d9',
   },
   },
   {
   {