Widely available
This feature is well established and works across many devices and browser versions.
Chrome
Edge
Firefox
Safari
cs-dcolor-scheme: dark;cs-lcolor-scheme: light;cs-ldcolor-scheme: light dark;Yumma CSS declares
color-scheme: light darkon:rootautomatically as soon as your theme contains a paired color. Use these utilities to override it.
Responsiveness
Use breakpoint prefixes to target different screen sizes. Styles apply from the breakpoint & up.
@sm:cs-(value)Small≥640px
@md:cs-(value)Medium≥768px
@lg:cs-(value)Large≥1024px
@xxl:cs-(value)Extra Large≥1536px
Hover State
Apply styles conditionally on hover using the h: prefix.
Add the h: prefix to apply styles only when the user hovers over the element.
Syntax:
h:cs-(value)