Skip to documentation

Design system / Sources & standards

Current repository source

surfaces.css

src/theming/semantics/surfaces.css

This view contains the escaped source read during the deployment build. Code and policy text are unchanged. Markdown is shown as source, not rendered as a document. A new deployment refreshes the content.

:root {
  /*
   * Surface semantic tokens. Use these for layers that sit above or below
   * the default background.
   */
  --surface-default: var(--background);
  --surface-raised: var(--cxh-color-neutral-50);
  --surface-overlay: var(--cxh-color-neutral-0);
  --surface-sunken: var(--cxh-color-neutral-100);
}

.dark {
  --surface-raised: var(--cxh-color-charcoal-raised);
  --surface-overlay: var(--cxh-color-charcoal-raised);
  --surface-sunken: var(--cxh-color-charcoal-sunken);
}
All sources and standards
Current components and theme tokens. Fictional example data. Source views refresh on deployment; authors maintain contract notes.