🎨 优化滚动条样式

This commit is contained in:
BTMuli
2023-05-25 16:14:01 +08:00
parent 2b4633aac0
commit 3b47c5f255
3 changed files with 3 additions and 2 deletions

View File

@@ -20,6 +20,7 @@ html {
::-webkit-scrollbar-track {
background: var(--scroll-bg);
box-shadow: inset 0 0 5px var(--scroll-bg);
border-radius: 5px;
}

View File

@@ -10,7 +10,7 @@ html.dark {
--sidebar-bg: #1e1e1e;
--sidebar-icon: #e1e1e1;
--page-bg:#2a2a2a;
--scroll-bg: #ECE5D8;
--scroll-bg: rgba(0, 0, 0, 0.5);
--calendar-btn-bg: #1e1e1e;
--back-top-shadow: #000000;
--theme-switch-icon: #e1e1e1;

View File

@@ -10,7 +10,7 @@ html.default {
--sidebar-bg: #485466;
--sidebar-icon: #ece5d8;
--page-bg:#ece5d8;
--scroll-bg: #2A2A2A;
--scroll-bg: rgba(0, 0, 0, 0.2);
--calendar-btn-bg: #393b40;
--back-top-shadow: #546d8b;
--theme-switch-icon: #393b40;