Cherry.Commands.ThemeTokens (cherry v0.6.0)

Copy Markdown View Source

Shows the active theme's styling API: every token the theme declares, its default, what it does, and any site override from tokens: in cherry.exs — the merged view a restyle works against.

Usage

mix cherry.theme.tokens [--source DIR] [--json]

Overrides are written with cherry config tokens.NAME VALUE, e.g.

cherry config tokens.--color-accent "#7c3aed"

A value applies to both the light and dark renditions unless written as light-dark(a, b).