。。。

This commit is contained in:
TimSpan 2025-05-06 16:44:25 +08:00
parent 4602cf361f
commit d8c1c0a3cd
2 changed files with 9 additions and 6 deletions

View File

@ -1,5 +1,6 @@
/* 亮色模式 */ /* 亮色模式 */
:root { :root {
--system-title-bg-color: #ffffff;
--bg-color: #ffffff; --bg-color: #ffffff;
--text-color: rgba(0, 0, 0, .85); --text-color: rgba(0, 0, 0, .85);
--border-top: #f0f0f0; --border-top: #f0f0f0;
@ -11,6 +12,7 @@
/* 暗黑模式 */ /* 暗黑模式 */
:root.dark, :root.dark,
:root[data-theme="dark"] { :root[data-theme="dark"] {
--system-title-bg-color: rgb(16, 16, 20);
--bg-color: #232324; --bg-color: #232324;
--border-color: #2e2e30; --border-color: #2e2e30;
--border-bottom: #484849; --border-bottom: #484849;
@ -27,5 +29,6 @@ body {
border-top: 0 solid var(--border-top); border-top: 0 solid var(--border-top);
border-color: var(--border-color); border-color: var(--border-color);
border-bottom: var(--border-bottom); border-bottom: var(--border-bottom);
transition: all 0.3s ease; /* 平滑过渡效果 */ transition: all 0.3s ease;
/* 平滑过渡效果 */
} }

View File

@ -130,7 +130,7 @@
font-weight: bold; font-weight: bold;
position: absolute; position: absolute;
top: 0; top: 0;
background: #ffffff; background: var(--system-title-bg-color);
z-index: 1000; z-index: 1000;
} }