Skip to content

Instantly share code, notes, and snippets.

View tiboprea's full-sized avatar
🎯
Focusing

Tiberiu Oprea tiboprea

🎯
Focusing
View GitHub Profile
@tiboprea
tiboprea / gist:ae78c1b3bab954f9cc919891bdc7a45d
Created June 9, 2026 10:47
PubliWrite — Tailwind palette values used in dark mode tokens
/*
These are the Tailwind v4 built-in palette values referenced by the
dark mode token overrides in global.base.css (.dark block).
e.g. --color-surface: var(--color-mauve-900) → oklch(21.2% 0.019 322.12)
All values are OKLCH.
*/
/* ── Mauve (used for all surfaces, foreground, borders in dark mode) ── */
@tiboprea
tiboprea / gist:e303ac431a0581bcdeb1da0f96ec0916
Created June 9, 2026 10:45
PubliWrite design system color tokens (global.base.css)
/* ======================================================
PubliWrite — global.base.css color tokens
Light mode: @theme block
Dark mode: .dark overrides
Tailwind class = token name without --color- prefix
e.g. --color-surface → bg-surface, text-surface, border-surface
====================================================== */
/* ── LIGHT MODE (@theme) ── */