Design System
Design Tokens
Imports your tokens into Figma as native Variables.
RatioDS generates a full design system from a single ratio: color scales, typography, spacing, and component tokens, ready to bring into Figma or code.
Use the Figma frame button next to each section to copy it as an SVG,
then press CtrlV in Figma to paste editable vectors.
Brand Palette
Update the default colors to match your design system, then add more below if you need them: new colors join the end of the palette.
White and Black anchor the Neutral scale at steps 0 and 1000. Click either swatch to set a custom off-white or off-black, useful for slightly warm or cool neutral extremes.
White
#ffffff
Black
#000000
Transparent
transparent
Edit colors to match your palette, and add more if you need.
Feedback Colors
Status colors, derived from your palette or set manually
In the export: semantic colors become alias tokens referencing your primitive color scales, with WCAG-rated light/dark mode variants in Figma Variables.
Type Scale
Modular scale · 9 steps · ratio 1.33
font-weight applied in previews and exports.Viewport type scale is based on . To add more viewports, create new breakpoints.
Below 12px: Not accessible. WCAG 1.4.4 requires text to remain readable at 200% zoom; text this small fails at any zoom level.
Below 12px: Not accessible. WCAG 1.4.4 requires text to remain readable at 200% zoom; text this small fails at any zoom level.
Breakpoints
4 breakpoints · proportional preview relative to widest
Sidebar support, coming soon
Define fixed sidebar widths per breakpoint; content area will be recalculated automatically.
Spacing
21 steps · padding-x, column gap, inline spacing
Horizontal spacing, used for padding-left/right, column-gap, and inline gaps.
Shadow
7 tokens
0 1px 2px 0 rgba(0,0,0,0.05)
0 2px 4px 0 rgba(0,0,0,0.06), 0 1px 2px -1px rgba(0,0,0,0.06)
0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1)
0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1)
0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1)
0 25px 50px -12px rgba(0,0,0,0.25)
inset 0 2px 4px 0 rgba(0,0,0,0.06)
Border Radius
4 tokens
Opacity
Previewing light · 16 levels
Dots check each level as foreground text over the canvas, so low opacities are expected to fail: they’re meant for borders, dividers, and overlays, not text.
Icon Sizes
Four standard icon sizes paired with your type scale, showing how icon and text align in real UI.
Matched text step is the closest size in your type scale to each icon size. Update your type scale settings to see different pairings.
Type on colour
Every background paired with the step of its own family that reads best on it, and the ratio it actually achieves. Judging a pairing by eye is how a system ends up with headings nobody can read.
Great typography begins with readability
Great typography begins with readability
Great typography begins with readability
Great typography begins with readability
Great typography begins with readability
Great typography begins with readability
Great typography begins with readability
Great typography begins with readability
Great typography begins with readability
Blur scale
4 steps · maps to backdrop-filter: blur() in Figma
Export
Get your tokens into Figma as native Variables
Component sets
7 of 50 readyThe plugin builds these as real Figma component sets. Every fill, padding, corner, and shadow on every variant points at one of your Variables, so re-theming the tokens re-themes the component.
Nothing runs on import. Open the RatioDS plugin in Figma (update it to the latest version, the Components section is new), tick a component, and it builds the set for you: it creates every variant, wires the variant properties (Size, State, Variant), and binds each property to the matching Variable.
Coming soon · 43
Figma plugin
Download this JSON, open the RatioDS plugin in Figma, and import it. It builds native Variables, Light / Dark modes and documentation artboards: auto-layout frames with color swatches, a type ramp, spacing bars, shadow previews and radius shapes. Runs on the free Professional plan, no Enterprise needed.
Import artboards
Figma Chrome Extension
Select and copy any section of this page directly into Figma as editable layers, no script or plugin console needed. Great for capturing the full RatioDS documentation view.