From 88e4e325f3c16a68a323021eee7e6aeceb623f19 Mon Sep 17 00:00:00 2001 From: lumozx <969671691@qq.com> Date: Fri, 20 Oct 2023 12:09:46 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E9=80=89=E6=8B=A9=E5=99=A8=E5=92=8C?= =?UTF-8?q?=E8=BE=93=E5=85=A5=E6=A1=86=E9=80=82=E9=85=8D=E6=9A=97=E9=BB=91?= =?UTF-8?q?=E6=A8=A1=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- feature/src/assets/ant-reset.less | 4 ++++ feature/src/views/settings/database.vue | 13 +++++++++++-- feature/src/views/settings/index.vue | 7 +++++++ 3 files changed, 22 insertions(+), 2 deletions(-) diff --git a/feature/src/assets/ant-reset.less b/feature/src/assets/ant-reset.less index a7ff3d9..19b4db9 100644 --- a/feature/src/assets/ant-reset.less +++ b/feature/src/assets/ant-reset.less @@ -15,6 +15,8 @@ --color-input-hover: #fff; // 边框 --color-border-light: #f0f0f0; + // 输入框附带icon + --color-action-color: rgba(0, 0, 0, 0.25);; } .dark { @@ -29,4 +31,6 @@ --color-input-hover: #444d; // 边框 --color-border-light: #444d; + // 输入框附带icon + --color-action-color: #ffffff4d; } diff --git a/feature/src/views/settings/database.vue b/feature/src/views/settings/database.vue index ff6d608..c978be4 100644 --- a/feature/src/views/settings/database.vue +++ b/feature/src/views/settings/database.vue @@ -304,8 +304,17 @@ const downloadPlugin = async (plugin) => { .ant-form-item-label>label { color: var(--color-text-content); } - .ant-modal-body{ - background-color: var(--color-body-bg) + .ant-modal-body { + background-color: var(--color-body-bg); + .ant-input, + .ant-input-password, + .ant-select-selector { + background: var(--color-input-hover) !important; + color: var(--color-text-content); + } + .ant-input-password-icon, .ant-select-arrow { + color: var(--color-action-color); + } } } \ No newline at end of file diff --git a/feature/src/views/settings/index.vue b/feature/src/views/settings/index.vue index 0d36292..6c5a826 100644 --- a/feature/src/views/settings/index.vue +++ b/feature/src/views/settings/index.vue @@ -512,6 +512,13 @@ const changeLanguage = (value) => { background: var(--color-list-hover); } } + .ant-select-selector { + background: var(--color-input-hover) !important; + color: var(--color-text-content); + } + .ant-input-password-icon, .ant-select-arrow { + color: var(--color-action-color); + } } } }