Clinical command, agency-grade precision.
A shareable brand and styling guide for CareIntel’s Starry Ward visual system: calm, exact, premium, operational, and built on semantic tokens rather than page-by-page styling.
Canonical implementation contract
This document is derived from STARRY_WARD_BRAND_AND_STYLE_GUIDE.md. Runtime implementation remains public/globals.css plus src/components/atoms/button.tsx.
Generated: 2026-07-14T14:06:43Z
Not another SaaS skin.
Starry Ward is CareIntel’s clinical-command visual system. It should reduce cognitive load, make operational state legible, and prevent teams from drifting into candy-colored generic AI styling.
Precise labels, restrained color, stable hierarchy, explicit state.
Rich navy depth, fine cyan borders, serif display titles, deliberate spacing.
Quiet backgrounds, low motion, clear recovery, no visual shouting.
Dense-but-readable content, scan-first metadata, obvious next action.
Semantic color, visible focus, consistent controls, no hidden meaning.
Never use
- PlaySkool/candy palettes: hot pink, saturated purple, orange, or arbitrary yellow tabs.
- White-on-white or dark-on-dark text combinations.
- Rounded “AI card” styling on CareIntel command surfaces.
- Color alone for critical, warning, success, or clinical meaning.
- Page-local hex values for standard buttons.
- Multiple primary actions competing inside one decision region.
Name roles, not colors.
The guide uses roles like action-primary, text-muted, and surface-raised. The public artifact shows exact values and intent, but implementation should keep referencing variables.
--starry-deep#020817
Main canvas
--starry-night-2#081429
Deep secondary background
--starry-surfacergba(15, 23, 42, .74)
Standard panel / card
--starry-surface-strongrgba(15, 23, 42, .88)
Dense or important panel
--starry-surface-raised#132035
Menus and elevated controls
--starry-ink#f1f5f9
Primary text
--starry-muted#a8bad3
Secondary text
--starry-subtle#7f93ae
Tertiary metadata only
--starry-cyan#67e8f9
Focus, links, active state
--starry-teal#2dd4bf
Positive action and success
--starry-gold#f4c542
Brand emphasis and warning
--starry-danger#e11d48
Destructive / critical only
--starry-linergba(165, 243, 252, .16)
Standard border / divider
--starry-focus#67e8f9
Keyboard focus indicator
Serif authority. Sans-serif operations.
Starry Ward pairs premium serif display titles with practical UI/body text. The system is deliberately restrained: readable line lengths, sentence-case headings, short uppercase labels only, and no muted text for required instructions.
Text rules
Button labels begin with a verb. Body lines target 45–75 characters where practical. Labels use short tracked uppercase; prose does not.
Buttons carry consequence.
All application buttons must render through src/components/atoms/button.tsx. Native buttons are prohibited by the Starry audit; variants communicate priority, reversibility, and clinical consequence.
State contract
Default, hover, active, focus, disabled, loading, selected, destructive, and reduced-motion behavior belong in the shared component contract — not individual pages.
Border/surface may shift; movement max 1px.
Returns to base position.
Cyan 2px outline plus visible outer ring.
Readable, identifiable, no pointer events.
Disables translation and decorative transition effects.
Depth from luminance, not decoration.
Starry Ward uses zero-radius panels, 4/8/12/16/24/32px spacing, and 1px translucent cyan borders. It should never rely on rounded cards, generic AI gradients, or arbitrary shadows to feel modern.
Acceptance floor
No horizontal overflow at 390px or 1440px. Button radius computes to 0px. Text contrast meets WCAG floor. Meaning is never color-only.
Starry route shell
Clinical dashboard
Square surfaces, active state, precise hierarchy.
Release infrastructure, not polish.
Accessibility is part of the product contract: contrast, focus, keyboard behavior, target size, responsive wrapping, and non-color meaning are audited before release.
Text contrast: 4.5:1 normal; 3:1 large/bold.
Visible keyboard focus at 3:1 state contrast or better.
Interactive target: 40px preferred; 44px for primary/touch-heavy actions.
Reduced-motion behavior for decorative animation.
Meaning is not carried by color alone.
Change the system. Not the page.
The guide’s highest-value rule is operational: a token or shared-component change must cascade across routes without page-by-page color edits.
Change semantic tokens in public/globals.css.
Change component behavior and variants in src/components/atoms/button.tsx.
Update the authenticated /style-guide state examples.
Run pnpm audit:starry and the production build.
Run node scripts/verify-starry-pages.mjs <base-url> <evidence-dir>.
Capture desktop/mobile evidence and update the page audit.
Backed by current design-system practice.
Beck’s source guide grounded Starry Ward in WCAG, USWDS, GOV.UK, IBM Carbon, Storybook, Atlassian tokens, and Material Design token evidence.