App Atual is a shadcn/ui theme built around a light blue primary color (#a7aedd) with light green accents (#aedda7). The light mode uses a neutral background (#ffffff). Dark mode keeps the light blue primary (#a7aedd) on a blue-tinted background (#07080d).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #07080dblack |
| Foreground | #020308black | #fcfcfdwhite |
| Card | #fcfcfcsnow | #131339midnightblue |
| Card foreground | #010104black | #ffffffwhite |
| Popover | #fcfcfcsnow | #090a11black |
| Popover foreground | #010104black | #ffffffwhite |
| Primary | #a7aeddlightsteelblue | #a7aeddlightsteelblue |
| Primary foreground | #171c3bmidnightblue | #171c3bmidnightblue |
| Secondary | #dda7aetan | #dda7aetan |
| Secondary foreground | #3b171cblack | #3b171cblack |
| Muted | #efe6e7linen | #191011black |
| Muted foreground | #4a4546darkslategray | #bab5b6silver |
| Accent | #aedda7palegreen | #aedda7palegreen |
| Accent foreground | #1c3b17darkgreen | #1c3b17darkgreen |
| Destructive | #982606saddlebrown | #e13809orangered |
| Destructive foreground | #fddcd3antiquewhite | #ffffffwhite |
| Border | #efeff1whitesmoke | #1f1f23black |
| Input | #efeff1whitesmoke | #1f1f23black |
| Ring | #a7aeddlightsteelblue | #a7aeddlightsteelblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.60:1 | AAA |
| Text on card | 20.39:1 | AAA |
| Primary button | 7.69:1 | AAA |
| Secondary button | 7.69:1 | AAA |
| Muted text | 7.70:1 | AAA |
| Accent | 8.10:1 | AAA |
| Destructive | 6.26:1 | AA |
| Text on background | 19.52:1 | AAA |
| Text on card | 17.76:1 | AAA |
| Primary button | 7.69:1 | AAA |
| Secondary button | 7.69:1 | AAA |
| Muted text | 9.23:1 | AAA |
| Accent | 8.10:1 | AAA |
| Destructive | 4.39:1 | AA Large |
Paste this into your globals.css to use App Atual in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.099 0.019 272.502);
--muted: oklch(0.933 0.009 7.995);
--muted-foreground: oklch(0.396 0.006 8.11);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.078 0.015 272.502);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.078 0.015 272.502);
--border: oklch(0.952 0.002 279.302);
--input: oklch(0.952 0.002 279.302);
--primary: oklch(0.762 0.067 277.848);
--primary-foreground: oklch(0.239 0.06 274.419);
--secondary: oklch(0.78 0.064 9.752);
--secondary-foreground: oklch(0.26 0.057 13.609);
--accent: oklch(0.85 0.088 141.304);
--accent-foreground: oklch(0.317 0.071 141.084);
--destructive: oklch(0.449 0.154 34.524);
--destructive-foreground: oklch(0.92 0.039 35.944);
--ring: oklch(0.762 0.067 277.848);
--chart-1: oklch(0.762 0.067 277.848);
--chart-2: oklch(0.78 0.064 9.752);
--chart-3: oklch(0.85 0.088 141.304);
--chart-4: oklch(0.807 0.055 9.415);
--chart-5: oklch(0.758 0.072 277.724);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.135 0.013 276.624);
--foreground: oklch(0.991 0.001 279.32);
--muted: oklch(0.185 0.015 9.666);
--muted-foreground: oklch(0.778 0.005 7.903);
--popover: oklch(0.146 0.015 277.185);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.214 0.072 278.396);
--card-foreground: oklch(1 0 180);
--border: oklch(0.242 0.008 278.845);
--input: oklch(0.242 0.008 278.845);
--primary: oklch(0.762 0.067 277.848);
--primary-foreground: oklch(0.239 0.06 274.419);
--secondary: oklch(0.78 0.064 9.752);
--secondary-foreground: oklch(0.26 0.057 13.609);
--accent: oklch(0.85 0.088 141.304);
--accent-foreground: oklch(0.317 0.071 141.084);
--destructive: oklch(0.598 0.211 33.999);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.762 0.067 277.848);
--chart-1: oklch(0.762 0.067 277.848);
--chart-2: oklch(0.78 0.064 9.752);
--chart-3: oklch(0.85 0.088 141.304);
--chart-4: oklch(0.807 0.055 9.415);
--chart-5: oklch(0.758 0.072 277.724);
}