Tokens & namespaces
color-surface
Preset color-surface values and their consumers.
Scope
These values come from the current preset. Project theme declarations can override them. Mode-specific entries are labeled separately.
Surface roles identify page, subdued, raised, floating and inverse backgrounds. Their stored references resolve through the palette.
Values
base
--color-surface-base- Default
var(--color-neutral-0)lightvar(--color-neutral-0)darkvar(--color-gray-95) muted
--color-surface-muted- Default
var(--color-neutral-5)lightvar(--color-neutral-5)darkvar(--color-gray-100) raised
--color-surface-raised- Default
var(--color-white)lightvar(--color-white)darkvar(--color-gray-90) overlay
--color-surface-overlay- Default
var(--color-white)lightvar(--color-white)darkvar(--color-gray-80) inverse
--color-surface-inverse- Default
var(--color-black)lightvar(--color-black)darkvar(--color-white)
Consumers
surface-
Customize
See variables and modes and theme directives. For usage and examples, see Colors.