Expand description
DaisyUI theme color extraction and conversion.
Provides ThemeColors — a palette of 19 semantic colors (hex #rrggbb)
extracted from DaisyUI CSS custom properties. Used by both the HTML viewer
(as CSS custom properties) and the Typst preamble (as rgb("#...") values).
Structs§
- Theme
Colors - All 19 DaisyUI semantic colors stored as hex strings (
#rrggbb).
Functions§
- oklch_
to_ hex - Parse a CSS
oklch(L C H)string and convert to#rrggbbhex.