mirror of
https://github.com/kilyabin/psysonic.git
synced 2026-07-22 22:45:41 +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.
52 lines
1.8 KiB
CSS
52 lines
1.8 KiB
CSS
/* ─── Catppuccin Latte Variables (Light Theme) ─── */
|
|
[data-theme='latte'] {
|
|
color-scheme: light;
|
|
--select-arrow: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%235c5f77%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpolyline%20points%3D%226%209%2012%2015%2018%209%22%3E%3C%2Fpolyline%3E%3C%2Fsvg%3E");
|
|
--ctp-rosewater: #dc8a78;
|
|
--ctp-flamingo: #dd7878;
|
|
--ctp-pink: #ea76cb;
|
|
--ctp-mauve: #8839ef;
|
|
--ctp-red: #d20f39;
|
|
--ctp-maroon: #e64553;
|
|
--ctp-peach: #fe640b;
|
|
--ctp-yellow: #df8e1d;
|
|
--ctp-green: #40a02b;
|
|
--ctp-teal: #179299;
|
|
--ctp-sky: #04a5e5;
|
|
--ctp-sapphire: #209fb5;
|
|
--ctp-blue: #1e66f5;
|
|
--ctp-lavender: #7287fd;
|
|
--ctp-text: #4c4f69;
|
|
--ctp-subtext1: #5c5f77;
|
|
--ctp-subtext0: #6c6f85;
|
|
--ctp-overlay2: #7c7f93;
|
|
--ctp-overlay1: #8c8fa1;
|
|
--ctp-overlay0: #9ca0b0;
|
|
--ctp-surface2: #acb0be;
|
|
--ctp-surface1: #bcc0cc;
|
|
--ctp-surface0: #ccd0da;
|
|
--ctp-base: #eff1f5;
|
|
--ctp-mantle: #e6e9ef;
|
|
--ctp-crust: #dce0e8;
|
|
|
|
/* Semantic tokens */
|
|
--bg-app: var(--ctp-base);
|
|
--bg-sidebar: var(--ctp-mantle);
|
|
--bg-card: var(--ctp-surface0);
|
|
--bg-hover: var(--ctp-surface1);
|
|
--bg-player: var(--ctp-crust);
|
|
--bg-glass: rgba(239, 241, 245, 0.75);
|
|
--accent: var(--ctp-mauve);
|
|
--accent-dim: rgba(136, 57, 239, 0.15);
|
|
--accent-glow: rgba(136, 57, 239, 0.3);
|
|
--text-primary: var(--ctp-text);
|
|
--text-secondary: var(--ctp-subtext1);
|
|
--text-muted: var(--ctp-subtext0);
|
|
--border: var(--ctp-surface1);
|
|
--border-subtle: var(--ctp-surface0);
|
|
--positive: var(--ctp-green);
|
|
--warning: var(--ctp-yellow);
|
|
--danger: var(--ctp-red);
|
|
}
|
|
|