Skip to documentation

Design system / Sources & standards

Current repository source

states.css

src/theming/semantics/states.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 {
  /*
   * State semantic tokens for selection, disabled, and danger states.
   */
  --selected: var(--cxh-color-brand-100);
  --selected-foreground: var(--cxh-color-brand-900);

  --disabled: var(--cxh-color-neutral-100);
  --disabled-foreground: var(--cxh-color-neutral-400);

  --danger: var(--cxh-color-red-600);
  --danger-foreground: var(--cxh-color-neutral-0);
}

.dark {
  --selected: var(--cxh-color-brand-900);
  --selected-foreground: var(--cxh-color-brand-100);

  --disabled: var(--cxh-color-neutral-800);
  --disabled-foreground: var(--cxh-color-neutral-500);

  --danger: var(--cxh-color-red-500);
  --danger-foreground: var(--cxh-color-neutral-0);
}
All sources and standards
Current components and theme tokens. Fictional example data. Source views refresh on deployment; authors maintain contract notes.