color
Reference for the color CSS property.
Variables
When using a property with a semantic value like c-primary, Maple generates a variable fallback chain depending on the type of the property.
This page uses primary as the example token. In real utilities it can be any semantic name (secondary, success, border etc.) or a native CSS color name (red, blue, green etc.).
The chain is evaluated from left to right, using the first defined variable and falling through to the next variable or default.
Color value
Resolves the semantic color token for this property.
--c-primaryMost Specific--color-primary--primaryprimaryDefaultl-scale
Scales the resolved OKLCH lightness channel.
--c-primary-l-scaleMost Specific--primary-l-scale--c-l-scale--l-scale1Defaultc-scale
Scales the resolved OKLCH chroma channel.
--c-primary-c-scaleMost Specific--primary-c-scale--c-c-scale--c-scale1Defaulth-rotate
Rotates the resolved OKLCH hue channel.
--c-primary-h-rotateMost Specific--primary-h-rotate--c-h-rotate--h-rotate0Default