Skip to documentation

Design system / Sources & standards

Current repository source

sidebar.css

src/theming/semantics/sidebar.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 {
  /*
   * Sidebar semantic tokens. These mirror the core shadcn contract but
   * are scoped to sidebar surfaces so the sidebar can carry its own
   * emphasis without affecting the rest of the app.
   */
  --sidebar: var(--cxh-color-neutral-50);
  --sidebar-foreground: var(--cxh-color-neutral-950);
  --sidebar-primary: var(--cxh-color-neutral-900);
  --sidebar-primary-foreground: var(--cxh-color-neutral-0);
  --sidebar-accent: var(--cxh-color-neutral-100);
  --sidebar-accent-foreground: var(--cxh-color-neutral-900);
  --sidebar-border: var(--cxh-color-neutral-200);
  --sidebar-ring: var(--cxh-color-neutral-400);
}

.dark {
  --sidebar: var(--cxh-color-charcoal-raised);
  --sidebar-foreground: var(--cxh-color-neutral-50);
  --sidebar-primary: var(--cxh-color-neutral-50);
  --sidebar-primary-foreground: var(--cxh-color-neutral-900);
  --sidebar-accent: var(--cxh-color-neutral-800);
  --sidebar-accent-foreground: var(--cxh-color-neutral-50);
  --sidebar-border: var(--cxh-color-neutral-alpha-100);
  --sidebar-ring: var(--cxh-color-neutral-500);
}
All sources and standards
Current components and theme tokens. Fictional example data. Source views refresh on deployment; authors maintain contract notes.