OpenVibe Tokens
Your theme, as code
Take any OpenVibe theme into your own app, its light and dark halves together: the web, Android, iOS, Flutter or Figma. The colours are the ones the network paints.
- GruvboxDark
- Gruvbox LightLight
CSS variables
Download GruvboxTheme.cssPaste it into your stylesheet: --ov-color-bg-base and the rest, with the network's own names (--bg-primary…) pointing at them. The light half switches on data-theme-mode="light".
/* Gruvbox (dark) — generated by openvibe-shared/tokens v1 from the OpenVibe theme "gruvbox-dark". Regenerate instead of editing. */
:root[data-theme-mode="dark"] {
--ov-color-bg-base: #1d2021;
--ov-color-bg-surface: #282828;
--ov-color-bg-subtle: #3c3836;
--ov-color-bg-raised: #32302f;
--ov-color-bg-hover: #504945;
--ov-color-bg-input: #242424;
--ov-color-text-primary: #ebdbb2;
--ov-color-text-secondary: #d5c4a1;
--ov-color-text-muted: #c2b8aa;
--ov-color-accent-base: #fabd2f;
--ov-color-accent-light: #fce566;
--ov-color-accent-dark: #d79921;
--ov-color-accent-strong: #fabd2f;
--ov-color-accent-on: #0b0d10;
--ov-color-accent-on-strong: #0b0d10;
--ov-color-accent-glow: rgba(250,189,47,0.35);
--ov-color-line-base: #3c3836;
--ov-color-line-strong: #504945;
--ov-color-status-ok-base: #b8bb26;
--ov-color-status-ok-text: #bec037;
--ov-color-status-warn-base: #fe8019;
--ov-color-status-warn-text: #fea65e;
--ov-color-status-bad-base: #fb4934;
--ov-color-status-bad-text: #fda49a;
--ov-color-status-info-base: #83a598;
--ov-color-status-info-text: #a8c0b7;
--ov-color-status-live-base: #ef4444;
--ov-color-status-live-text: #f7a5a5;
--ov-radius-sm: 10px;
--ov-radius-md: 14px;
--ov-radius-lg: 20px;
--ov-radius-pill: 999px;
--ov-space-xs: 4px;
--ov-space-sm: 8px;
--ov-space-md: 12px;
--ov-space-lg: 16px;
--ov-space-xl: 24px;
--ov-space-xxl: 32px;
--ov-size-tap: 44px;
--ov-size-icon: 20px;
--ov-size-avatar: 34px;
--ov-type-family-base: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
--ov-type-family-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
--ov-type-size-caption: 12px;
--ov-type-size-meta: 13px;
--ov-type-size-body: 15px;
--ov-type-size-lead: 17px;
--ov-type-size-title: 20px;
--ov-type-size-headline: 24px;
--ov-type-size-display: 34px;
--ov-type-weight-regular: 400;
--ov-type-weight-medium: 600;
--ov-type-weight-bold: 700;
--ov-type-weight-heavy: 800;
--ov-motion-duration-fast: 180ms;
--ov-motion-duration-base: 260ms;
--ov-motion-duration-slow: 360ms;
--ov-motion-duration-reduced: 0ms;
--ov-motion-easing-standard: cubic-bezier(0.2, 0.7, 0.2, 1);
--ov-motion-easing-back: cubic-bezier(0.34, 1.56, 0.64, 1);
/* The network's own names, for code written against them. */
--bg-primary: var(--ov-color-bg-base);
--bg-secondary: var(--ov-color-bg-surface);
--bg-tertiary: var(--ov-color-bg-subtle);
--bg-card: var(--ov-color-bg-raised);
--bg-hover: var(--ov-color-bg-hover);
--bg-input: var(--ov-color-bg-input);
--text-primary: var(--ov-color-text-primary);
--text-secondary: var(--ov-color-text-secondary);
--text-muted: var(--ov-color-text-muted);
--accent: var(--ov-color-accent-base);
--accent-light: var(--ov-color-accent-light);
--accent-dark: var(--ov-color-accent-dark);
--accent-strong: var(--ov-color-accent-strong);
--on-accent: var(--ov-color-accent-on);
--on-accent-strong: var(--ov-color-accent-on-strong);
--accent-glow: var(--ov-color-accent-glow);
--border: var(--ov-color-line-base);
--border-light: var(--ov-color-line-strong);
--success: var(--ov-color-status-ok-base);
--success-text: var(--ov-color-status-ok-text);
--warning: var(--ov-color-status-warn-base);
--warning-text: var(--ov-color-status-warn-text);
--danger: var(--ov-color-status-bad-base);
--danger-text: var(--ov-color-status-bad-text);
--info: var(--ov-color-status-info-base);
--info-text: var(--ov-color-status-info-text);
--live-red: var(--ov-color-status-live-base);
--live-red-text: var(--ov-color-status-live-text);
color-scheme: dark;
}
:root[data-theme-mode="light"] {
--ov-color-bg-base: #fbf1c7;
--ov-color-bg-surface: #f2e5bc;
--ov-color-bg-subtle: #ebdbb2;
--ov-color-bg-raised: #fbf1c7;
--ov-color-bg-hover: #f2e5bc;
--ov-color-bg-input: #f5ecc4;
--ov-color-text-primary: #3c3836;
--ov-color-text-secondary: #504945;
--ov-color-text-muted: #685e54;
--ov-color-accent-base: #a73e06;
--ov-color-accent-light: #934a0e;
--ov-color-accent-dark: #af3a03;
--ov-color-accent-strong: #a73e06;
--ov-color-accent-on: #ffffff;
--ov-color-accent-on-strong: #ffffff;
--ov-color-accent-glow: rgba(167,62,6,0.35);
--ov-color-line-base: #d5c4a1;
--ov-color-line-strong: #bdae93;
--ov-color-status-ok-base: #98971a;
--ov-color-status-ok-text: #646411;
--ov-color-status-warn-base: #d79921;
--ov-color-status-warn-text: #7d5913;
--ov-color-status-bad-base: #cc241d;
--ov-color-status-bad-text: #bc211b;
--ov-color-status-info-base: #458588;
--ov-color-status-info-text: #36686a;
--ov-color-status-live-base: #ef4444;
--ov-color-status-live-text: #b13232;
--ov-shadow-base: 0px 2px 12px rgba(40,30,0,0.08);
--ov-shadow-large: 0px 8px 32px rgba(40,30,0,0.12);
--ov-radius-sm: 10px;
--ov-radius-md: 14px;
--ov-radius-lg: 20px;
--ov-radius-pill: 999px;
--ov-space-xs: 4px;
--ov-space-sm: 8px;
--ov-space-md: 12px;
--ov-space-lg: 16px;
--ov-space-xl: 24px;
--ov-space-xxl: 32px;
--ov-size-tap: 44px;
--ov-size-icon: 20px;
--ov-size-avatar: 34px;
--ov-type-family-base: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
--ov-type-family-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
--ov-type-size-caption: 12px;
--ov-type-size-meta: 13px;
--ov-type-size-body: 15px;
--ov-type-size-lead: 17px;
--ov-type-size-title: 20px;
--ov-type-size-headline: 24px;
--ov-type-size-display: 34px;
--ov-type-weight-regular: 400;
--ov-type-weight-medium: 600;
--ov-type-weight-bold: 700;
--ov-type-weight-heavy: 800;
--ov-motion-duration-fast: 180ms;
--ov-motion-duration-base: 260ms;
--ov-motion-duration-slow: 360ms;
--ov-motion-duration-reduced: 0ms;
--ov-motion-easing-standard: cubic-bezier(0.2, 0.7, 0.2, 1);
--ov-motion-easing-back: cubic-bezier(0.34, 1.56, 0.64, 1);
/* The network's own names, for code written against them. */
--bg-primary: var(--ov-color-bg-base);
--bg-secondary: var(--ov-color-bg-surface);
--bg-tertiary: var(--ov-color-bg-subtle);
--bg-card: var(--ov-color-bg-raised);
--bg-hover: var(--ov-color-bg-hover);
--bg-input: var(--ov-color-bg-input);
--text-primary: var(--ov-color-text-primary);
--text-secondary: var(--ov-color-text-secondary);
--text-muted: var(--ov-color-text-muted);
--accent: var(--ov-color-accent-base);
--accent-light: var(--ov-color-accent-light);
--accent-dark: var(--ov-color-accent-dark);
--accent-strong: var(--ov-color-accent-strong);
--on-accent: var(--ov-color-accent-on);
--on-accent-strong: var(--ov-color-accent-on-strong);
--accent-glow: var(--ov-color-accent-glow);
--border: var(--ov-color-line-base);
--border-light: var(--ov-color-line-strong);
--success: var(--ov-color-status-ok-base);
--success-text: var(--ov-color-status-ok-text);
--warning: var(--ov-color-status-warn-base);
--warning-text: var(--ov-color-status-warn-text);
--danger: var(--ov-color-status-bad-base);
--danger-text: var(--ov-color-status-bad-text);
--info: var(--ov-color-status-info-base);
--info-text: var(--ov-color-status-info-text);
--live-red: var(--ov-color-status-live-base);
--live-red-text: var(--ov-color-status-live-text);
--shadow: var(--ov-shadow-base);
--shadow-lg: var(--ov-shadow-large);
color-scheme: light;
}
Files your tools can fetch
This theme on its own, with the motion every OpenVibe page shares and the mark’s colours. Each one has a lasting address a build or a design tool can read straight from here.
Every colour token · 28 of them
color.bg.base#1d2021#fbf1c7The page behind everythingcolor.bg.surface#282828#f2e5bcBands and side panelscolor.bg.subtle#3c3836#ebdbb2Wells, tracks and quiet fillscolor.bg.raised#32302f#fbf1c7Cards, rows and sheetscolor.bg.hover#504945#f2e5bcA control under the pointer or fingercolor.bg.input#242424#f5ecc4Text fieldscolor.text.primary#ebdbb2#3c3836Body text and titlescolor.text.secondary#d5c4a1#504945Supporting textcolor.text.muted#c2b8aa#685e54Hints and meta linescolor.accent.base#fabd2f#a73e06Links, icons, focus ringscolor.accent.light#fce566#934a0eThe accent a step lightercolor.accent.dark#d79921#af3a03The accent a step darkercolor.accent.strong#fabd2f#a73e06Filled buttonscolor.accent.on#0b0d10#ffffffText on the accentcolor.accent.onStrong#0b0d10#ffffffText on a filled buttoncolor.accent.glowrgba(250,189,47,0.35)rgba(167,62,6,0.35)Glows and haloscolor.line.base#3c3836#d5c4a1Dividers and outlinescolor.line.strong#504945#bdae93Outlines that must showcolor.status.ok.base#b8bb26#98971aSuccess fillscolor.status.ok.text#bec037#646411Success text on any surfacecolor.status.warn.base#fe8019#d79921Warning fillscolor.status.warn.text#fea65e#7d5913Warning text on any surfacecolor.status.bad.base#fb4934#cc241dDanger fillscolor.status.bad.text#fda49a#bc211bDanger text on any surfacecolor.status.info.base#83a598#458588Information fillscolor.status.info.text#a8c0b7#36686aInformation text on any surfacecolor.status.live.base#ef4444#ef4444LIVE badgescolor.status.live.text#f7a5a5#b13232LIVE text on any surface
Every theme also carries the kit's scales: radius.*, space.* (4 to 32), size.tap (44), type.size.*, type.weight.* and motion.*.
Why tokens, and what is next
A theme on OpenVibe is one set of design tokens: semantic names such as color.accent.strong and space.lg, kept apart from any one platform. The web reads them as CSS variables today. An Android or iOS app reads the same values in Compose or SwiftUI, so a native app wears your theme without being a web page in a frame.
The format is the W3C Design Tokens one, so the same file works in Style Dictionary, Tokens Studio and Figma. Next: the kit's components described the same way (anatomy, states, roles), so a page made on OpenVibe.Design can be drawn natively too.