Generate feedback colors (success, warning, error, and info) for shadcn/ui
Go to generatorUsed by 4k+ developers. Want me to build your product next? Let's work together.
Skating is a shadcn/ui theme built around a teal primary color (#45a188) with cyan accents (#458ba1). The light mode uses a neutral background (#ffffff). Dark mode keeps the teal primary (#45a188) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #030c0ablack | #fcfdfdwhite |
| Card | #ffffffwhite | #000000black |
| Card foreground | #030c0ablack | #fcfdfdwhite |
| Popover | #ffffffwhite | #000000black |
| Popover foreground | #030c0ablack | #fcfdfdwhite |
| Primary | #45a188mediumseagreen | #45a188mediumseagreen |
| Primary foreground | #08120fblack | #08120fblack |
| Secondary | #45a15amediumseagreen | #45a15amediumseagreen |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #eef1efwhitesmoke | #0e110fblack |
| Muted foreground | #49554cdarkslategray | #aab6addarkgray |
| Accent | #458ba1steelblue | #458ba1steelblue |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #a20401darkred | #fe2d2acrimson |
| Destructive foreground | #ffd7d6mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #45a188mediumseagreen | #45a188mediumseagreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.79:1 | AAA |
| Text on card | 19.79:1 | AAA |
| Primary button | 6.05:1 | AA |
| Secondary button | 3.24:1 | AA Large |
| Muted text | 6.87:1 | AA |
| Accent | 3.83:1 | AA Large |
| Destructive | 6.22:1 | AA |
| Text on background | 20.60:1 | AAA |
| Text on card | 20.60:1 | AAA |
| Primary button | 6.05:1 | AA |
| Secondary button | 3.24:1 | AA Large |
| Muted text | 9.06:1 | AAA |
| Accent | 3.83:1 | AA Large |
| Destructive | 3.73:1 | AA Large |
Paste this into your globals.css to use Skating in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.143 0.017 178.336);
--muted: oklch(0.956 0.004 153.172);
--muted-foreground: oklch(0.437 0.022 152.373);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.143 0.017 178.336);
--card: oklch(1 0 180);
--card-foreground: oklch(0.143 0.017 178.336);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.645 0.095 172.996);
--primary-foreground: oklch(0.17 0.016 175.89);
--secondary: oklch(0.635 0.136 148.802);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.601 0.078 220.313);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.449 0.183 29.404);
--destructive-foreground: oklch(0.913 0.045 19.149);
--ring: oklch(0.645 0.095 172.996);
--chart-1: oklch(0.645 0.095 172.996);
--chart-2: oklch(0.635 0.136 148.802);
--chart-3: oklch(0.601 0.078 220.313);
--chart-4: oklch(0.665 0.143 148.774);
--chart-5: oklch(0.653 0.101 172.579);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.994 0.002 178.729);
--muted: oklch(0.172 0.006 152.641);
--muted-foreground: oklch(0.764 0.02 152.816);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.994 0.002 178.729);
--card: oklch(0 0 0);
--card-foreground: oklch(0.994 0.002 178.729);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.645 0.095 172.996);
--primary-foreground: oklch(0.17 0.016 175.89);
--secondary: oklch(0.635 0.136 148.802);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.601 0.078 220.313);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.643 0.24 27.942);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.645 0.095 172.996);
--chart-1: oklch(0.645 0.095 172.996);
--chart-2: oklch(0.635 0.136 148.802);
--chart-3: oklch(0.601 0.078 220.313);
--chart-4: oklch(0.665 0.143 148.774);
--chart-5: oklch(0.653 0.101 172.579);
}