sdxc

Type to search, or start from one of these:

state

marker

Applies the given utilities to a list item's marker or a <summary> disclosure triangle via ::marker; only color, font-*, and content apply.

import { marker } from "@sdxc/u/state";

Quick reference

Every documented call, beside the CSS it emits.

CallCSS
u.marker(u.fg("neutral.muted"))css({ "&::marker": { color: "..." } })

Using a custom value

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

u.marker(u.fg("neutral.muted"))

Responsive design

Wrap the call in a container query to scope it to one width.

u.at("md", u.marker(u.fg("neutral.muted")))

Signature

u.marker(input: UtilityInput<Node>)