Tic is a shadcn/ui theme built around a light blue primary color (#e5eef5) with muted light blue accents (#e1e6ea). The light mode uses a neutral background (#fbfdfd). Dark mode keeps the light blue primary (#e5eef5) on a neutral background (#030507).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfdfdwhite | #030507black |
| Foreground | #010304black | #ffffffwhite |
| Card | #fbfdfdwhite | #030507black |
| Card foreground | #010304black | #ffffffwhite |
| Popover | #fbfdfdwhite | #030507black |
| Popover foreground | #010304black | #ffffffwhite |
| Primary | #e5eef5lavender | #e5eef5lavender |
| Primary foreground | #2e587adarkslateblue | #2e587adarkslateblue |
| Secondary | #e1e6ealavender | #181a1bblack |
| Secondary foreground | #3f4e5adarkslategray | #aeb3b7darkgray |
| Muted | #ecedeewhitesmoke | #111213black |
| Muted foreground | #434b51darkslategray | #aeb6bcsilver |
| Accent | #e1e6ealavender | #181a1bblack |
| Accent foreground | #3f4e5adarkslategray | #aeb3b7darkgray |
| Destructive | #c52007firebrick | #f62909orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e5eef5lavender | #e5eef5lavender |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.21:1 | AAA |
| Text on card | 20.21:1 | AAA |
| Primary button | 6.40:1 | AA |
| Secondary button | 6.82:1 | AA |
| Muted text | 7.59:1 | AAA |
| Accent | 6.82:1 | AA |
| Destructive | 5.85:1 | AA |
| Text on background | 20.38:1 | AAA |
| Text on card | 20.38:1 | AAA |
| Primary button | 6.40:1 | AA |
| Secondary button | 8.28:1 | AAA |
| Muted text | 9.13:1 | AAA |
| Accent | 8.28:1 | AAA |
| Destructive | 4.01:1 | AA Large |
Paste this into your globals.css to use Tic in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.992 0.002 242.216);
--foreground: oklch(0.09 0.011 233.616);
--muted: oklch(0.946 0.002 242.219);
--muted-foreground: oklch(0.407 0.014 242.648);
--popover: oklch(0.992 0.002 242.216);
--popover-foreground: oklch(0.09 0.011 233.616);
--card: oklch(0.992 0.002 242.216);
--card-foreground: oklch(0.09 0.011 233.616);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.944 0.014 242.384);
--primary-foreground: oklch(0.446 0.073 245.179);
--secondary: oklch(0.922 0.007 242.299);
--secondary-foreground: oklch(0.415 0.027 243.084);
--accent: oklch(0.922 0.007 242.299);
--accent-foreground: oklch(0.415 0.027 243.084);
--destructive: oklch(0.529 0.2 31.231);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.944 0.014 242.384);
--chart-1: oklch(0.944 0.014 242.384);
--chart-2: oklch(0.922 0.007 242.299);
--chart-3: oklch(0.922 0.007 242.299);
--chart-4: oklch(0.946 0.005 242.265);
--chart-5: oklch(0.944 0.015 242.397);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.114 0.008 237.016);
--foreground: oklch(1 0 180);
--muted: oklch(0.181 0.003 242.394);
--muted-foreground: oklch(0.771 0.012 242.397);
--popover: oklch(0.114 0.008 237.016);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.114 0.008 237.016);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.944 0.014 242.384);
--primary-foreground: oklch(0.446 0.073 245.179);
--secondary: oklch(0.215 0.004 242.424);
--secondary-foreground: oklch(0.764 0.008 242.335);
--accent: oklch(0.215 0.004 242.424);
--accent-foreground: oklch(0.764 0.008 242.335);
--destructive: oklch(0.624 0.239 31.098);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.944 0.014 242.384);
--chart-1: oklch(0.944 0.014 242.384);
--chart-2: oklch(0.215 0.004 242.424);
--chart-3: oklch(0.215 0.004 242.424);
--chart-4: oklch(0.248 0.005 242.445);
--chart-5: oklch(0.944 0.015 242.397);
}