Resolve the semantic color groups for a color mode.
Dark mode uses fixed HSL values; light mode derives borders/text from the gray ramp (with alpha).
gray
alpha
"light" or "dark".
"light"
"dark"
The SemanticColors for that mode.
SemanticColors
const colors = getSemanticColors("dark");colors.surface.page; // "hsl(0, 0%, 9%)" Copy
const colors = getSemanticColors("dark");colors.surface.page; // "hsl(0, 0%, 9%)"
Resolve the semantic color groups for a color mode.
Dark mode uses fixed HSL values; light mode derives borders/text from the
grayramp (withalpha).