style(css): apply minimalist transparent scrollbar globally

This commit is contained in:
xfy 2026-07-03 17:05:06 +08:00
parent e18fe18cc3
commit 34d1d65823

View File

@ -44,6 +44,30 @@
-moz-osx-font-smoothing: grayscale;
}
/* Minimalist custom scrollbars */
* {
scrollbar-width: thin;
scrollbar-color: var(--color-paper-border) transparent;
}
::-webkit-scrollbar {
width: 6px;
height: 6px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
background-color: var(--color-paper-border);
border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
background-color: var(--color-paper-tertiary);
}
.dark {
/* Catppuccin Mocha暗色accent-soft 带绿调accent-2-soft teal
surface0 暗底上透出微弱主/次强调色 */