Tokens
Every value in MDS is a token, exposed as a CSS variable. Change a variable and the whole system moves with it — light and dark, mobile and desktop.
Color
Warm neutrals, one calm accent, and clear status hues.
Background
--mds-bgApp canvas
Surface
--mds-surfaceCards and raised panels
Surface 2
--mds-surface-2Nested / inset surfaces
Text
--mds-textPrimary content
Muted
--mds-text-mutedSecondary content
Subtle
--mds-text-subtleTertiary / placeholder
Border
--mds-borderHairline separators
Accent
--mds-accentPrimary actions and focus
Success
--mds-successPositive status
Warning
--mds-warningCaution status
Danger
--mds-dangerDestructive status
Typography
Five roles. Mono for labels — the MDS signature.
Page titles and hero moments. Used sparingly.
32–48px · 600 · sansSection titles and card headers.
22px · 600 · sansDefault reading text. Comfortable line height.
16px · 400 · sansMonospace eyebrows, tags, and metadata. The MDS signature.
12px · 500 · monoHelper text, timestamps, and secondary detail.
13px · 400 · sansSpacing
A 4-based scale for comfortable, consistent rhythm.
2xs4px
xs8px
sm12px
md16px
lg24px
xl32px
2xl48px
3xl64px
Radius
Soft, never sharp.
sm · 8pxmd · 12pxlg · 16pxxl · 24pxMotion
Three durations. Subtle and functional.
fast100ms
base200ms
slow300ms
Hover the track to preview each duration.
Shadows
Four soft elevations. Depth without weight.
xsHairline lift for resting cards.
smGentle elevation for interactive surfaces.
mdFloating elements — popovers, raised cards.
lgOverlays and sheets above the page.