Design System V.2, implemented in code.

rzumarli DS v0.3 is built on top of your Figma Design System V.2, with the corrected foundations: the OKLCH neutral ramp, the primary ramp anchored at #2565F9, Geist typography, and the official spacing and radius scales. Click any swatch to copy its hex.

<link rel="stylesheet" href="css/tokens.css">

<link rel="stylesheet" href="css/components.css">

Colors

Resolved Figma variable values — the source of truth.

Note: the on-canvas hex labels in the Figma file were stale duplicates of the neutral scale, so every value here comes from the resolved variables instead.

Primary

Neutral

Semantic

Typography

Geist across the system, Geist Mono for code and token names. Body text: 16px Medium, 24px line-height, −0.48px tracking.

Display · 42 SemiBoldDesign System V.2
Heading · 36 BoldGetting started
Heading · 28 BoldComponents
Heading · 22 SemiBoldButton variants
Body · 16 MediumThe quick brown fox jumps over the lazy dog.
Small · 14 RegularSupporting text and hints.
Caption · 12 RegularCaptions, timestamps, footnotes.

Spacing

The approved scale. 12px is intentionally off scale; component-internal padding keeps its own Figma spec values.

space-2 · 2px
space-4 · 4px
space-8 · 8px
space-16 · 16px
space-24 · 24px
space-32 · 32px
space-48 · 48px
space-64 · 64px

Radius

The approved radius scale, from 2px to a full 99px pill.

2 4 8 12 16 24 32 64 99

Buttons

16px Medium, 12px radius, 12px × 24px padding. Icons are 20px per the DS annotation.

PrimarySecondaryDanger
Default
Disabled
<button class="btn btn-primary">Click to Upgrade</button>
<button class="btn btn-secondary">Click to Upgrade</button>
<button class="btn btn-tertiary">Learn more</button>

Text fields

Label with required marker, 8px radius, status hints with a dot — Default, Focused, Disabled, Error, Success.

Warning or required text
Warning or required text
Warning or required text
Warning or required text
Text area variant
<div class="field is-error">
  <label>Input Data <span class="required">*</span></label>
  <input class="input" type="text" />
  <div class="hint">Warning or required text</div>
</div>

Cards

Header, body, and an action footer.

Project update

Design System V.2 · implemented

Tokens, Button, and Text Field now match the Figma source. Next up: Toggle, Chip, and Tab.

New

Simple card

Cards work without a header or footer too — just drop content into .card-body.

Badges

Small status labels.

Default Brand Success Warning Danger

Alerts

Inline messages with a title and description.

Heads up

Tokens live in css/tokens.css — edit one file to re-theme everything.

Deployed

Your changes are live on GitHub Pages.

Careful

This component is still experimental.

Error

Something went wrong while saving. Try again.

Usage

No build step, no dependencies. Two files, one wrapper class.

<!-- 1. Include the stylesheets -->
<link rel="stylesheet" href="css/tokens.css" />
<link rel="stylesheet" href="css/components.css" />

<!-- 2. Scope the system with .rds -->
<body class="rds">
  <button class="btn btn-primary">Click to Upgrade</button>
</body>
Copied