Custom Themes

Register DaisyUI CSS-variable themes or 0build palettes at runtime.

DaisyUI

Register a custom DaisyUI theme with CSS variables.

0build

Register a custom 0build color palette at runtime.

python
from trunco.daisy import register_theme

register_theme(name="brand",
    colors={"primary": "#1EA1F1"})
python
from trunco.zbuild import register_palette

register_palette(name="brand", ...)