pub fn generate_css(
tokens: &BTreeMap<String, FlatToken>,
dark_tokens: Option<&BTreeMap<String, FlatToken>>,
critical_only: bool,
) -> StringExpand description
Generate CSS custom properties from a flat token map.
If dark_tokens is provided, tokens differing between light and dark
use the light-dark() function with -on-light / -on-dark primitives.
When critical_only is true, only tokens whose path contains “-critical” are included.