Docs

Design

Design System

Ported from AGENKO-resources/design-system — a complete design language for PageKit products.

Specs

DocumentCovers
TokensCSS custom properties (light/dark)
ColorsPalette + accent palettes + semantic colors
TypographyFont stacks, type scale, usage
LayoutShell, wrap, spacing, grid, breakpoints
ComponentsButtons, cards, tables, badges, inputs
PatternsAuth, command palette, overlays, toasts

Token Cheatsheet

TokenPurpose
--inkPrimary text
--softSecondary text
--mutedTertiary text
--faintDisabled text
--bgPage background
--panelCard backgrounds, modals
--panel-2Hover backgrounds, code blocks
--lineBorders
--line-2Hover borders, stronger dividers
--accPrimary accent (default indigo #4f46ff)
--green / --green-bgSuccess states
--amber / --amber-bgWarning states
--red / --red-bgError states
--nav-glassNavigation glass background
--nav-blurNavigation backdrop blur

Radii — Flat by Design

css
--r-sm: 0px;
--r-md: 0px;
--r-lg: 0px;
--r-xl: 0px;
--r-pill: 0px;

Override --r-md once to round all corners.

Motion

css
--ease: cubic-bezier(0.2, 0.7, 0.2, 1);

Source of Truth

The canonical design system lives in docs/design-system/. The runtime CSS variables are in packages/config/tailwind/tokens.css and packages/config/tailwind/theme.css.

File Structure

text
docs/
├── design-system/
│   ├── tokens.md
│   ├── colors.md
│   ├── typography.md
│   ├── layout.md
│   ├── components.md
│   └── patterns.md
packages/config/
└── tailwind/
    ├── web.css          # Landing + hosted blog
    ├── dashboard-entry.css  # Studio
    └── docs-entry.css   # Docs site

Runtime Source of Truth

EntryUsed by
web.cssapps/web
dashboard-entry.cssapps/dashboard
docs-entry.cssapps/docs