Expand description
Support for custom properties for cascading variables.
Macrosยง
- lnf_int ๐
 - lnf_
int_ ๐variable  - make_
variable ๐ 
Structsยง
- Computed
Custom Properties  - A pair of separate CustomPropertiesMaps, split between custom properties that have the inherit flag set and those with the flag unset.
 - CssEnvironment
 - The environment from which to get 
envfunction values. - Custom
Properties Builder  - A struct that takes care of encapsulating the cascade process for custom properties.
 - Environment
Variable ๐ - NonCustom
Reference ๐Map  - NonCustom
References ๐ - Set of flags to non-custom references this custom property makes.
 - References ๐
 - A struct holding information about the external references to that a custom property value may have.
 - Substitution ๐
 - VarOr
EnvReference ๐ - Variable
Fallback ๐ - Variable
Value  - A value for a custom property is just a set of tokens.
 
Enumsยง
- Defer
Font Relative Custom Property Resolution  - Whether to defer resolving custom properties referencing font relative units.
 - Single
NonCustom ๐Reference  
Staticsยง
Functionsยง
- compute_
value ๐ - compute_
variable_ value  - Given a potentially registered variable value turn it into a computed custom property value.
 - do_
substitute_ ๐chunk  - eval_
gtk_ ๐csd_ titlebar_ radius  - find_
non_ ๐custom_ references  - get_
content_ ๐preferred_ color_ scheme  - get_
hairline ๐ - get_
safearea_ ๐inset_ bottom  - get_
safearea_ ๐inset_ left  - get_
safearea_ ๐inset_ right  - get_
safearea_ ๐inset_ top  - get_
scrollbar_ ๐inline_ size  - handle_
invalid_ ๐at_ computed_ value_ time  - parse_
declaration_ ๐value  - https://drafts.csswg.org/css-syntax-3/#typedef-declaration-value
 - parse_
declaration_ ๐value_ block  - Like parse_declaration_value, but accept 
!and;since they are only invalid at the top level. - parse_
name  - Parse a custom property name.
 - remove_
and_ ๐insert_ initial_ value  - Removes the named registered custom property and inserts its uncomputed initial value.
 - substitute
 - Replace var() and env() functions, returning the resulting CSS string.
 - substitute_
all ๐ - Resolve all custom properties to either substituted, invalid, or unset (meaning we should use the inherited value).
 - substitute_
internal ๐ - Replace 
var()andenv()functions. ReturnErr(..)for invalid at computed time. - substitute_
one_ ๐reference  - substitute_
references_ ๐if_ needed_ and_ apply  - Replace 
var()andenv()functions in a pre-existing variable value. 
Type Aliasesยง
- Computed
Value  - Both specified and computed values are VariableValues, the difference is whether var() functions are expanded.
 - Environment
Evaluator ๐ - Name
 - A custom property name is just an 
Atom. - Specified
Value  - Both specified and computed values are VariableValues, the difference is whether var() functions are expanded.