Rise is a shadcn/ui theme built around a green primary color (#6dd98c) with orange accents (#d98c6d). The light mode uses a neutral background (#f7fcf9). Dark mode keeps the green primary (#6dd98c) on a green-tinted background (#051008).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fcf9mintcream | #051008black |
| Foreground | #051409black | #f8fcf9mintcream |
| Card | #f4fbf6mintcream | #06140ablack |
| Card foreground | #041008black | #fcfdfcwhite |
| Popover | #f7fcf9mintcream | #051008black |
| Popover foreground | #051409black | #f8fcf9mintcream |
| Primary | #6dd98cmediumaquamarine | #6dd98cmediumaquamarine |
| Primary foreground | #041008black | #041008black |
| Secondary | #8c6dd9mediumpurple | #8c6dd9mediumpurple |
| Secondary foreground | #000000black | #000000black |
| Muted | #dcdae2gainsboro | #1f1d25black |
| Muted foreground | #3c3749darkslategray | #bbb6c8silver |
| Accent | #d98c6ddarksalmon | #d98c6ddarksalmon |
| Accent foreground | #100804black | #100804black |
| Destructive | #c43708firebrick | #f66331tomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #6dd98cmediumaquamarine | #6dd98cmediumaquamarine |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.28:1 | AAA |
| Text on card | 18.44:1 | AAA |
| Primary button | 11.07:1 | AAA |
| Secondary button | 5.30:1 | AA |
| Muted text | 8.26:1 | AAA |
| Accent | 7.48:1 | AAA |
| Destructive | 5.39:1 | AA |
| Text on background | 18.75:1 | AAA |
| Text on card | 18.57:1 | AAA |
| Primary button | 11.07:1 | AAA |
| Secondary button | 5.30:1 | AA |
| Muted text | 8.41:1 | AAA |
| Accent | 7.48:1 | AAA |
| Destructive | 6.75:1 | AA |
Paste this into your globals.css to use Rise in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.988 0.007 155.06);
--foreground: oklch(0.175 0.031 152.418);
--muted: oklch(0.892 0.011 299.092);
--muted-foreground: oklch(0.349 0.031 297.737);
--popover: oklch(0.988 0.007 155.06);
--popover-foreground: oklch(0.175 0.031 152.418);
--card: oklch(0.981 0.011 154.992);
--card-foreground: oklch(0.158 0.027 153.525);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.802 0.149 150.981);
--primary-foreground: oklch(0.158 0.027 153.525);
--secondary: oklch(0.614 0.16 294.268);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.712 0.105 42.272);
--accent-foreground: oklch(0.144 0.019 48.873);
--destructive: oklch(0.546 0.184 35.682);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.802 0.149 150.981);
--chart-1: oklch(0.802 0.149 150.981);
--chart-2: oklch(0.614 0.16 294.268);
--chart-3: oklch(0.712 0.105 42.272);
--chart-4: oklch(0.646 0.146 295.046);
--chart-5: oklch(0.808 0.156 150.777);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.157 0.024 153.688);
--foreground: oklch(0.987 0.005 155.1);
--muted: oklch(0.237 0.015 298.183);
--muted-foreground: oklch(0.787 0.026 298.746);
--popover: oklch(0.157 0.024 153.688);
--popover-foreground: oklch(0.987 0.005 155.1);
--card: oklch(0.173 0.028 152.582);
--card-foreground: oklch(0.993 0.002 155.146);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.802 0.149 150.981);
--primary-foreground: oklch(0.158 0.027 153.525);
--secondary: oklch(0.614 0.16 294.268);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.712 0.105 42.272);
--accent-foreground: oklch(0.144 0.019 48.873);
--destructive: oklch(0.681 0.192 37.998);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.802 0.149 150.981);
--chart-1: oklch(0.802 0.149 150.981);
--chart-2: oklch(0.614 0.16 294.268);
--chart-3: oklch(0.712 0.105 42.272);
--chart-4: oklch(0.646 0.146 295.046);
--chart-5: oklch(0.808 0.156 150.777);
}