Kronos1 for shadcn/ui

Kronos1 is a shadcn/ui theme built around a vivid teal primary color (#08a6a6) with vivid yellow accents (#a6a608). The light mode uses a neutral background (#f7fdfd). Dark mode keeps the vivid teal primary (#08a6a6) on a neutral background (#030707).

Color palette

TokenLightDark
Background
#f7fdfdmintcream
#030707black
Foreground
#010404black
#f6f9f9whitesmoke
Card
#f7fdfdmintcream
#030707black
Card foreground
#010404black
#f6f9f9whitesmoke
Popover
#f7fdfdmintcream
#030707black
Popover foreground
#010404black
#f6f9f9whitesmoke
Primary
#08a6a6lightseagreen
#08a6a6lightseagreen
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#a608a6darkmagenta
#a608a6darkmagenta
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#e7dfe7gainsboro
#201820black
Muted foreground
#504950darkslategray
#b6afb6darkgray
Accent
#a6a608darkgoldenrod
#a6a608darkgoldenrod
Accent foreground
#000000black
#000000black
Destructive
#c34b13chocolate
#e35716chocolate
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e9ececlavender
#181b1bblack
Input
#e9ececlavender
#181b1bblack
Ring
#08a6a6lightseagreen
#08a6a6lightseagreen

Contrast

WCAG 2 contrast ratios between each background and its foreground color.

Light mode
Text on background19.97:1AAA
Text on card19.97:1AAA
Primary button3.00:1AA Large
Secondary button6.57:1AA
Muted text6.67:1AA
Accent8.04:1AAA
Destructive4.84:1AA
Dark mode
Text on background19.09:1AAA
Text on card19.09:1AAA
Primary button3.00:1AA Large
Secondary button6.57:1AA
Muted text8.07:1AAA
Accent8.04:1AAA
Destructive3.70:1AA Large

CSS variables

Paste this into your globals.css to use Kronos1 in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.989 0.006 197.063);
  --foreground: oklch(0.099 0.011 195.572);
  --muted: oklch(0.912 0.014 325.695);
  --muted-foreground: oklch(0.415 0.013 325.805);
  --popover: oklch(0.989 0.006 197.063);
  --popover-foreground: oklch(0.099 0.011 195.572);
  --card: oklch(0.989 0.006 197.063);
  --card-foreground: oklch(0.099 0.011 195.572);
  --border: oklch(0.941 0.003 197.113);
  --input: oklch(0.941 0.003 197.113);
  --primary: oklch(0.656 0.111 194.787);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.51 0.231 328.328);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.701 0.151 109.741);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.568 0.166 40.949);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.656 0.111 194.787);
  --chart-1: oklch(0.656 0.111 194.787);
  --chart-2: oklch(0.51 0.231 328.328);
  --chart-3: oklch(0.701 0.151 109.741);
  --chart-4: oklch(0.543 0.246 328.332);
  --chart-5: oklch(0.663 0.113 194.781);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.123 0.011 195.821);
  --foreground: oklch(0.979 0.003 197.115);
  --muted: oklch(0.222 0.021 326.24);
  --muted-foreground: oklch(0.762 0.011 325.684);
  --popover: oklch(0.123 0.011 195.821);
  --popover-foreground: oklch(0.979 0.003 197.115);
  --card: oklch(0.123 0.011 195.821);
  --card-foreground: oklch(0.979 0.003 197.115);
  --border: oklch(0.219 0.005 196.818);
  --input: oklch(0.219 0.005 196.818);
  --primary: oklch(0.656 0.111 194.787);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.51 0.231 328.328);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.701 0.151 109.741);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.635 0.187 40.736);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.656 0.111 194.787);
  --chart-1: oklch(0.656 0.111 194.787);
  --chart-2: oklch(0.51 0.231 328.328);
  --chart-3: oklch(0.701 0.151 109.741);
  --chart-4: oklch(0.543 0.246 328.332);
  --chart-5: oklch(0.663 0.113 194.781);
}