CSS
GitHub

CSS

A minimal, semantic, modern CSS framework. Pico-inspired. OKLCH colors cascade from a single base hue. No classes required for most elements.

Color picker

Click the wheel, enter a hex/RGB value, or drag the sliders. All component colors derive from the hue and chroma of the chosen color.

bg
raised
sunken
primary
accent
danger
success
warning

Typography

Heading 1

Heading 2

Heading 3

Heading 4

A paragraph with strong, emphasis, a link, inline code, Ctrl+K, and highlighted text. Small print.

A blockquote: simplicity is the ultimate sophistication.

Buttons

Link as button

Forms

Plan

Tables

Recent orders
OrderCustomerTotalStatus
#1024Ada Lovelace$42.00Paid
#1025Alan Turing$18.50Refunded
#1026Grace Hopper$99.00Pending

Cards

Plain article

An <article> element renders as a card by default. Use <header> and <footer> inside for structure.

Or use .card on any element.

Navigation

Details

What is modern CSS?

Nested rules, :has(), light-dark(), oklch(), @container, logical properties, and more.

How do I customize the color?

Adjust --hue and --chroma on :root. Every component color derives from these.

Code

:root {
  --hue: 250;
  --chroma: 0.08;
  --primary: light-dark(
    oklch(55% var(--chroma) var(--hue)),
    oklch(70% var(--chroma) var(--hue))
  );
}