From 2f1c231f5a60bb838fde8240f9e6a08151b053d9 Mon Sep 17 00:00:00 2001 From: KAAANG Date: Wed, 24 Jan 2024 18:43:51 +0800 Subject: [PATCH] fix color --- tailwind.config.js | 5 ++- vue/src/layouts/main/components/HeaderBar.vue | 34 +++++-------------- .../layouts/main/components/HeaderIcon.vue | 30 ++++++++++++++++ vue/src/theme/color.scss | 6 ++++ 4 files changed, 49 insertions(+), 26 deletions(-) create mode 100644 vue/src/layouts/main/components/HeaderIcon.vue diff --git a/tailwind.config.js b/tailwind.config.js index fe087ca8..8c77252a 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -51,7 +51,10 @@ export default { dimmer: 'var(--foreground-dimmer, #555)', dimmest: 'var(--foreground-dimmest, #b5b5b5)', // 复杂文字高亮 - 'white-default': 'var(--accent-white-default, #fff)' + 'white-highest': 'var(--foreground-complex-highest, #B5B5B5)', + 'white-higher': 'var(--accent-white-higher, #DADDE1)', + 'white-default': 'var(--accent-white-default, #fff)', + 'green-default': 'var(--accent-green-default, #99A559)' } }, // 基础颜色 diff --git a/vue/src/layouts/main/components/HeaderBar.vue b/vue/src/layouts/main/components/HeaderBar.vue index 887edee0..ce0cada7 100644 --- a/vue/src/layouts/main/components/HeaderBar.vue +++ b/vue/src/layouts/main/components/HeaderBar.vue @@ -1,45 +1,28 @@