css_bundled_resolution.ts view source
CssResolutionOptions import type {CssResolutionOptions} from '@fuzdev/fuz_css/css_bundled_resolution.js'; Options for CSS resolution.
style_rule_index
Index of style.css rules
type StyleRuleIndex
variable_graph
Dependency graph for theme variables
detected_elements
HTML elements detected in source files
type Set<string>
detected_classes
CSS classes detected in source files
type Set<string>
detected_css_variables
CSS variables directly referenced in source files
type Set<string>
utility_variables_used
CSS variables used by generated utility classes
type Set<string>
additional_elements?
Additional elements to always include, or 'all' to include all base styles
type Iterable<string, any, any> | "all"
additional_variables?
Additional variables to always include, or 'all' to include all theme variables
type Iterable<string, any, any> | "all"
include_stats?
Whether to include resolution statistics in result
type boolean
warn_unmatched_elements?
Warn when detected elements have no matching style rules (default false)
type boolean
exclude_elements?
Elements to exclude from base CSS output, even if detected.
type Iterable<string, any, any>
exclude_variables?
CSS variables to exclude from theme output, even if referenced.
type Iterable<string, any, any>
explicit_elements?
Elements explicitly annotated via @fuz-elements comments.
These produce errors (not warnings) if they have no matching style rules.
type Set<string> | null
explicit_variables?
Variables explicitly annotated via @fuz-variables comments.
These produce errors (not warnings) if they don't exist in the theme.
type Set<string> | null