Nose is a shadcn/ui theme built around a muted violet primary color (#7a6e81) with muted green accents (#75816e). The light mode uses a neutral background (#fbf7fd). Dark mode keeps the muted violet primary (#7a6e81) on a neutral background (#030104).
| Token | Light | Dark |
|---|---|---|
| Background | #fbf7fdghostwhite | #030104black |
| Foreground | #000000black | #f8f6f8whitesmoke |
| Card | #f9f3fcghostwhite | #060208black |
| Card foreground | #000000black | #faf9fbghostwhite |
| Popover | #f9f3fcghostwhite | #060208black |
| Popover foreground | #000000black | #faf9fbghostwhite |
| Primary | #7a6e81gray | #7a6e81gray |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #75816egray | #75816egray |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #eaeee8linen | #141711black |
| Muted foreground | #4e514ddarkslategray | #afb2aedarkgray |
| Accent | #75816egray | #75816egray |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #ad2001firebrick | #fe4016orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #7a6e81gray | #7a6e81gray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.80:1 | AAA |
| Text on card | 19.22:1 | AAA |
| Primary button | 4.77:1 | AA |
| Secondary button | 4.07:1 | AA Large |
| Muted text | 6.84:1 | AA |
| Accent | 4.07:1 | AA Large |
| Destructive | 7.05:1 | AAA |
| Text on background | 19.33:1 | AAA |
| Text on card | 19.61:1 | AAA |
| Primary button | 4.77:1 | AA |
| Secondary button | 4.07:1 | AA Large |
| Muted text | 8.42:1 | AAA |
| Accent | 4.07:1 | AA Large |
| Destructive | 3.52:1 | AA Large |
Paste this into your globals.css to use Nose in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.981 0.009 313.551);
--foreground: oklch(0 0 0);
--muted: oklch(0.943 0.009 133.666);
--muted-foreground: oklch(0.432 0.009 133.731);
--popover: oklch(0.971 0.013 313.522);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.971 0.013 313.522);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.557 0.033 313.247);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.589 0.032 133.956);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.589 0.032 133.956);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.483 0.179 32.739);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.557 0.033 313.247);
--chart-1: oklch(0.557 0.033 313.247);
--chart-2: oklch(0.589 0.032 133.956);
--chart-3: oklch(0.589 0.032 133.956);
--chart-4: oklch(0.616 0.034 133.958);
--chart-5: oklch(0.552 0.045 313.107);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.082 0.02 315.657);
--foreground: oklch(0.976 0.003 313.587);
--muted: oklch(0.2 0.013 134.041);
--muted-foreground: oklch(0.761 0.007 133.667);
--popover: oklch(0.103 0.025 315.657);
--popover-foreground: oklch(0.984 0.002 313.594);
--card: oklch(0.103 0.025 315.657);
--card-foreground: oklch(0.984 0.002 313.594);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.557 0.033 313.247);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.589 0.032 133.956);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.589 0.032 133.956);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.655 0.23 33.209);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.557 0.033 313.247);
--chart-1: oklch(0.557 0.033 313.247);
--chart-2: oklch(0.589 0.032 133.956);
--chart-3: oklch(0.589 0.032 133.956);
--chart-4: oklch(0.616 0.034 133.958);
--chart-5: oklch(0.552 0.045 313.107);
}