# Prismora > Framework-agnostic design system: OKLCH theme generation from one seed colour, 5 surface styles (flat, outline, gradient, glass, neumorphic), motion tokens, and accessible web components with typed wrappers for React, Vue, Svelte, Solid and Angular. ## Rules for agents - Use Prismora components ( or @prismora/ wrappers) and tokens (--pm-*). Never hard-code colours, radii, shadows or durations. - Shared attributes: variant (solid|soft|outline|ghost|link), tone (accent|secondary|neutral|success|warning|danger|info), size (xs|sm|md|lg|xl), surface (flat|outline|gradient|glass|neumorphic), radius (none|sharp|rounded|soft|pill), density (compact|comfortable|spacious), motion (none|reduced|full). - Mobile: one markup for desktop, tablet and phone. Responsive by default; add mobile to (or an area/component) for native app patterns on touch devices: tab bar and bottom sheets on phones, labelled rail on tablets, back button and collapsing title in . Desktops are the same in both modes. mobile="false" opts out; autoNative() turns it on only when installed. - tone/surface/radius/density/motion are contextual: set data-tone, data-surface… on a container and descendants inherit them. - Style controls: shadows, borders and each surface's make-up are custom properties, not fixed values. Set them in the theme config (shadow: { angle, depth, softness, strength, color }, border: { width }, glass: { blur, opacity, saturation, sheen, edge, backdrop, tint }, gradient: { angle, strength, sheen, from, to }, neumorphic: { highlight, curve, light, base }) or as CSS on the root or on any element with data-surface: --pm-light-angle, --pm-shadow-depth, --pm-shadow-softness, --pm-shadow-strength, --pm-shadow-ink; --pm-border-width; --pm-glass-blur, --pm-glass-opacity, --pm-glass-saturation, --pm-glass-sheen, --pm-glass-edge, --pm-glass-backdrop, --pm-glass-tint; --pm-gradient-angle, --pm-gradient-strength, --pm-gradient-sheen, --pm-gradient-from, --pm-gradient-to; --pm-neu-highlight, --pm-neu-curve, --pm-neu-light, --pm-neu-base. --pm-light-angle: 0deg is light from above; depth, softness, strength and the like are 1 as designed. Use --pm-elevation-1…5 for your own shadows so they follow the same light. Full list: https://prismora.design/docs/surfaces#controls - Every form control needs label="…". Icon-only buttons need label="…". - Load the foundation once: import '@prismora/css/foundation.css' (tokens, theme, base). Then import only the elements you use: import '@prismora/elements/button'; import '@prismora/elements/combobox' (each registers its tag and brings its own CSS). Wrappers (@prismora/react|vue|svelte) register their element automatically. '@prismora/elements/define' registers everything (prototypes only). - Icons: import { check, trash } from '@prismora/icons' and icon(check), or registerIcons([check]) from '@prismora/elements/icon' then . - Pick the specific component instead of building one: combobox (searchable select, multi tags), date-picker/calendar, number-input, pin-input (OTP), rating, segmented, file-upload, data-table, tree, command (⌘K palette), pagination, breadcrumb, steps, carousel, tag, stat, timeline, empty-state. - Typography: data-font="system|inter|figtree|jakarta|manrope|grotesk|friendly|editorial" on any element switches font pairings; load fonts with import '@prismora/fonts/pairing-'. Long-form text: class="pm-prose". Text utilities: pm-text-xs…5xl, pm-heading, pm-lead, pm-eyebrow, pm-font-mono, pm-truncate, pm-line-clamp, pm-tabular. - Theme: data-mode="light|dark" and data-theme="" on any element. Generate themes with @prismora/theme defineTheme({ seed }). - CSS-only alternative (zero JS): class="pm-button" data-variant="soft" data-tone="danger", class="pm-input", class="pm-card"… - Setup: `npx @prismora/cli init --yes --framework --json` wires CSS, theme and the no-flash script. - Whole screens: start from a template (`npx @prismora/cli add