From d7a530db4637d9957a07b3518d91c538a1088d10 Mon Sep 17 00:00:00 2001 From: chenghongxing <1126263215@qq.com> Date: Sun, 12 Mar 2023 17:24:48 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20fixed=20the=20color=20problem=20in=20nig?= =?UTF-8?q?ht=20mode;=20:bug:=20=E4=BF=AE=E5=A4=8D=EF=BC=9A=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=E9=BB=91=E5=A4=9C=E6=A8=A1=E5=BC=8F=E4=B8=8B=E9=A2=9C?= =?UTF-8?q?=E8=89=B2=E9=97=AE=E9=A2=98=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/config/default/antd.config.js | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/src/config/default/antd.config.js b/src/config/default/antd.config.js index bc79e63..17b5d12 100644 --- a/src/config/default/antd.config.js +++ b/src/config/default/antd.config.js @@ -22,7 +22,7 @@ const ANTD = { 'component-background': '#fff', 'heading-color': 'rgba(0, 0, 0, 0.85)', 'text-color': 'rgba(0, 0, 0, 0.65)', - 'text-color-inverse': '#fff', + 'text-color-inverse': '#fefefe', 'text-color-secondary': 'rgba(0, 0, 0, 0.45)', 'shadow-color': 'rgba(0, 0, 0, 0.15)', 'border-color-split': '#f0f0f0', @@ -35,8 +35,9 @@ const ANTD = { 'disabled-color': 'rgba(0, 0, 0, 0.25)', 'menu-dark-color': 'rgba(254, 254, 254, 0.65)', 'menu-dark-highlight-color': '#fefefe', + 'menu-dark-selected-item-icon-color': '#fefefe', 'menu-dark-arrow-color': '#fefefe', - 'btn-primary-color': '#fff', + 'btn-primary-color': '#fefefe', }, light: { 'layout-body-background': '#f0f2f5', @@ -44,7 +45,7 @@ const ANTD = { 'component-background': '#fff', 'heading-color': 'rgba(0, 0, 0, 0.85)', 'text-color': 'rgba(0, 0, 0, 0.65)', - 'text-color-inverse': '#fff', + 'text-color-inverse': '#fefefe', 'text-color-secondary': 'rgba(0, 0, 0, 0.45)', 'shadow-color': 'rgba(0, 0, 0, 0.15)', 'border-color-split': '#f0f0f0', @@ -57,8 +58,9 @@ const ANTD = { 'disabled-color': 'rgba(0, 0, 0, 0.25)', 'menu-dark-color': 'rgba(1, 1, 1, 0.65)', 'menu-dark-highlight-color': '#fefefe', + 'menu-dark-selected-item-icon-color': '#fefefe', 'menu-dark-arrow-color': '#fefefe', - 'btn-primary-color': '#fff', + 'btn-primary-color': '#fefefe', }, night: { 'layout-body-background': '#000', @@ -66,7 +68,7 @@ const ANTD = { 'component-background': '#141414', 'heading-color': 'rgba(255, 255, 255, 0.85)', 'text-color': 'rgba(255, 255, 255, 0.85)', - 'text-color-inverse': '#141414', + 'text-color-inverse': '#fefefe', 'text-color-secondary': 'rgba(255, 255, 255, 0.45)', 'shadow-color': 'rgba(255, 255, 255, 0.15)', 'border-color-split': '#303030', @@ -79,8 +81,9 @@ const ANTD = { 'disabled-color': 'rgba(255, 255, 255, 0.25)', 'menu-dark-color': 'rgba(254, 254, 254, 0.65)', 'menu-dark-highlight-color': '#fefefe', + 'menu-dark-selected-item-icon-color': '#fefefe', 'menu-dark-arrow-color': '#fefefe', - 'btn-primary-color': '#141414', + 'btn-primary-color': '#fefefe', } } }