3askareem is a shadcn/ui theme built around a muted deep purple primary color (#513d4d) with muted deep pink accents (#513d43). The light mode uses a neutral background (#fdf6fc). Dark mode keeps the muted deep purple primary (#513d4d) on a neutral background (#070306).
| Token | Light | Dark |
|---|---|---|
| Background | #fdf6fcsnow | #070306black |
| Foreground | #040104black | #ffffffwhite |
| Card | #fdf6fcsnow | #070306black |
| Card foreground | #040104black | #ffffffwhite |
| Popover | #fdf6fcsnow | #070306black |
| Popover foreground | #040104black | #ffffffwhite |
| Primary | #513d4ddarkslategray | #513d4ddarkslategray |
| Primary foreground | #e5dce3gainsboro | #e5dce3gainsboro |
| Secondary | #4b3d51darkslategray | #4b3d51darkslategray |
| Secondary foreground | #e2dce5gainsboro | #e2dce5gainsboro |
| Muted | #f2ebf5whitesmoke | #110a14black |
| Muted foreground | #4c454fdarkslategray | #b7b0basilver |
| Accent | #513d43darkslategray | #513d43darkslategray |
| Accent foreground | #e5dcdfgainsboro | #e5dcdfgainsboro |
| Destructive | #8c1103darkred | #fa2b14orangered |
| Destructive foreground | #fec9c3pink | #ffffffwhite |
| Border | #e9e2e7gainsboro | #251d24black |
| Input | #e9e2e7gainsboro | #251d24black |
| Ring | #513d4ddarkslategray | #513d4ddarkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.60:1 | AAA |
| Text on card | 19.60:1 | AAA |
| Primary button | 7.33:1 | AAA |
| Secondary button | 7.43:1 | AAA |
| Muted text | 7.89:1 | AAA |
| Accent | 7.40:1 | AAA |
| Destructive | 6.54:1 | AA |
| Text on background | 20.46:1 | AAA |
| Text on card | 20.46:1 | AAA |
| Primary button | 7.33:1 | AAA |
| Secondary button | 7.43:1 | AAA |
| Muted text | 9.20:1 | AAA |
| Accent | 7.40:1 | AAA |
| Destructive | 3.86:1 | AA Large |
Paste this into your globals.css to use 3askareem in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.981 0.01 332.164);
--foreground: oklch(0.084 0.022 333.072);
--muted: oklch(0.947 0.015 315.963);
--muted-foreground: oklch(0.401 0.02 315.848);
--popover: oklch(0.981 0.01 332.164);
--popover-foreground: oklch(0.084 0.022 333.072);
--card: oklch(0.981 0.01 332.164);
--card-foreground: oklch(0.084 0.022 333.072);
--border: oklch(0.92 0.01 332.167);
--input: oklch(0.92 0.01 332.167);
--primary: oklch(0.389 0.038 333.37);
--primary-foreground: oklch(0.904 0.013 332.219);
--secondary: oklch(0.384 0.038 315.667);
--secondary-foreground: oklch(0.902 0.013 315.969);
--accent: oklch(0.385 0.029 358.769);
--accent-foreground: oklch(0.902 0.01 356.975);
--destructive: oklch(0.409 0.158 30.734);
--destructive-foreground: oklch(0.881 0.061 25.707);
--ring: oklch(0.389 0.038 333.37);
--chart-1: oklch(0.389 0.038 333.37);
--chart-2: oklch(0.384 0.038 315.667);
--chart-3: oklch(0.385 0.029 358.769);
--chart-4: oklch(0.411 0.041 315.661);
--chart-5: oklch(0.388 0.046 333.653);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.111 0.013 332.535);
--foreground: oklch(1 0 180);
--muted: oklch(0.161 0.024 315.477);
--muted-foreground: oklch(0.766 0.017 315.944);
--popover: oklch(0.111 0.013 332.535);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.111 0.013 332.535);
--card-foreground: oklch(1 0 180);
--border: oklch(0.243 0.018 333.077);
--input: oklch(0.243 0.018 333.077);
--primary: oklch(0.389 0.038 333.37);
--primary-foreground: oklch(0.904 0.013 332.219);
--secondary: oklch(0.384 0.038 315.667);
--secondary-foreground: oklch(0.902 0.013 315.969);
--accent: oklch(0.385 0.029 358.769);
--accent-foreground: oklch(0.902 0.01 356.975);
--destructive: oklch(0.634 0.24 30.495);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.389 0.038 333.37);
--chart-1: oklch(0.389 0.038 333.37);
--chart-2: oklch(0.384 0.038 315.667);
--chart-3: oklch(0.385 0.029 358.769);
--chart-4: oklch(0.411 0.041 315.661);
--chart-5: oklch(0.388 0.046 333.653);
}