From c5380c2c1a8b3a3f641b1a5d1e49b9379e0a4136 Mon Sep 17 00:00:00 2001 From: augushong Date: Mon, 5 Oct 2026 13:52:42 +0000 Subject: [PATCH] =?UTF-8?q?fix(theme):=20=E6=B8=85=E7=88=BD=E7=9A=AE?= =?UTF-8?q?=E8=82=A4=E7=BB=BF=E8=89=B2=E8=AF=AD=E4=B9=89=E7=B1=BB=E6=97=8F?= =?UTF-8?q?=E8=A6=86=E7=9B=96=E4=B8=BA=E6=B7=B1=E8=93=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/static/common/css/theme/_fresh.scss | 14 ++++++++++---- public/static/common/css/theme/index.css | 9 ++++++--- 2 files changed, 16 insertions(+), 7 deletions(-) diff --git a/public/static/common/css/theme/_fresh.scss b/public/static/common/css/theme/_fresh.scss index 5f38dcc..cb67958 100644 --- a/public/static/common/css/theme/_fresh.scss +++ b/public/static/common/css/theme/_fresh.scss @@ -711,17 +711,23 @@ $shadow-pop: 0 6px 16px rgba(31, 35, 41, .08); border-color: $main; } -// G8 深蓝层:语义蓝类与链接(#1E9FFF/#01aaed → $main-deep) -.layui-bg-blue { +// G8 深蓝层:语义色类与链接(#1E9FFF/#01aaed/#16baaa → $main-deep) +// 绿色语义族(bg/border/font-green)按用户定案"名字叫 green 也可覆盖"一并归深蓝, +// 与蓝色语义类同层同值——徽章/标签/强调文字整族统一,不再有绿蓝割裂。 +// 基线全部带 !important(layui.css),同姿态反杀。 +.layui-bg-blue, +.layui-bg-green { background-color: $main-deep !important; } -.layui-border-blue { +.layui-border-blue, +.layui-border-green { border-color: $main-deep !important; color : $main-deep !important; } -.layui-font-blue { +.layui-font-blue, +.layui-font-green { color: $main-deep !important; } diff --git a/public/static/common/css/theme/index.css b/public/static/common/css/theme/index.css index 902a1f8..cefedee 100644 --- a/public/static/common/css/theme/index.css +++ b/public/static/common/css/theme/index.css @@ -2632,14 +2632,17 @@ .elem-style-fresh .layui-upload-drag[lay-over] { border-color: #1E9FFF; } -.elem-style-fresh .layui-bg-blue { +.elem-style-fresh .layui-bg-blue, +.elem-style-fresh .layui-bg-green { background-color: #0b73de !important; } -.elem-style-fresh .layui-border-blue { +.elem-style-fresh .layui-border-blue, +.elem-style-fresh .layui-border-green { border-color: #0b73de !important; color: #0b73de !important; } -.elem-style-fresh .layui-font-blue { +.elem-style-fresh .layui-font-blue, +.elem-style-fresh .layui-font-green { color: #0b73de !important; } .elem-style-fresh .layui-table-cell .layui-table-link {