Skip to content
SevenOne

Search documentation

Search pages and components

Theming

Colors, sizes and type come from CSS variables generated from the Figma variables. Change a token once and every component follows.

Templates

4 templates

Light and dark

Light is the default. Add the class dark to the html element to switch every token to its dark value.

<html class="dark">
Core color tokens in light and dark
TokenLightDark
--background#FAFCFF#1C1C1C
--foreground#1C1C1C#FAFCFF
--primary#1C1C1C#F2F7FE
--primary-foreground#FAFCFF#1C1C1C
--secondary#EAEFF5#3A3A3A
--muted#EAEFF5#262626
--muted-foreground#4C5055#C3C8CE
--accent#EAEFF5#3A3A3A
--border#DADEE5#3A3A3A
--input#7C8186#7C8186
--ring#1C1C1C#EAEFF5
--destructive#9E141E#FFB0A8
--success#005C27#86DF9A
--warning#6D4700#F9BA5F
--info#0749AC#A7C9FF
--chart-1#0749AC#397BE9
--chart-2#72A7FF#A7C9FF
--chart-3#003586#72A7FF
--chart-4#A7C9FF#CCDFFF
--chart-5#00225E#0749AC

The theme file has 85 color tokens in total, including status, sidebar and chart colors.

Default and Large sizes

Controls are 44px by default. Add data-size="large" to the html element (or to any container) for 48px controls.

<html data-size="large">
Control heights per size
TokenTailwind classDefaultLarge
--control-xsh-control-xs44px44px
--control-smh-control-sm44px44px
--control-defaulth-control44px48px
--control-lgh-control-lg48px56px

Type

Inter for text and JetBrains Mono for code. The smallest size is 16px: text-xs and text-sm are both 16px, so text written for shadcn/ui gets bigger automatically.