Next: (olive-css main), Previous: (olive-css decl typography), Up: API
Undocumented macro.
Undocumented macro.
Undocumented macro.
Undocumented macro.
Undocumented macro.
Undocumented macro.
Undocumented macro.
Undocumented macro.
Undocumented macro.
Transform utility rules in args into nested interactive
pseudo-classes matching &:hover targets prefixed by sel.
Prefix utility class selectors within args to incorporate a specific media query screen size token sel.
Construct color-specific utility rules mapping across specified palettes, configurations, and opacity variants.
Format a given string message msg inside a CSS multi-line block comment wrapper.
Undocumented procedure.
Construct a new CSS rule object containing a target
selector and flattened args declarations.
Generate a list of CSS rules from a template selector across multiple string value variants.
Process a sizing pair s by modifying numeric values via a multiplier and formatting output with conversion.
Darken an OKLCH color by subtracting value n from its lightness
component. xs is a list representing OKLCH color components where
the car is lightness.
Recursively flatten a deeply nested list xs into a single flat list.
(flatten-list '(1 (2 3) 4)) ⇒ '(1 2 3 4)
Recursively transform an arbitrarily structured hierarchy of rule
records, lists, or declarations xs into valid CSS text format
strings.
Return the original oklch components completely unmodified, ignoring some.
Lighten an OKLCH color by adding value n to its lightness
component. xs is a list representing OKLCH color components where
the car is lightness.
Compute all combinations (Cartesian product) of elements present between list1 and list2.
Generate a tiered color palette mapping variant weights (e.g., 100, 500, 900) to transformed variations of a base oklch configuration.
Wrap an evaluated set of stylesheet components inside a CSS modern media query expression container block.
(media-query "min-width: 768px" ".container { display: block; }")
Convert a decimal numeric ratio or number x into a standard CSS
percentage % string token.
Return a higher-order closure function transforming numbers into CSS functional notations f scaling values in percentage terms.
Convert a primitive numeric measurement value x into a standard
CSS px string value.
Convert a primitive numeric measurement value x into a standard
CSS rem string value.
Wrap a native numeric measurement value x within a valid CSS
standard blur(...) layout definition.
Format a string with arguments. This is a descriptive alias for
format with an optional destination port.
(~ "color: ~a;" "red") ⇒ "color: red;"
This record type has the following fields:
propertyvalueThis record type has the following fields:
selectordeclarations"&:where([data-theme=dark], [data-theme=dark] *)"
Next: (olive-css main), Previous: (olive-css decl typography), Up: API