Prisma

Architecture

Token JSON sync-tokens.js variables.css tailwind.css @import TW CLI dist/prisma.css
21
Brand Primitives
16
Semantic Mappings
10
Z-Index Layers
v4
Tailwind Version

Usage

Import in HTML:

<link rel="stylesheet" href="dist/prisma.css">

Use Tailwind utilities:

<div class="bg-primary text-primary-foreground p-4 rounded-lg">...</div>

Status colors:

<span class="bg-destructive text-destructive-foreground">Error</span>

Z-Index layers:

<div class="z-modal">...</div>

Color & Utility Mappings

Brand: Prisma Blue 11

CSS VariableValueTailwind Utilities
--color-prisma-blue-50#e7eeffbg-prisma-blue-50 text-prisma-blue-50 border-prisma-blue-50
--color-prisma-blue-100#cfddffbg-prisma-blue-100 text-prisma-blue-100 border-prisma-blue-100
--color-prisma-blue-200#95b9ffbg-prisma-blue-200 text-prisma-blue-200 border-prisma-blue-200
--color-prisma-blue-300#4f99ffbg-prisma-blue-300 text-prisma-blue-300 border-prisma-blue-300
--color-prisma-blue-400#007ae0bg-prisma-blue-400 text-prisma-blue-400 border-prisma-blue-400
--color-prisma-blue-500#005baabg-prisma-blue-500 text-prisma-blue-500 border-prisma-blue-500
--color-prisma-blue-600#00498bbg-prisma-blue-600 text-prisma-blue-600 border-prisma-blue-600
--color-prisma-blue-700#00376bbg-prisma-blue-700 text-prisma-blue-700 border-prisma-blue-700
--color-prisma-blue-800#00264dbg-prisma-blue-800 text-prisma-blue-800 border-prisma-blue-800
--color-prisma-blue-900#001834bg-prisma-blue-900 text-prisma-blue-900 border-prisma-blue-900
--color-prisma-blue-950#000e23bg-prisma-blue-950 text-prisma-blue-950 border-prisma-blue-950

Brand: Prisma Red 10

CSS VariableValueTailwind Utilities
--color-prisma-red-50#fff0f0bg-prisma-red-50 text-prisma-red-50 border-prisma-red-50
--color-prisma-red-100#ffd6d6bg-prisma-red-100 text-prisma-red-100 border-prisma-red-100
--color-prisma-red-200#ffadadbg-prisma-red-200 text-prisma-red-200 border-prisma-red-200
--color-prisma-red-300#ff7070bg-prisma-red-300 text-prisma-red-300 border-prisma-red-300
--color-prisma-red-400#ff3333bg-prisma-red-400 text-prisma-red-400 border-prisma-red-400
--color-prisma-red-500#cc0000bg-prisma-red-500 text-prisma-red-500 border-prisma-red-500
--color-prisma-red-600#990000bg-prisma-red-600 text-prisma-red-600 border-prisma-red-600
--color-prisma-red-700#660000bg-prisma-red-700 text-prisma-red-700 border-prisma-red-700
--color-prisma-red-800#440000bg-prisma-red-800 text-prisma-red-800 border-prisma-red-800
--color-prisma-red-900#220000bg-prisma-red-900 text-prisma-red-900 border-prisma-red-900

Semantic Colors 8

CSS VariableValueTailwind Utilities
--color-primaryvar(--primary)bg-primary text-primary border-primary
--color-primary-foregroundvar(--primary-foreground)bg-primary-foreground text-primary-foreground border-primary-foreground
--color-primary-mutedvar(--primary-muted)bg-primary-muted text-primary-muted border-primary-muted
--color-primary-muted-foregroundvar(--primary-muted-foreground)bg-primary-muted-foreground text-primary-muted-foreground border-primary-muted-foreground
--color-secondaryvar(--secondary)bg-secondary text-secondary border-secondary
--color-secondary-foregroundvar(--secondary-foreground)bg-secondary-foreground text-secondary-foreground border-secondary-foreground
--color-secondary-mutedvar(--secondary-muted)bg-secondary-muted text-secondary-muted border-secondary-muted
--color-secondary-muted-foregroundvar(--secondary-muted-foreground)bg-secondary-muted-foreground text-secondary-muted-foreground border-secondary-muted-foreground

Status Colors 16

CSS VariableValueTailwind Utilities
--color-destructivevar(--destructive)bg-destructive text-destructive border-destructive
--color-destructive-foregroundvar(--destructive-foreground)bg-destructive-foreground text-destructive-foreground border-destructive-foreground
--color-destructive-mutedvar(--destructive-muted)bg-destructive-muted text-destructive-muted border-destructive-muted
--color-destructive-muted-foregroundvar(--destructive-muted-foreground)bg-destructive-muted-foreground text-destructive-muted-foreground border-destructive-muted-foreground
--color-successvar(--success)bg-success text-success border-success
--color-success-foregroundvar(--success-foreground)bg-success-foreground text-success-foreground border-success-foreground
--color-success-mutedvar(--success-muted)bg-success-muted text-success-muted border-success-muted
--color-success-muted-foregroundvar(--success-muted-foreground)bg-success-muted-foreground text-success-muted-foreground border-success-muted-foreground
--color-warningvar(--warning)bg-warning text-warning border-warning
--color-warning-foregroundvar(--warning-foreground)bg-warning-foreground text-warning-foreground border-warning-foreground
--color-warning-mutedvar(--warning-muted)bg-warning-muted text-warning-muted border-warning-muted
--color-warning-muted-foregroundvar(--warning-muted-foreground)bg-warning-muted-foreground text-warning-muted-foreground border-warning-muted-foreground
--color-infovar(--info)bg-info text-info border-info
--color-info-foregroundvar(--info-foreground)bg-info-foreground text-info-foreground border-info-foreground
--color-info-mutedvar(--info-muted)bg-info-muted text-info-muted border-info-muted
--color-info-muted-foregroundvar(--info-muted-foreground)bg-info-muted-foreground text-info-muted-foreground border-info-muted-foreground

Neutral 2

CSS VariableValueTailwind Utilities
--color-mutedvar(--muted)bg-muted text-muted border-muted
--color-muted-foregroundvar(--muted-foreground)bg-muted-foreground text-muted-foreground border-muted-foreground

Surfaces 8

CSS VariableValueTailwind Utilities
--color-backgroundvar(--background)bg-background text-background border-background
--color-foregroundvar(--foreground)bg-foreground text-foreground border-foreground
--color-canvasvar(--canvas)bg-canvas text-canvas border-canvas
--color-surfacevar(--surface)bg-surface text-surface border-surface
--color-surface-foregroundvar(--surface-foreground)bg-surface-foreground text-surface-foreground border-surface-foreground
--color-cardvar(--card)bg-card text-card border-card
--color-card-foregroundvar(--card-foreground)bg-card-foreground text-card-foreground border-card-foreground
--color-card-bordervar(--card-border)bg-card-border text-card-border border-card-border

Interactive 5

CSS VariableValueTailwind Utilities
--color-bordervar(--border)bg-border text-border border-border
--color-inputvar(--input)bg-input text-input border-input
--color-input-bordervar(--input-border)bg-input-border text-input-border border-input-border
--color-accentvar(--accent)bg-accent text-accent border-accent
--color-accent-foregroundvar(--accent-foreground)bg-accent-foreground text-accent-foreground border-accent-foreground

Z-Index Layers 10

CSS VariableValueTailwind Utilities
--z-index-dropdown1000z-dropdown
--z-index-sticky1100z-sticky
--z-index-fixed1200z-fixed
--z-index-overlay1250z-overlay
--z-index-drawer1300z-drawer
--z-index-modal1400z-modal
--z-index-popover1500z-popover
--z-index-toast1600z-toast
--z-index-tooltip1700z-tooltip
--z-index-spotlight1800z-spotlight

Reduced Motion

Prisma automatically disables animations for users who prefer reduced motion:

css
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}