Shape, depth and light

Radius, shadows, the sidebar sheen and the studio ground. Generated from phase-2/kit/tokens.css (kit v3); the full page is docs › Foundations.

Radius scale

Every corner in the admin is one of these.

TokenValueResolves toUseDirect refs
--r-chip4px—square chips51
--r-control6px—buttons, inputs, menu items, filter chips64
--r-card8px—cards, table wrap, popovers (= radius + 2)64
--r-frame15px—panels, app frame, specimen cards63
--r-pill999px—switch, avatar63
--r-media4px—photos inside cards17
--r-card-innercalc(var(--r-card) - 1px)calc(8px - 1px)photo corners inside a 1px-bordered card (raised by cards-gallery)7
--radius0.375rem—6px (shadcn --radius)0
--r-chip4px
--r-control6px
--r-card8px
--r-frame15px
--r-pill999px
--r-media4px
--r-card-innercalc(var(--r-card) - 1px)
--radius0.375rem
Uses--r-chip--r-control--r-card--r-frame--r-pill--r-media--r-card-inner--radius

Shadow scale

Navy-tinted, soft and low. Each one has one job.

Every shadow is tinted with the navy ink (RGB of --primary), never black. Use the token by name: box-shadow: var(--e-pop).

TokenValueWhenDirect refs
--e-0noneflat: tables, rows, chips, inline content0
--e-10 1px 2px rgba(14,23,41,.04)card37
--e-btn0 1px 2px rgba(14,23,41,.20)primary button0
--e-btn-20 1px 1px rgba(14,23,41,.05)secondary button0
--e-frame0 0 0 1px rgba(14,23,41,.05), 0 16px 36px -24px rgba(14,23,41,.20)app frame0
--e-pop0 12px 32px -10px rgba(14,23,41,.25)dropdown, combobox63
--e-toast0 12px 28px -14px rgba(14,23,41,.35)toast0
--e-sheet-24px 0 60px -20px rgba(14,23,41,.35)side sheet, help drawer0
--e-dialog0 24px 64px -20px rgba(14,23,41,.40)dialog, confirm, guard0
--e-phone-sheet0 -20px 50px -20px rgba(14,23,41,.50)phone bottom sheet0
--e-card-hover0 10px 24px -14px rgba(14,23,41,.28)lifted card / kanban card (raised by cards-gallery + data-display)12
--e-railinset 2px 0 0 hsl(var(--primary))2px primary rail: selected row (.fc-cp-tbl)0
--e-rail-warninginset 2px 0 0 hsl(var(--warning))2px warning rail (surfaces)0
--e-rail-stronginset 3px 0 0 hsl(var(--primary))3px primary rail (surfaces)0
--e-rail-strong-infoinset 3px 0 0 hsl(var(--info))—0
--e-rail-strong-warninginset 3px 0 0 hsl(var(--warning))stale card0
--e-rail-strong-destructiveinset 3px 0 0 hsl(var(--destructive))blocked card0
--e-row-focusinset 0 1px 0 hsl(var(--ring)),inset 0 -1px 0 hsl(var(--ring))keyboard-focused table row cell0
--e-row-focus-firstinset 2px 0 0 hsl(var(--ring)),inset 0 1px 0 hsl(var(--ring)),inset 0 -1px 0 hsl(var(--ring))its first cell0
--e-sidebar-edgeinset -1px 0 0 rgba(201,206,218,.07)the sidebar's inner right edge0
--e-sidebar-item-oninset 0 0 0 1px rgba(201,206,218,.09),0 6px 18px -12px rgba(110,140,210,.22)active menu item edge + soft glow0
--e-brand-mark0 0 12px -4px rgba(150,175,225,.22)brand mark glow0
--e-0flat: tables, rows, chips, inline content
--e-1card
--e-btnprimary button
--e-btn-2secondary button
--e-frameapp frame
--e-popdropdown, combobox
--e-toasttoast
--e-sheetside sheet, help drawer
--e-dialogdialog, confirm, guard
--e-phone-sheetphone bottom sheet
--e-card-hoverlifted card / kanban card (raised by cards-gallery + data-display)
--e-rail2px primary rail: selected row (.fc-cp-tbl)
--e-rail-warning2px warning rail (surfaces)
--e-rail-strong3px primary rail (surfaces)
--e-rail-strong-info—
--e-rail-strong-warningstale card
--e-rail-strong-destructiveblocked card
--e-row-focuskeyboard-focused table row cell
--e-row-focus-firstits first cell
--e-sidebar-edgethe sidebar's inner right edge
--e-sidebar-item-onactive menu item edge + soft glow
--e-brand-markbrand mark glow
Uses--e-0--e-1--e-btn--e-btn-2--e-frame--e-pop--e-toast--e-sheet--e-dialog--e-phone-sheet--e-card-hover--e-rail--e-rail-warning--e-rail-strong--e-rail-strong-info--e-rail-strong-warning--e-rail-strong-destructive--e-row-focus--e-row-focus-first--e-sidebar-edge--e-sidebar-item-on--e-brand-mark

Studio ground

The photo ground for garments and cloth.

Garment photos sit on --studio, a soft radial ground, inside --r-media corners.

Uses--studio--r-media.thumb