Effect styles

Elevation, focus, and glass effects: the runtime shadow scale and its component roles, composable keyboard focus rings, and four backdrop-blur steps from theme.css.

Shadows

7 steps

Seven elevation steps, each a box-shadow token of one to three translucent black layers: xs–sm for inputs and cards at rest, md–lg for dropdowns and popovers, xl–3xl for modals and marketing imagery. Translucent black is tuned for light surfaces: in dark mode the shadows recede and elevation is carried by surface color and borders, exactly as the kit's own components behave. The kit also ships shadow-xs-skeuomorphic, a code-side token with no Figma sheet; SquareKit zeroes it in theme.css, by the owner's 2026-09-20 ruling that every button is flat at rest.

shadow-xs

shadow-sm

shadow-md

shadow-lg

shadow-xl

shadow-2xl

shadow-3xl

Elevation roles

4 roles

Choose elevation by behavior, not by visual weight. Current components establish the practical mapping below: inline surfaces stay flat, small responsive lifts use shadow-xs, transient overlays use shadow-lg, and blocking dialogs use shadow-xl. Dark mode keeps the same role and shadow token; semantic surface contrast and borders carry more of the depth when shadows recede.

Role
Current utility
Current use
Flatshadow-noneInline cards, panels, rows, and page sections where background contrast already separates the surface.
Raisedshadow-xsSubtle lifted cards and small controls responding to attention.
Overlayshadow-lgDropdown menus, popovers, and transient floating choices.
Modalshadow-xlModals and dialogs paired with the semantic overlay backdrop.

Focus rings

2 colors

Single-layer focus rings for elements such as toggles and checkboxes that don't need a shadow. In code the ring is an outline: outline-focus-ring (brand-500) or outline-focus-ring-error (rose-500, the sheet's red-500) with outline-2 outline-offset-2. Always on in these cards, while components apply it through focus-visible so only keyboard users see it.

outline-focus-ring

brand-500

outline-focus-ring-error

rose-500

Tab to see the focus-visible ring

Focus rings with shadows

3 combinations

Elements such as buttons need a focus ring and a shadow. Figma can't stack effect styles, so the sheet ships combined focus-ring-and-shadow styles; in code the outline and shadow are independent utilities that compose freely, exactly as these cards do.

focus-ring + shadow-xs

brand-500

shadow-xs

focus-ring + shadow-sm

brand-500

shadow-sm

focus-ring-error + shadow-xs

rose-500

shadow-xs

Backdrop blurs

4 steps × 2 styles

Frosted-glass panels for navigation bars, overlays, and image cards, shown over a fixed photo in the sheet's light and dark glass styles. The sheet's four steps (sm, md, lg, xl) are the --blur-* tokens in theme.css, named exactly as the sheet names them: 2, 4, 6, and 10px, tuned to draw what the sheet draws. Figma blur renders at half the strength of the CSS blur() sigma: divide a Figma blur value by two when translating a design.

backdrop-blur-sm

light

backdrop-blur-sm

dark

backdrop-blur-md

light

backdrop-blur-md

dark

backdrop-blur-lg

light

backdrop-blur-lg

dark

backdrop-blur-xl

light

backdrop-blur-xl

dark