Skip to main content

BASE_INTENTS

Constant BASE_INTENTS 

Source
pub const BASE_INTENTS: &[(&str, &str)];
Expand description

Base intents: (TOML dotted source key, canonical token key). The token key is the CSS-var stem (--{token}) and the rgb() lookup key.

Read straight from the loaded theme, which is not quite the same as read from the file: content.secondary and content.muted are tonal steps of content.primary and are filled in at load by derive_tonal_steps, so they arrive here already computed and take this path like any other.