LiveStyle.Manifest.VarEntry (LiveStyle v0.13.1)
View SourceEntry structure for CSS custom properties (variables).
Summary
Functions
Gets the ident from a var entry.
Creates a new var entry.
Gets the type info from a var entry.
Gets the value from a var entry.
Types
Functions
Gets the ident from a var entry.
Creates a new var entry.
Parameters
ident- The CSS variable identifier (e.g., "--x1abc123")value- The variable value (string or list for conditional values)type- Optional typed property info (syntax, initial, inherits)
Examples
VarEntry.new("--x1abc123", "blue")
VarEntry.new("--x1abc123", "16px", [syntax: "<length>", initial: "0px", inherits: true])
Gets the type info from a var entry.
Gets the value from a var entry.