Skloresurs is a shadcn/ui theme built around a cyan primary color (#9ddbe2) with blue accents (#9db8e2). The light mode uses a neutral background (#f8fbfc). Dark mode keeps the cyan primary (#9ddbe2) on a cyan-tinted background (#050a0a).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fbfcghostwhite | #050a0ablack |
| Foreground | #041011black | #f5f9faghostwhite |
| Card | #f8fbfcghostwhite | #050a0ablack |
| Card foreground | #041011black | #f5f9faghostwhite |
| Popover | #f8fbfcghostwhite | #050a0ablack |
| Popover foreground | #041011black | #f5f9faghostwhite |
| Primary | #9ddbe2lightblue | #9ddbe2lightblue |
| Primary foreground | #12373bdarkslategray | #12373bdarkslategray |
| Secondary | #9de2c6lightblue | #9de2c6lightblue |
| Secondary foreground | #123b2adarkslategray | #123b2adarkslategray |
| Muted | #d7e0dcgainsboro | #1f2825darkslategray |
| Muted foreground | #4a4f4ddarkslategray | #b0b5b3darkgray |
| Accent | #9db8e2lightsteelblue | #9db8e2lightsteelblue |
| Accent foreground | #12223bmidnightblue | #12223bmidnightblue |
| Destructive | #602206maroon | #de4f0dchocolate |
| Destructive foreground | #f9bb9flightpink | #ffffffwhite |
| Border | #eceeeewhitesmoke | #202222black |
| Input | #eceeeewhitesmoke | #202222black |
| Ring | #9ddbe2lightblue | #9ddbe2lightblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.61:1 | AAA |
| Text on card | 18.61:1 | AAA |
| Primary button | 8.33:1 | AAA |
| Secondary button | 8.36:1 | AAA |
| Muted text | 6.18:1 | AA |
| Accent | 7.90:1 | AAA |
| Destructive | 7.27:1 | AAA |
| Text on background | 18.82:1 | AAA |
| Text on card | 18.82:1 | AAA |
| Primary button | 8.33:1 | AAA |
| Secondary button | 8.36:1 | AAA |
| Muted text | 7.25:1 | AAA |
| Accent | 7.90:1 | AAA |
| Destructive | 4.02:1 | AA Large |
Paste this into your globals.css to use Skloresurs in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.987 0.004 204.962);
--foreground: oklch(0.159 0.019 203.702);
--muted: oklch(0.898 0.011 170.265);
--muted-foreground: oklch(0.422 0.007 170.167);
--popover: oklch(0.987 0.004 204.962);
--popover-foreground: oklch(0.159 0.019 203.702);
--card: oklch(0.987 0.004 204.962);
--card-foreground: oklch(0.159 0.019 203.702);
--border: oklch(0.947 0.001 204.979);
--input: oklch(0.947 0.001 204.979);
--primary: oklch(0.851 0.063 204.688);
--primary-foreground: oklch(0.311 0.042 205.329);
--secondary: oklch(0.858 0.079 167.618);
--secondary-foreground: oklch(0.318 0.055 163.618);
--accent: oklch(0.778 0.067 258.352);
--accent-foreground: oklch(0.252 0.052 258.294);
--destructive: oklch(0.343 0.098 41.644);
--destructive-foreground: oklch(0.843 0.082 45.963);
--ring: oklch(0.851 0.063 204.688);
--chart-1: oklch(0.851 0.063 204.688);
--chart-2: oklch(0.858 0.079 167.618);
--chart-3: oklch(0.778 0.067 258.352);
--chart-4: oklch(0.875 0.07 168.071);
--chart-5: oklch(0.854 0.067 204.693);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.137 0.008 203.341);
--foreground: oklch(0.98 0.004 204.956);
--muted: oklch(0.268 0.015 168.947);
--muted-foreground: oklch(0.768 0.006 170.408);
--popover: oklch(0.137 0.008 203.341);
--popover-foreground: oklch(0.98 0.004 204.956);
--card: oklch(0.137 0.008 203.341);
--card-foreground: oklch(0.98 0.004 204.956);
--border: oklch(0.25 0.004 204.886);
--input: oklch(0.25 0.004 204.886);
--primary: oklch(0.851 0.063 204.688);
--primary-foreground: oklch(0.311 0.042 205.329);
--secondary: oklch(0.858 0.079 167.618);
--secondary-foreground: oklch(0.318 0.055 163.618);
--accent: oklch(0.778 0.067 258.352);
--accent-foreground: oklch(0.252 0.052 258.294);
--destructive: oklch(0.616 0.19 39.687);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.851 0.063 204.688);
--chart-1: oklch(0.851 0.063 204.688);
--chart-2: oklch(0.858 0.079 167.618);
--chart-3: oklch(0.778 0.067 258.352);
--chart-4: oklch(0.875 0.07 168.071);
--chart-5: oklch(0.854 0.067 204.693);
}