Proyecto Anthares is a shadcn/ui theme built around a violet primary color (#c797d8) with muted violet accents (#bdadc2). The light mode uses a neutral background (#ffffff). Dark mode keeps the violet primary (#c797d8) on a neutral background (#030104).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #030104black |
| Foreground | #110415black | #f8f7f8whitesmoke |
| Card | #fcfcfcsnow | #070208black |
| Card foreground | #0d0411black | #faf9fasnow |
| Popover | #fcfcfcsnow | #070208black |
| Popover foreground | #0d0411black | #faf9fasnow |
| Primary | #c797d8plum | #c797d8plum |
| Primary foreground | #25112cblack | #25112cblack |
| Secondary | #d2cfd3lightgrey | #322636darkslategray |
| Secondary foreground | #39353bdarkslategray | #cbbdd0thistle |
| Muted | #e3d3e8gainsboro | #26172cblack |
| Muted foreground | #6a5671dimgray | #a28ea9darkgray |
| Accent | #bdadc2silver | #46324edarkslategray |
| Accent foreground | #211a23black | #ddd0e1gainsboro |
| Destructive | #bf3203firebrick | #fc5822tomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #c797d8plum | #c797d8plum |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.96:1 | AAA |
| Text on card | 19.70:1 | AAA |
| Primary button | 7.41:1 | AAA |
| Secondary button | 7.78:1 | AAA |
| Muted text | 4.64:1 | AA |
| Accent | 8.00:1 | AAA |
| Destructive | 5.72:1 | AA |
| Text on background | 19.44:1 | AAA |
| Text on card | 19.58:1 | AAA |
| Primary button | 7.41:1 | AAA |
| Secondary button | 8.00:1 | AAA |
| Muted text | 5.63:1 | AA |
| Accent | 7.77:1 | AAA |
| Destructive | 6.55:1 | AA |
Paste this into your globals.css to use Proyecto Anthares in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.144 0.042 317.157);
--muted: oklch(0.887 0.033 317.104);
--muted-foreground: oklch(0.482 0.05 316.946);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.131 0.037 317.863);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.131 0.037 317.863);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.744 0.104 316.854);
--primary-foreground: oklch(0.22 0.058 316.398);
--secondary: oklch(0.858 0.007 317.17);
--secondary-foreground: oklch(0.336 0.011 317.114);
--accent: oklch(0.767 0.035 317.086);
--accent-foreground: oklch(0.23 0.02 316.989);
--destructive: oklch(0.532 0.184 35.267);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.744 0.104 316.854);
--chart-1: oklch(0.744 0.104 316.854);
--chart-2: oklch(0.858 0.007 317.17);
--chart-3: oklch(0.767 0.035 317.086);
--chart-4: oklch(0.882 0.006 317.174);
--chart-5: oklch(0.742 0.11 316.827);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.083 0.02 319.231);
--foreground: oklch(0.976 0.002 317.184);
--muted: oklch(0.233 0.045 316.686);
--muted-foreground: oklch(0.673 0.047 317.031);
--popover: oklch(0.105 0.025 319.231);
--popover-foreground: oklch(0.984 0.002 317.186);
--card: oklch(0.105 0.025 319.231);
--card-foreground: oklch(0.984 0.002 317.186);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.744 0.104 316.854);
--primary-foreground: oklch(0.22 0.058 316.398);
--secondary: oklch(0.289 0.032 316.93);
--secondary-foreground: oklch(0.817 0.03 317.105);
--accent: oklch(0.351 0.054 316.81);
--accent-foreground: oklch(0.874 0.026 317.12);
--destructive: oklch(0.675 0.208 37.146);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.744 0.104 316.854);
--chart-1: oklch(0.744 0.104 316.854);
--chart-2: oklch(0.289 0.032 316.93);
--chart-3: oklch(0.351 0.054 316.81);
--chart-4: oklch(0.318 0.037 316.92);
--chart-5: oklch(0.742 0.11 316.827);
}