Oma Frami is a shadcn/ui theme built around a green primary color (#ace378) with violet accents (#af78e3). The light mode uses a neutral background (#ffffff). Dark mode keeps the green primary (#ace378) on a neutral background (#050703).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #050703black |
| Foreground | #080c04black | #f7f9f5whitesmoke |
| Card | #fcfcfcsnow | #080b04black |
| Card foreground | #050802black | #fafbf9snow |
| Popover | #ffffffwhite | #050703black |
| Popover foreground | #080c04black | #f7f9f5whitesmoke |
| Primary | #ace378lightgreen | #ace378lightgreen |
| Primary foreground | #142207black | #142207black |
| Secondary | #af78e3mediumpurple | #af78e3mediumpurple |
| Secondary foreground | #150722black | #150722black |
| Muted | #f2eef6whitesmoke | #0d0911black |
| Muted foreground | #4d4950darkslategray | #b3afb6darkgray |
| Accent | #af78e3mediumpurple | #af78e3mediumpurple |
| Accent foreground | #150722black | #150722black |
| Destructive | #720303maroon | #f91f1fcrimson |
| Destructive foreground | #fdaaaalightpink | #ffffffwhite |
| Border | #e5e7e4gainsboro | #1f201dblack |
| Input | #e5e7e4gainsboro | #1f201dblack |
| Ring | #ace378lightgreen | #ace378lightgreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.72:1 | AAA |
| Text on card | 19.71:1 | AAA |
| Primary button | 11.12:1 | AAA |
| Secondary button | 6.08:1 | AA |
| Muted text | 7.70:1 | AAA |
| Accent | 6.08:1 | AA |
| Destructive | 6.63:1 | AA |
| Text on background | 19.07:1 | AAA |
| Text on card | 19.10:1 | AAA |
| Primary button | 11.12:1 | AAA |
| Secondary button | 6.08:1 | AA |
| Muted text | 9.15:1 | AAA |
| Accent | 6.08:1 | AA |
| Destructive | 3.99:1 | AA Large |
Paste this into your globals.css to use Oma Frami in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.145 0.022 128.151);
--muted: oklch(0.955 0.012 308.993);
--muted-foreground: oklch(0.412 0.011 308.85);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.145 0.022 128.151);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.126 0.019 127.971);
--border: oklch(0.926 0.004 129.176);
--input: oklch(0.926 0.004 129.176);
--primary: oklch(0.855 0.15 131.359);
--primary-foreground: oklch(0.231 0.05 132.041);
--secondary: oklch(0.672 0.162 306.37);
--secondary-foreground: oklch(0.168 0.056 305.24);
--accent: oklch(0.672 0.162 306.37);
--accent-foreground: oklch(0.168 0.056 305.24);
--destructive: oklch(0.349 0.141 28.815);
--destructive-foreground: oklch(0.819 0.097 19.373);
--ring: oklch(0.855 0.15 131.359);
--chart-1: oklch(0.855 0.15 131.359);
--chart-2: oklch(0.672 0.162 306.37);
--chart-3: oklch(0.672 0.162 306.37);
--chart-4: oklch(0.701 0.147 306.796);
--chart-5: oklch(0.86 0.156 131.462);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.124 0.015 128.205);
--foreground: oklch(0.981 0.006 129.189);
--muted: oklch(0.148 0.019 307.91);
--muted-foreground: oklch(0.76 0.009 308.997);
--popover: oklch(0.124 0.015 128.205);
--popover-foreground: oklch(0.981 0.006 129.189);
--card: oklch(0.142 0.017 128.254);
--card-foreground: oklch(0.987 0.004 129.168);
--border: oklch(0.242 0.007 129.453);
--input: oklch(0.242 0.007 129.453);
--primary: oklch(0.855 0.15 131.359);
--primary-foreground: oklch(0.231 0.05 132.041);
--secondary: oklch(0.672 0.162 306.37);
--secondary-foreground: oklch(0.168 0.056 305.24);
--accent: oklch(0.672 0.162 306.37);
--accent-foreground: oklch(0.168 0.056 305.24);
--destructive: oklch(0.626 0.244 28.13);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.855 0.15 131.359);
--chart-1: oklch(0.855 0.15 131.359);
--chart-2: oklch(0.672 0.162 306.37);
--chart-3: oklch(0.672 0.162 306.37);
--chart-4: oklch(0.701 0.147 306.796);
--chart-5: oklch(0.86 0.156 131.462);
}