Memorisely

Foundations

Colour

Primitives are the raw palette. Semantics assign those values to roles in the product.

Primitives

Source colours on a Grey ramp (50 is lightest). Prefer these when defining new tokens , not when styling UI directly.

Grey

SwatchNameValue
Grey 50#FFFFFF
Grey 100#FCFCFB
Grey 200#F9F8F7
Grey 300#F8F8F5
Grey 400#F3F3EE
Grey 500#ECECE6
Grey 600#EBEBE5
Grey 700#E8E6E2
Grey 800#E3E0DD
Grey 850#DEDDD7
Grey 900#C9C5B9
Grey 950#7D7A75
Grey 975oklch(0.205 0 0)
Grey 1000oklch(0.145 0 0)

Accent

SwatchNameValue
Redoklch(0.577 0.245 27.325)
Blue#1D9BF0
Green#2EDA6D

Semantics

Role-based tokens used in components. Each maps back to a primitive.

Surfaces

SwatchNameTokenPrimitiveUsage
Background--backgroundGrey 200App canvas
Surface--surfaceGrey 100Cards, panels
Interactive--interactiveGrey 100Inputs, outline buttons
Bone--boneGrey 300Soft fills
Bone muted--bone-mutedGrey 700,
Hover--hover-bgGrey 600,
Press--press-bgGrey 850,
Secondary--secondaryGrey 800,
Muted--mutedGrey 100≈ oklch(0.97)
Footer--footer-bgGrey 700Nav active pill

Ink & actions

SwatchNameTokenPrimitiveUsage
Foreground--foregroundGrey 1000,
Muted foreground--muted-foregroundGrey 950,
Primary--primaryGrey 975Primary actions
Primary foreground--primary-foregroundGrey 50≈ oklch(0.985)
Destructive--destructiveRed,
Switch--switch#2F6E45Checked track , light & dark

Borders & focus

SwatchNameTokenPrimitiveUsage
Border--borderGrey 500Section / nav lines
Soft border--soft-borderGrey 400Card edges
Input--inputGrey 500≈ oklch(0.922)
Ring--ringGrey 900≈ oklch(0.708)
Rating bar--rating-barGrey 900,

Defined in app/globals.css · mapped via @theme inline