Klein
A gallery: warm apricot paper, Klein blue for actions and big numbers.
- Light and dark
- Instrument Serif and DM Sans
- 6px controls, 10px cards
- Band in one feature section
Install Klein
$ npx shadcn@latest add https:/ / dresscodeui.com/ r/ dresscode/ klein.jsonFree. In a project with shadcn/ui set up (npx shadcn@latest init).
Orbit landing page in Klein
Open full screenThe same theme on an app: the Orbit dashboard in Klein
Colors
Fifteen roles. Each one sets a shadcn/ui variable, or one of ours for the band and the highlight.
Page
- PageThe page behind everythingLight#FCF6EEDark#101016--background
- SurfaceCards, menus and the sidebarLight#FFFFFFDark#17171F--card
- LineBorders and dividersLight#EDE1D1Dark#2A2A36--border
Text
- InkHeadings and body textLight#15163FDark#F4EEE6--foreground
- MutedHints, captions and secondary textLight#5E5B7FDark#ABA7B9--muted-foreground
Actions
- PrimaryThe main buttonLight#2E3192Dark#5C61F2--primary
- On primaryText on the main buttonLight#FFFFFFDark#FFFFFF--primary-foreground
- AccentLinks, focus rings and the first chart seriesLight#2E3192Dark#A3A6FF--ring
- DangerErrors and destructive actionsLight#BC3A2CDark#F0735F--destructive
Marks
- HighlightSelected rows, tags and marked wordsLight#E9E8F2Dark#24254D--dc-highlight
- On highlightText on the highlightLight#2E3192Dark#CDCFFF--dc-highlight-fg
Band
- BandThe one full-width colored sectionLight#F6D3A9Dark#F6D3A9--dc-band
- On bandText on the bandLight#15163FDark#15163F--dc-band-fg
- Band buttonThe main button when it sits on the bandLight#2E3192Dark#2E3192--dc-band-primary
- On band buttonText on that buttonLight#FFFFFFDark#FFFFFF--dc-band-primary-fg
Fonts
The theme loads its families and sets the heading weight and spacing too.
Headings
Instrument Serif, weight 400, tracking -0.01em
Get paid on time, without the awkward emails.
Body
DM Sans
Orbit sends the invoice, nudges the late ones and tells you what is left for the month. Free for your first three clients, no card needed.
Corners
Two radii: one for things you press or type into, one for the cards around them.
Where it started
Klein began as three colors picked by hand. The roles above re-cast them with the proportions we measured on 54 product sites: neutral page and cards for most of the screen, the main color on actions, one colored band, and the third color only in small marks.
- #F6D3A9
- #817EA3
- #2E3192