Logo
The Self Design System mark — a 3×3 modular grid of coloured rounded squares. Use the SVG asset for all applications.
Colors
A near-monochrome system anchored by a violet brand. Three accent families cover all semantic states.
Danger
Warning
Success
| Token | Value | Swatch | Usage |
|---|---|---|---|
--fg-default | #1E1E1E | Primary text | |
--fg-secondary | #757575 | Labels, subtitles | |
--fg-tertiary | #B3B3B3 | Placeholders, hints | |
--bg-default | #FFFFFF | Page background | |
--bg-secondary | #F5F5F5 | Card interiors, table rows | |
--border-default | #D9D9D9 | All UI borders | |
--brand-500 | #7F00FF | Primary actions, focus rings |
Typography
Inter for UI copy, Roboto Mono for code and numeric data. A 10-step scale from Hero 72 down to Caption 12.
Spacing & Grid
A single unified scale used for both padding and gap. No ad-hoc values — only tokens.
--space-1004px--space-2008px--space-30012px--space-40016px--space-60024px--space-80032px--space-160064px--space-240096px--space-4000160pxsmall · 4px
base · 8px
large · 16px
xl · 24px
full · 9999
Effects
Six drop-shadow levels, six inner-shadow levels, plus backdrop-blur utilities for overlays.
100
200
300
400
500
600
Buttons
Four variants × three sizes × three states. Icons optional on either side.
Form Inputs
Text fields, selects, checkboxes and radios — all with labels, hints, error states and disabled states.
Tags
Five semantic colour variants plus solid. Optional icon and dismiss button.
Cards
Versatile containers for product info, statistics, testimonials, and content layouts.
Unique visitors across all surfaces.
Notifications
Four semantic types — info, success, warning, danger — each with optional title, body, and dismiss.
Avatars
Five sizes, three colour variants, status indicator, and stack group.
2432404864Accordion
Native <details>/<summary> — no JS required. Multiple can be open simultaneously.
What tokens are included?
colors_and_type.css file as CSS custom properties.How do I apply the brand color?
:root: --brand-300, --brand-500, and --brand-700. Everything else updates automatically.Which icon set is used?
npm i feather-icons and serve the sprite locally.Is this production-ready?
Tooltip
Pure CSS hover tooltips — no JS. Dark background, arrow, smooth fade.
Dialog
Modal dialog with backdrop, title, body, and action buttons.
Confirm deletion
This will permanently delete the item and all associated data. This action cannot be undone.
Pagination
Page controls with prev/next and numbered pages. Active state uses brand violet.
Sections
Reusable full-width marketing sections — hero, features, pricing, testimonial, CTA.
A foundational design
system for any brand.
Neutral tokens, clear type, and a small set of well-behaved components. Swap three variables and it looks like yours.
Small surface area.
Large blast radius.
Primitives that cover 80% of any product UI.
Start shipping with it today.
Clone the repo, copy the CSS, and you're 80% of the way to a design system.
Examples
Full-screen UI compositions built entirely from system primitives.
Overview
Account settings
Manage your profile and preferences.
Changelog
Version history and release notes for the Self Design System.
v1.0.0
First public release of the Self Design System. A near-monochrome, token-first foundation built from the Figma "Simple Design System" source.
- Full color token system — neutral ramp + brand violet + danger/warning/success families
- 10-step typography scale — Inter (self-hosted) + Roboto Mono
- Unified spacing scale (4–160px) for both padding and gap
- 5-step radius tokens and 6-step drop/inner shadow scale
- 12 components: Buttons, Inputs, Tags, Cards, Notifications, Avatars, Navigation, Accordion, Menu, Tooltip, Dialog, Pagination
- 3 full-page examples: Login, Dashboard, Settings
- Feather icon system (280+ icons, 6 sizes, CDN)
- Web UI Kit — interactive marketing landing page (React/Babel)
colors_and_type.css— single-file token sheet, zero dependenciesSKILL.md— Claude Code compatible skill file