sdxc

Type to search, or start from one of these:

responsive

dark

Sugar over scheme("dark", input).

import { dark } from "@sdxc/u/responsive";

Examples

Calls that compose other mixins rather than emitting declarations of their own.

u.dark(u.bg("neutral.solid"))

Using a custom value

Every scale argument also takes a raw CSS value, which passes through untouched.

u.dark(u.bg("neutral.solid"))

Applying on a state

Wrap the call in a state utility to scope it to one selector.

u.hover(u.dark(u.bg("neutral.solid")))

Signature

u.dark(input: UtilityInput<Node>)