Files
Psychotoxical-psysonic/src/styles/themes/scrollbars.css
T
Frank Stellmacher 45a6a18849 refactor(styles): split theme.css into per-theme files (#656)
theme.css (16138 LOC) → 122 per-section files in src/styles/themes/ +
an index.css that imports them in original cascade order.

Concatenating all files via index.css reproduces the original byte stream
(+1 trailing newline, cosmetic).

Each top-level section header in theme.css (matching /^\/\* ─{3,}/)
becomes its own file, slugged from the header text (or the [data-theme]
selector found in the body when the header was a banner). Pure-separator
headers fold into the previous section so they don't create empty files.

Generated via /tmp/split-theme-css.mjs.
2026-05-13 19:00:50 +02:00

29 lines
504 B
CSS

/* ─── Scrollbars ─── */
::-webkit-scrollbar {
width: 5px;
height: 5px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
background: transparent;
border-radius: var(--radius-full);
transition: background 0.3s ease;
}
*:hover::-webkit-scrollbar-thumb {
background: var(--ctp-surface2);
}
.is-scrolling::-webkit-scrollbar-thumb {
background: var(--ctp-surface2);
}
::-webkit-scrollbar-thumb:hover {
background: var(--ctp-overlay0);
}