Skip to documentation

Design system / Sources & standards

Current repository source

feedback.css

src/theming/semantics/feedback.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 {
  /*
   * Feedback semantic tokens for success, warning, and info states.
   * Each state provides a solid, muted, and foreground pair so
   * components can choose emphasis without hard-coding colors.
   */
  --success: var(--cxh-color-green-600);
  --success-foreground: var(--cxh-color-neutral-0);
  --success-muted: var(--cxh-color-green-100);
  --success-muted-foreground: var(--cxh-color-green-800);

  --warning: var(--cxh-color-amber-600);
  --warning-foreground: var(--cxh-color-neutral-0);
  --warning-muted: var(--cxh-color-amber-100);
  --warning-muted-foreground: var(--cxh-color-amber-800);

  --info: var(--cxh-color-blue-600);
  --info-foreground: var(--cxh-color-neutral-0);
  --info-muted: var(--cxh-color-blue-100);
  --info-muted-foreground: var(--cxh-color-blue-800);
  --info-border: var(--cxh-color-blue-400);
}

.dark {
  --success: var(--cxh-color-green-500);
  --success-foreground: var(--cxh-color-neutral-950);
  --success-muted: var(--cxh-color-green-950);
  --success-muted-foreground: var(--cxh-color-green-200);

  --warning: var(--cxh-color-amber-500);
  --warning-foreground: var(--cxh-color-neutral-950);
  --warning-muted: var(--cxh-color-amber-950);
  --warning-muted-foreground: var(--cxh-color-amber-200);

  --info: var(--cxh-color-blue-500);
  --info-foreground: var(--cxh-color-neutral-0);
  --info-muted: var(--cxh-color-blue-950);
  --info-muted-foreground: var(--cxh-color-blue-200);
  --info-border: var(--cxh-color-blue-600);
}
All sources and standards
Current components and theme tokens. Fictional example data. Source views refresh on deployment; authors maintain contract notes.