Module theme_parser

Module theme_parser 

Source
Expand description

Theme and style class parsing

This module provides parsers for theme definitions and style classes.

Functions§

parse_layout_constraints
Parse layout constraints from attributes
parse_palette
Parse theme palette from attributes
parse_state_variants
Returns both single and combined state variants
parse_style_class
Parse a style class definition
parse_style_class_from_node
Parse a style class node from XML
parse_style_properties_from_attrs
Parse style properties from a map of attributes
parse_theme
Parse a theme definition from XML attributes
parse_theme_document
Parse a complete theme.dampen document
parse_theme_from_node
Parse a theme node from XML
parse_typography
Parse typography from attributes

Type Aliases§

StateVariantMaps
Parse state-prefixed attributes into state variants Type alias for state variant maps