Tokens
25 colour variables, each with a Light and a Dark value, plus 33 text styles, 14 space steps, 5 radii, three shadows and three motion speeds. The big number on the site is 58 styles: the 25 colour variables plus the 33 text styles. Components only read these, so changing one changes every part that uses it.
Colour
One variable collection, Loculi Color, with two modes: Light and Dark. Variable names match the table below, for example Surface/Page.
Surface/Page
Page and tray walls · Light #DCDFD6 · Dark #0B0C0B
Surface/Tray Floor
Tray cells · Light #CDD1C5 · Dark #161815
Surface/Tile
Cards and tiles · Light #F2F3EE · Dark #1D201C
Surface/Raised
Open, hovered and selected tiles · Light #FFFFFF · Dark #272B26
Surface/Field
Inputs · Light #FFFFFF · Dark #111311
Surface/Inverse
Ink buttons, toasts, tooltips · Light #121412 · Dark #F2F3EE
Ink/Primary
Headings and body · Light #121412 · Dark #F2F3EE
Ink/Secondary
Captions and hints · Light #55594F · Dark #B9BDB2
Ink/Muted
Disabled text · Light #7D8177 · Dark #80857A
Ink/Inverse
Text on Surface/Inverse · Light #F2F3EE · Dark #121412
Ink/On Accent
Text on Acid · Light #121412 · Dark #121412
Accent/Acid
Primary accent, focus ring · Light #D4F20A · Dark #D4F20A
Accent/Deep
Accent text and icons · Light #9DB400 · Dark #E4FF4A
Accent/Soft
Selected rows · Light #E9F98C · Dark #3B4411
Accent/Wash
Highlights behind text · Light #F3FCC4 · Dark #1F2509
Line/Rule
Dividers and outlines · Light #B6BAAF · Dark #30342E
Line/Strong
Field and button outlines · Light #121412 · Dark #F2F3EE
Line/Faint
Hairlines on tiles · Light rgba(18,20,18,.12) · Dark rgba(242,243,238,.10)
Line/Groove
Tray cell shadow edge · Light rgba(18,20,18,.18) · Dark rgba(0,0,0,.65)
Line/Bevel
Tray cell lit edge · Light rgba(255,255,255,.60) · Dark rgba(255,255,255,.07)
Overlay/Shadow
Tile drop shadow · Light rgba(18,20,18,.42) · Dark rgba(0,0,0,.72)
Overlay/Veil
Behind Modal · Light rgba(18,20,18,.70) · Dark rgba(0,0,0,.80)
State/Error
Errors · Light #A82414 · Dark #FF6A4D
State/Success
Success · Light #1F6B3A · Dark #5FD38B
State/Focus
Focus ring, 3px · Light #D4F20A · Dark #D4F20A
Type
33 text styles. Sizes are Wide / Medium / Compact. Fonts: Anybody, Familjen Grotesk and Martian Mono, all free on Google Fonts.
Display XL
Display L
Display M
Numeral XL
Numeral L
Numeral M
H1
H2
H3
H3 Wide
H4
Lede
Body L
Body
Body S
Caption
Label
Button L
Button M
Button S
Data Mono
Data Mono S
Code
Quote
Nav
Footer Wordmark
Tag
Badge
Field
Field Hint
Error
Table
Legal
Space and radius
14 space steps and 5 radii, used as CSS variables from the Loculi size scale: Space/4, 8, 12, 14, 18, 24, 28, 36, 48, 64, 72, 96, 128, 144. Radii: XS 6, S 10, M 14, L 24, Pill 999. Shadows: Tile, Raised, Overlay. Motion: Fast 0.15s, Medium 0.28s, Slow 0.5s, all paused when the visitor asks for reduced motion.
Theme switch
The Navbar switch changes the mode and saves the choice in the browser as loculi-theme. A first visit follows the visitor’s system theme.