Palette
Sand theme
Desert light: a warm sand ground, a terracotta accent, and ink with a little sun in it.
background
card
primary
chart-2
success
danger
Install
The file lands as app/vibra-sand.css. Import it after your globals and set data-preset="sand" on <html>, or on any wrapper.
$
npx shadcn@latest add @vibra/theme-sandNeeds the @vibra registry in your components.json — set it up once.
The stylesheet
/* Sand — desert light: a warm sand ground, terracotta accent, and ink with a little sun in it.
*
* After Vibra's palette (an original recipe (scripts/presets/sources.ts)), mapped onto every token
* vibra.css defines and held to Vibra's contrast floors: where a value moved,
* it moved the least it could — a fill that was too light to read as a word
* is the same hue, deeper. The typefaces the original names are not carried;
* a preset is colour, radius and elevation, and the face is the page's own.
*
* Generated by scripts/build-presets.ts. Edit scripts/presets/sources, not this file. */
[data-preset="sand"] {
--radius: 0.625rem;
/* Planes. */
--background: oklch(0.985 0.012 75);
--surface: oklch(0.992 0.012 75);
--card: oklch(1 0 0);
--popover: oklch(1 0 0);
--muted: oklch(0.955 0.012 75);
--secondary: oklch(0.945 0.012 75);
--accent: oklch(0.945 0.012 75);
/* Ink. --faint-foreground is for eyebrows, meta and axis titles at 11px/600 and up — never body copy. */
--foreground: oklch(0.2 0.02 60);
--card-foreground: var(--foreground);
--popover-foreground: var(--foreground);
--muted-foreground: oklch(0.48 0.02 60);
--faint-foreground: oklch(0.46 0.02 60);
--secondary-foreground: var(--foreground);
--accent-foreground: var(--foreground);
/* The accent, and the aliases that carry it. */
--brand: oklch(0.5 0.13 45);
--brand-foreground: oklch(0.99 0.003 45);
--brand-muted: oklch(0.93 0.045 45);
--primary: var(--brand);
--primary-foreground: var(--brand-foreground);
--ring: var(--brand);
/* Lines. --input is the field boundary, so it carries 3:1 against the page and a card. */
--border: oklch(0.9 0.012 75);
--rule: oklch(0.77 0.012 75);
--input: oklch(0.64 0.012 75);
--chart-grid: oklch(0.9 0.012 75);
/* Semantic tones on opaque tints. */
--success: oklch(0.5 0.14 150);
--success-foreground: oklch(0.99 0.003 150);
--success-muted: oklch(0.95 0.04 150);
--warning: oklch(0.5 0.11 75);
--warning-foreground: oklch(0.99 0.003 75);
--warning-muted: oklch(0.95 0.04 75);
--danger: oklch(0.5 0.2 25);
--danger-foreground: oklch(0.99 0.003 25);
--danger-muted: oklch(0.95 0.04 25);
--info: oklch(0.5 0.14 250);
--info-foreground: oklch(0.99 0.003 250);
--info-muted: oklch(0.95 0.04 250);
--destructive: var(--danger);
/* Chart palette: the accent first when it is a colour, then the source's hues, then three of Vibra's own. */
--chart-1: var(--brand);
--chart-2: oklch(0.58 0.1 195);
--chart-3: oklch(0.6 0.125 105);
--chart-4: oklch(0.58 0.13 255);
--chart-5: oklch(0.6 0.13 345);
--chart-6: oklch(0.55 0.12 165);
--chart-7: oklch(0.56 0.14 285);
--chart-8: oklch(0.5 0.02 75);
--chart-positive: var(--success);
--chart-negative: var(--danger);
--chart-neutral: var(--muted-foreground);
--chart-axis: var(--muted-foreground);
/* The sidebar sits one plane below the content it frames. */
--sidebar: oklch(0.975 0.012 75);
--sidebar-foreground: var(--foreground);
--sidebar-primary: var(--brand);
--sidebar-primary-foreground: var(--brand-foreground);
--sidebar-accent: oklch(0.94 0.012 75);
--sidebar-accent-foreground: var(--foreground);
--sidebar-border: oklch(0.91 0.012 75);
--sidebar-ring: var(--brand);
/* Elevation. */
--shadow-sheet: 0 1px 2px oklch(0.2 0.03 60 / 6%), 0 2px 6px -2px oklch(0.2 0.03 60 / 5%);
--shadow-float: 0 8px 24px -8px oklch(0.2 0.03 60 / 22%), 0 1px 2px oklch(0.2 0.03 60 / 8%);
--shadow-modal: 0 24px 48px -16px oklch(0.2 0.03 60 / 30%);
--overlay: oklch(0 0 0 / 40%);
}
.dark [data-preset="sand"],
[data-preset="sand"].dark,
[data-preset="sand"] .dark {
/* Planes. */
--background: oklch(0.15 0.012 75);
--surface: oklch(0.175 0.012 75);
--card: oklch(0.2 0.012 75);
--popover: oklch(0.24 0.012 75);
--muted: oklch(0.24 0.012 75);
--secondary: oklch(0.27 0.012 75);
--accent: oklch(0.27 0.012 75);
/* Ink. --faint-foreground is for eyebrows, meta and axis titles at 11px/600 and up — never body copy. */
--foreground: oklch(0.95 0.008 75);
--card-foreground: var(--foreground);
--popover-foreground: var(--foreground);
--muted-foreground: oklch(0.71 0.012 75);
--faint-foreground: oklch(0.71 0.012 75);
--secondary-foreground: var(--foreground);
--accent-foreground: var(--foreground);
/* The accent, and the aliases that carry it. */
--brand: oklch(0.78 0.13 45);
--brand-foreground: oklch(0.18 0.03 45);
--brand-muted: oklch(0.28 0.06 45);
--primary: var(--brand);
--primary-foreground: var(--brand-foreground);
--ring: var(--brand);
/* Lines. --input is the field boundary, so it carries 3:1 against the page and a card. */
--border: oklch(0.3 0.012 75);
--rule: oklch(0.425 0.012 75);
--input: oklch(0.55 0.012 75);
--chart-grid: oklch(0.32 0.012 75);
/* Semantic tones on opaque tints. */
--success: oklch(0.8 0.14 150);
--success-foreground: oklch(0.16 0.03 150);
--success-muted: oklch(0.3 0.04 150);
--warning: oklch(0.8 0.11 85);
--warning-foreground: oklch(0.16 0.03 85);
--warning-muted: oklch(0.3 0.04 85);
--danger: oklch(0.8 0.14 25);
--danger-foreground: oklch(0.16 0.03 25);
--danger-muted: oklch(0.3 0.04 25);
--info: oklch(0.8 0.14 250);
--info-foreground: oklch(0.16 0.03 250);
--info-muted: oklch(0.3 0.04 250);
--destructive: var(--danger);
/* Chart palette: the accent first when it is a colour, then the source's hues, then three of Vibra's own. */
--chart-1: var(--brand);
--chart-2: oklch(0.76 0.12 195);
--chart-3: oklch(0.78 0.12 105);
--chart-4: oklch(0.76 0.12 255);
--chart-5: oklch(0.78 0.12 345);
--chart-6: oklch(0.76 0.11 165);
--chart-7: oklch(0.74 0.12 285);
--chart-8: oklch(0.72 0.02 75);
--chart-positive: var(--success);
--chart-negative: var(--danger);
--chart-neutral: var(--muted-foreground);
--chart-axis: var(--muted-foreground);
/* The sidebar sits one plane below the content it frames. */
--sidebar: oklch(0.15 0.012 75);
--sidebar-foreground: var(--foreground);
--sidebar-primary: var(--brand);
--sidebar-primary-foreground: var(--brand-foreground);
--sidebar-accent: oklch(0.23 0.012 75);
--sidebar-accent-foreground: var(--foreground);
--sidebar-border: oklch(0.3 0.012 75);
--sidebar-ring: var(--brand);
/* Elevation. */
--shadow-sheet: inset 0 1px 0 oklch(1 0 0 / 5%);
--shadow-float: 0 12px 32px -8px oklch(0 0 0 / 60%), inset 0 1px 0 oklch(1 0 0 / 6%);
--shadow-modal: 0 24px 64px -12px oklch(0 0 0 / 70%);
--overlay: oklch(0 0 0 / 60%);
}