Alpha

Neutral monochrome, from the original flat base to glass surfaces.

Palettes

Alpha

Color tokens

000
--background
oklch(0.975 0 0)
--foreground
oklch(0.17 0 0)
--card
oklch(0.995 0 0)
--card-foreground
oklch(0.17 0 0)
--popover
oklch(0.99 0 0)
--popover-foreground
oklch(0.17 0 0)
--primary
oklch(0.2 0 0)
--primary-foreground
oklch(0.985 0 0)
--secondary
oklch(0.93 0 0)
--secondary-foreground
oklch(0.17 0 0)
--muted
oklch(0.93 0 0)
--muted-foreground
oklch(0.44 0 0)
--accent
oklch(0.91 0 0)
--accent-foreground
oklch(0.17 0 0)
--destructive
#ae2638
--border
oklch(0 0 0 / 12%)
--input
oklch(0 0 0 / 16%)
--ring
oklch(0 0 0 / 40%)
--chart-1
oklch(0.17 0 0)
--chart-2
oklch(0.35 0 0)
--chart-3
oklch(0.5 0 0)
--chart-4
oklch(0.65 0 0)
--chart-5
oklch(0.8 0 0)
--sidebar
oklch(0.99 0 0 / 70%)
--sidebar-foreground
oklch(0.17 0 0)
--sidebar-primary
oklch(0.2 0 0)
--sidebar-primary-foreground
oklch(0.985 0 0)
--sidebar-accent
oklch(0.93 0 0)
--sidebar-accent-foreground
oklch(0.17 0 0)
--sidebar-border
oklch(0 0 0 / 10%)
--sidebar-ring
oklch(0 0 0 / 40%)
000 CSS
000.css
/* Shared Elements light and dark design tokens. */
:root {
  --background: oklch(0.975 0 0);
  --foreground: oklch(0.17 0 0);

  --card: oklch(0.995 0 0);
  --card-foreground: oklch(0.17 0 0);
  --popover: oklch(0.99 0 0);
  --popover-foreground: oklch(0.17 0 0);

  --primary: oklch(0.2 0 0);
  --primary-foreground: oklch(0.985 0 0);
  --secondary: oklch(0.93 0 0);
  --secondary-foreground: oklch(0.17 0 0);
  --muted: oklch(0.93 0 0);
  --muted-foreground: oklch(0.44 0 0);
  --accent: oklch(0.91 0 0);
  --accent-foreground: oklch(0.17 0 0);
  --destructive: #ae2638;

  --border: oklch(0 0 0 / 12%);
  --input: oklch(0 0 0 / 16%);
  --ring: oklch(0 0 0 / 40%);

  --chart-1: oklch(0.17 0 0);
  --chart-2: oklch(0.35 0 0);
  --chart-3: oklch(0.5 0 0);
  --chart-4: oklch(0.65 0 0);
  --chart-5: oklch(0.8 0 0);


  --sidebar: oklch(0.99 0 0 / 70%);
  --sidebar-foreground: oklch(0.17 0 0);
  --sidebar-primary: oklch(0.2 0 0);
  --sidebar-primary-foreground: oklch(0.985 0 0);
  --sidebar-accent: oklch(0.93 0 0);
  --sidebar-accent-foreground: oklch(0.17 0 0);
  --sidebar-border: oklch(0 0 0 / 10%);
  --sidebar-ring: oklch(0 0 0 / 40%);
}

.dark {
  --background: #000;
  --foreground: oklch(0.985 0 0);

  --card: oklch(0.185 0 0);
  --card-foreground: oklch(0.985 0 0);
  --popover: oklch(0.16 0 0);
  --popover-foreground: oklch(0.985 0 0);

  --primary: oklch(0.985 0 0);
  --primary-foreground: oklch(0.16 0 0);
  --secondary: oklch(0.25 0 0);
  --secondary-foreground: oklch(0.985 0 0);
  --muted: oklch(0.25 0 0);
  --muted-foreground: oklch(0.7 0 0);
  --accent: oklch(0.28 0 0);
  --accent-foreground: oklch(0.985 0 0);
  --destructive: #ff9aa3;

  --border: oklch(1 0 0 / 10%);
  --input: oklch(1 0 0 / 14%);
  --ring: oklch(1 0 0 / 40%);

  --chart-1: oklch(0.985 0 0);
  --chart-2: oklch(0.8 0 0);
  --chart-3: oklch(0.65 0 0);
  --chart-4: oklch(0.5 0 0);
  --chart-5: oklch(0.35 0 0);

  --sidebar: oklch(0.16 0 0 / 70%);
  --sidebar-foreground: oklch(0.985 0 0);
  --sidebar-primary: oklch(0.985 0 0);
  --sidebar-primary-foreground: oklch(0.16 0 0);
  --sidebar-accent: oklch(0.25 0 0);
  --sidebar-accent-foreground: oklch(0.985 0 0);
  --sidebar-border: oklch(1 0 0 / 10%);
  --sidebar-ring: oklch(1 0 0 / 40%);

}

Design formula

Spacing
4px base unit
Control heights
24 / 28 / 32 / 36px
Base radius
12px in 000; 16px and pill controls in 001
Typography
System sans in 000; Apple system sans in 001
States
Hover, focus, active, disabled, invalid
Primitives
Semantic HTML and Base UI

Use this theme

globals.css
@import "tailwindcss";
@import "@jnpll/elements-ui/themes.css";

@source "../../node_modules/@jnpll/elements-ui/dist";
html
<html data-elements-theme="alpha" data-elements-palette="000">
  <!-- application -->
</html>