Blissful is a shadcn/ui theme built around a light violet primary color (#ddccef) with light green accents (#dfefcc). The light mode uses a neutral background (#fcfbfe). Dark mode keeps the light violet primary (#ddccef) on a violet-tinted background (#07050a).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfbfewhite | #07050ablack |
| Foreground | #0c0514black | #faf9fbghostwhite |
| Card | #fcfbfewhite | #07050ablack |
| Card foreground | #0c0514black | #faf9fbghostwhite |
| Popover | #fcfbfewhite | #07050ablack |
| Popover foreground | #0c0514black | #faf9fbghostwhite |
| Primary | #ddccefgainsboro | #ddccefgainsboro |
| Primary foreground | #422069indigo | #422069indigo |
| Secondary | #dfefccgainsboro | #dfefccgainsboro |
| Secondary foreground | #121b08black | #121b08black |
| Muted | #f2f5f0whitesmoke | #0d0f0ablack |
| Muted foreground | #67705cdimgray | #9aa38fdarkseagreen |
| Accent | #dfefccgainsboro | #dfefccgainsboro |
| Accent foreground | #121b08black | #121b08black |
| Destructive | #66200bmaroon | #e74c1dchocolate |
| Destructive foreground | #f6bdaclightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #ddccefgainsboro | #ddccefgainsboro |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.42:1 | AAA |
| Text on card | 19.42:1 | AAA |
| Primary button | 8.51:1 | AAA |
| Secondary button | 14.67:1 | AAA |
| Muted text | 4.70:1 | AA |
| Accent | 14.67:1 | AAA |
| Destructive | 7.23:1 | AAA |
| Text on background | 19.31:1 | AAA |
| Text on card | 19.31:1 | AAA |
| Primary button | 8.51:1 | AAA |
| Secondary button | 14.67:1 | AAA |
| Muted text | 7.34:1 | AAA |
| Accent | 14.67:1 | AAA |
| Destructive | 3.84:1 | AA Large |
Paste this into your globals.css to use Blissful in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.005 307.052);
--foreground: oklch(0.139 0.035 305.214);
--muted: oklch(0.966 0.006 127.194);
--muted-foreground: oklch(0.532 0.033 127.899);
--popover: oklch(0.989 0.005 307.052);
--popover-foreground: oklch(0.139 0.035 305.214);
--card: oklch(0.989 0.005 307.052);
--card-foreground: oklch(0.139 0.035 305.214);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.87 0.051 306.397);
--primary-foreground: oklch(0.333 0.122 301.48);
--secondary: oklch(0.932 0.05 127.781);
--secondary-foreground: oklch(0.209 0.037 129.624);
--accent: oklch(0.932 0.05 127.781);
--accent-foreground: oklch(0.209 0.037 129.624);
--destructive: oklch(0.349 0.105 36.629);
--destructive-foreground: oklch(0.846 0.07 37.599);
--ring: oklch(0.87 0.051 306.397);
--chart-1: oklch(0.87 0.051 306.397);
--chart-2: oklch(0.932 0.05 127.781);
--chart-3: oklch(0.932 0.05 127.781);
--chart-4: oklch(0.948 0.038 127.614);
--chart-5: oklch(0.869 0.054 306.355);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.123 0.015 307.932);
--foreground: oklch(0.983 0.003 307.069);
--muted: oklch(0.164 0.01 127.879);
--muted-foreground: oklch(0.703 0.031 127.663);
--popover: oklch(0.123 0.015 307.932);
--popover-foreground: oklch(0.983 0.003 307.069);
--card: oklch(0.123 0.015 307.932);
--card-foreground: oklch(0.983 0.003 307.069);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.87 0.051 306.397);
--primary-foreground: oklch(0.333 0.122 301.48);
--secondary: oklch(0.932 0.05 127.781);
--secondary-foreground: oklch(0.209 0.037 129.624);
--accent: oklch(0.932 0.05 127.781);
--accent-foreground: oklch(0.209 0.037 129.624);
--destructive: oklch(0.629 0.199 36.119);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.87 0.051 306.397);
--chart-1: oklch(0.87 0.051 306.397);
--chart-2: oklch(0.932 0.05 127.781);
--chart-3: oklch(0.932 0.05 127.781);
--chart-4: oklch(0.948 0.038 127.614);
--chart-5: oklch(0.869 0.054 306.355);
}