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.
Dazzling is a shadcn/ui theme built around an orange primary color (#e1ac94) with violet accents (#ac94e1). The light mode uses a neutral background (#fefcfb). Dark mode keeps the orange primary (#e1ac94) on an orange-tinted background (#0d0907).
| Token | Light | Dark |
|---|---|---|
| Background | #fefcfbsnow | #0d0907black |
| Foreground | #080402black | #fbf9f8snow |
| Card | #fdf9f7snow | #110b09black |
| Card foreground | #040201black | #fdfcfcsnow |
| Popover | #fdf9f7snow | #110b09black |
| Popover foreground | #040201black | #fdfcfcsnow |
| Primary | #e1ac94burlywood | #e1ac94burlywood |
| Primary foreground | #341a0fblack | #341a0fblack |
| Secondary | #94e1aclightgreen | #94e1aclightgreen |
| Secondary foreground | #0f341adarkgreen | #0f341adarkgreen |
| Muted | #dce5dfgainsboro | #1a231dblack |
| Muted foreground | #646865dimgray | #979b98darkgray |
| Accent | #ac94e1mediumpurple | #ac94e1mediumpurple |
| Accent foreground | #1a0f34black | #1a0f34black |
| Destructive | #b83700firebrick | #ff621ftomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e1ac94burlywood | #e1ac94burlywood |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.94:1 | AAA |
| Text on card | 19.75:1 | AAA |
| Primary button | 8.08:1 | AAA |
| Secondary button | 8.90:1 | AAA |
| Muted text | 4.38:1 | AA Large |
| Accent | 6.92:1 | AA |
| Destructive | 5.87:1 | AA |
| Text on background | 18.87:1 | AAA |
| Text on card | 19.05:1 | AAA |
| Primary button | 8.08:1 | AAA |
| Secondary button | 8.90:1 | AAA |
| Muted text | 5.72:1 | AA |
| Accent | 6.92:1 | AA |
| Destructive | 7.01:1 | AAA |
Paste this into your globals.css to use Dazzling in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.992 0.003 46.825);
--foreground: oklch(0.114 0.014 55.668);
--muted: oklch(0.913 0.012 156.298);
--muted-foreground: oklch(0.513 0.007 156.303);
--popover: oklch(0.984 0.006 46.793);
--popover-foreground: oklch(0.09 0.011 55.668);
--card: oklch(0.984 0.006 46.793);
--card-foreground: oklch(0.09 0.011 55.668);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.787 0.071 46.025);
--primary-foreground: oklch(0.251 0.045 45.005);
--secondary: oklch(0.845 0.106 153.738);
--secondary-foreground: oklch(0.29 0.062 150.921);
--accent: oklch(0.716 0.113 298.065);
--accent-foreground: oklch(0.207 0.07 294.033);
--destructive: oklch(0.524 0.173 37.65);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.787 0.071 46.025);
--chart-1: oklch(0.787 0.071 46.025);
--chart-2: oklch(0.845 0.106 153.738);
--chart-3: oklch(0.716 0.113 298.065);
--chart-4: oklch(0.861 0.095 154.142);
--chart-5: oklch(0.787 0.075 45.984);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.145 0.009 49.272);
--foreground: oklch(0.984 0.003 46.827);
--muted: oklch(0.245 0.017 155.154);
--muted-foreground: oklch(0.685 0.006 156.382);
--popover: oklch(0.157 0.011 46.608);
--popover-foreground: oklch(0.992 0.001 46.842);
--card: oklch(0.157 0.011 46.608);
--card-foreground: oklch(0.992 0.001 46.842);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.787 0.071 46.025);
--primary-foreground: oklch(0.251 0.045 45.005);
--secondary: oklch(0.845 0.106 153.738);
--secondary-foreground: oklch(0.29 0.062 150.921);
--accent: oklch(0.716 0.113 298.065);
--accent-foreground: oklch(0.207 0.07 294.033);
--destructive: oklch(0.692 0.204 39.972);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.787 0.071 46.025);
--chart-1: oklch(0.787 0.071 46.025);
--chart-2: oklch(0.845 0.106 153.738);
--chart-3: oklch(0.716 0.113 298.065);
--chart-4: oklch(0.861 0.095 154.142);
--chart-5: oklch(0.787 0.075 45.984);
}