mirror of
https://github.com/Psychotoxical/psysonic.git
synced 2026-07-22 15:25:46 +00:00
45a6a18849
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.
25 lines
860 B
CSS
25 lines
860 B
CSS
/* ─── Dracula — component-level overrides ─────────────────────────────── */
|
|
|
|
/* Column resize grip — was surface1 on bg-card = 1:1 (identical, invisible).
|
|
Use the Comment-lifted tone for strong legibility. */
|
|
[data-theme='dracula'] .col-resize-handle::after {
|
|
background: #c0bfcc; /* 5.5:1 on bg-card — visible */
|
|
width: 2px;
|
|
}
|
|
|
|
/* Focus ring — Dracula Purple for keyboard nav */
|
|
[data-theme='dracula'] *:focus-visible {
|
|
outline: 2px solid #bd93f9;
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
/* Scrollbar thumb — Comment colour (Dracula-authentic) */
|
|
[data-theme='dracula'] ::-webkit-scrollbar-thumb {
|
|
background: #6272a4;
|
|
}
|
|
[data-theme='dracula'] *:hover::-webkit-scrollbar-thumb,
|
|
[data-theme='dracula'] .is-scrolling::-webkit-scrollbar-thumb {
|
|
background: #8b95c0;
|
|
}
|
|
|