PRISM Design System

Tokens, components, and agentic patterns with live theme switching.

Semantic tokens
Mapped to exact theme hex values
Token Role Current value Swatch
--color-action-primary Primary CTAs, focused elements #0066CC
--color-surface-default App background #FFFFFF
--color-surface-raised Cards, modals, dropdowns #F5F5F5
--color-text-primary Main body text #111111
--color-text-inverse Text on dark/colored surfaces #FFFFFF
--color-feedback-success Success feedback #00AA44
--color-feedback-warning Warning feedback #F4A300
--color-feedback-danger Error / danger feedback #E50914

Usage notes

  • Actions: Use --color-action-primary only for primary CTAs and focus states.
  • Surfaces: Use --color-surface-default for page background, --color-surface-raised for cards.
  • Text: Use --color-text-primary on light surfaces, --color-text-inverse on dark/colored.
  • Feedback: Success, warning, and danger tokens are for status—not destructive actions.

Token setup (CSS)

/* Semantic tokens – Base theme defaults */
:root {
  --color-action-primary: #0066CC;  /* Primary CTAs */
  --color-surface-default: #FFFFFF; /* App background */
  --color-text-primary: #111111;    /* Main text */
  --color-surface-raised: #F5F5F5;  /* Cards, modals */
  --color-text-inverse: #FFFFFF;    /* Text on colored surfaces */

  --color-feedback-success: #00AA44; /* Success feedback */
  --color-feedback-warning: #F4A300; /* Warning feedback */
  --color-feedback-danger: #E50914;  /* Error feedback */
}