perf(frontend): tweak css performance

This commit is contained in:
syuilo 2025-08-03 10:01:25 +09:00
parent 2da20bf3e8
commit 7c1f4c9037
1 changed files with 4 additions and 5 deletions

View File

@ -37,11 +37,6 @@ html {
color: var(--MI_THEME-fg); color: var(--MI_THEME-fg);
accent-color: var(--MI_THEME-accent); accent-color: var(--MI_THEME-accent);
&, * {
scrollbar-color: var(--MI_THEME-scrollbarHandle) transparent;
scrollbar-width: thin;
}
&.f-1 { &.f-1 {
font-size: 15px; font-size: 15px;
} }
@ -91,7 +86,11 @@ html::selection {
100% { 100% {
opacity: 0; opacity: 0;
} }
}
html, body, main, div {
scrollbar-color: var(--MI_THEME-scrollbarHandle) transparent;
scrollbar-width: thin;
} }
html, html,