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
Figma variables
Download gruvbox.figma.jsonImport it with a variables-import plugin: one collection, a mode for each half, named the way the tokens are.
{
"collection": "OpenVibe · Gruvbox",
"modes": [
"dark",
"light"
],
"variables": [
{
"name": "color/bg/base",
"resolvedType": "COLOR",
"description": "The page behind everything",
"valuesByMode": {
"dark": {
"r": 0.1137,
"g": 0.1255,
"b": 0.1294,
"a": 1
},
"light": {
"r": 0.9843,
"g": 0.9451,
"b": 0.7804,
"a": 1
}
}
},
{
"name": "color/bg/surface",
"resolvedType": "COLOR",
"description": "Bands and side panels",
"valuesByMode": {
"dark": {
"r": 0.1569,
"g": 0.1569,
"b": 0.1569,
"a": 1
},
"light": {
"r": 0.949,
"g": 0.898,
"b": 0.7373,
"a": 1
}
}
},
{
"name": "color/bg/subtle",
"resolvedType": "COLOR",
"description": "Wells, tracks and quiet fills",
"valuesByMode": {
"dark": {
"r": 0.2353,
"g": 0.2196,
"b": 0.2118,
"a": 1
},
"light": {
"r": 0.9216,
"g": 0.8588,
"b": 0.698,
"a": 1
}
}
},
{
"name": "color/bg/raised",
"resolvedType": "COLOR",
"description": "Cards, rows and sheets",
"valuesByMode": {
"dark": {
"r": 0.1961,
"g": 0.1882,
"b": 0.1843,
"a": 1
},
"light": {
"r": 0.9843,
"g": 0.9451,
"b": 0.7804,
"a": 1
}
}
},
{
"name": "color/bg/hover",
"resolvedType": "COLOR",
"description": "A control under the pointer or finger",
"valuesByMode": {
"dark": {
"r": 0.3137,
"g": 0.2863,
"b": 0.2706,
"a": 1
},
"light": {
"r": 0.949,
"g": 0.898,
"b": 0.7373,
"a": 1
}
}
},
{
"name": "color/bg/input",
"resolvedType": "COLOR",
"description": "Text fields",
"valuesByMode": {
"dark": {
"r": 0.1412,
"g": 0.1412,
"b": 0.1412,
"a": 1
},
"light": {
"r": 0.9608,
"g": 0.9255,
"b": 0.7686,
"a": 1
}
}
},
{
"name": "color/text/primary",
"resolvedType": "COLOR",
"description": "Body text and titles",
"valuesByMode": {
"dark": {
"r": 0.9216,
"g": 0.8588,
"b": 0.698,
"a": 1
},
"light": {
"r": 0.2353,
"g": 0.2196,
"b": 0.2118,
"a": 1
}
}
},
{
"name": "color/text/secondary",
"resolvedType": "COLOR",
"description": "Supporting text",
"valuesByMode": {
"dark": {
"r": 0.8353,
"g": 0.7686,
"b": 0.6314,
"a": 1
},
"light": {
"r": 0.3137,
"g": 0.2863,
"b": 0.2706,
"a": 1
}
}
},
{
"name": "color/text/muted",
"resolvedType": "COLOR",
"description": "Hints and meta lines",
"valuesByMode": {
"dark": {
"r": 0.7608,
"g": 0.7216,
"b": 0.6667,
"a": 1
},
"light": {
"r": 0.4078,
"g": 0.3686,
"b": 0.3294,
"a": 1
}
}
},
{
"name": "color/accent/base",
"resolvedType": "COLOR",
"description": "Links, icons, focus rings",
"valuesByMode": {
"dark": {
"r": 0.9804,
"g": 0.7412,
"b": 0.1843,
"a": 1
},
"light": {
"r": 0.6549,
"g": 0.2431,
"b": 0.0235,
"a": 1
}
}
},
{
"name": "color/accent/light",
"resolvedType": "COLOR",
"description": "The accent a step lighter",
"valuesByMode": {
"dark": {
"r": 0.9882,
"g": 0.898,
"b": 0.4,
"a": 1
},
"light": {
"r": 0.5765,
"g": 0.2902,
"b": 0.0549,
"a": 1
}
}
},
{
"name": "color/accent/dark",
"resolvedType": "COLOR",
"description": "The accent a step darker",
"valuesByMode": {
"dark": {
"r": 0.8431,
"g": 0.6,
"b": 0.1294,
"a": 1
},
"light": {
"r": 0.6863,
"g": 0.2275,
"b": 0.0118,
"a": 1
}
}
},
{
"name": "color/accent/strong",
"resolvedType": "COLOR",
"description": "Filled buttons",
"valuesByMode": {
"dark": {
"r": 0.9804,
"g": 0.7412,
"b": 0.1843,
"a": 1
},
"light": {
"r": 0.6549,
"g": 0.2431,
"b": 0.0235,
"a": 1
}
}
},
{
"name": "color/accent/on",
"resolvedType": "COLOR",
"description": "Text on the accent",
"valuesByMode": {
"dark": {
"r": 0.0431,
"g": 0.051,
"b": 0.0627,
"a": 1
},
"light": {
"r": 1,
"g": 1,
"b": 1,
"a": 1
}
}
},
{
"name": "color/accent/onStrong",
"resolvedType": "COLOR",
"description": "Text on a filled button",
"valuesByMode": {
"dark": {
"r": 0.0431,
"g": 0.051,
"b": 0.0627,
"a": 1
},
"light": {
"r": 1,
"g": 1,
"b": 1,
"a": 1
}
}
},
{
"name": "color/accent/glow",
"resolvedType": "COLOR",
"description": "Glows and halos",
"valuesByMode": {
"dark": {
"r": 0.9804,
"g": 0.7412,
"b": 0.1843,
"a": 0.35
},
"light": {
"r": 0.6549,
"g": 0.2431,
"b": 0.0235,
"a": 0.35
}
}
},
{
"name": "color/line/base",
"resolvedType": "COLOR",
"description": "Dividers and outlines",
"valuesByMode": {
"dark": {
"r": 0.2353,
"g": 0.2196,
"b": 0.2118,
"a": 1
},
"light": {
"r": 0.8353,
"g": 0.7686,
"b": 0.6314,
"a": 1
}
}
},
{
"name": "color/line/strong",
"resolvedType": "COLOR",
"description": "Outlines that must show",
"valuesByMode": {
"dark": {
"r": 0.3137,
"g": 0.2863,
"b": 0.2706,
"a": 1
},
"light": {
"r": 0.7412,
"g": 0.6824,
"b": 0.5765,
"a": 1
}
}
},
{
"name": "color/status/ok/base",
"resolvedType": "COLOR",
"description": "Success fills",
"valuesByMode": {
"dark": {
"r": 0.7216,
"g": 0.7333,
"b": 0.149,
"a": 1
},
"light": {
"r": 0.5961,
"g": 0.5922,
"b": 0.102,
"a": 1
}
}
},
{
"name": "color/status/ok/text",
"resolvedType": "COLOR",
"description": "Success text on any surface",
"valuesByMode": {
"dark": {
"r": 0.7451,
"g": 0.7529,
"b": 0.2157,
"a": 1
},
"light": {
"r": 0.3922,
"g": 0.3922,
"b": 0.0667,
"a": 1
}
}
},
{
"name": "color/status/warn/base",
"resolvedType": "COLOR",
"description": "Warning fills",
"valuesByMode": {
"dark": {
"r": 0.9961,
"g": 0.502,
"b": 0.098,
"a": 1
},
"light": {
"r": 0.8431,
"g": 0.6,
"b": 0.1294,
"a": 1
}
}
},
{
"name": "color/status/warn/text",
"resolvedType": "COLOR",
"description": "Warning text on any surface",
"valuesByMode": {
"dark": {
"r": 0.9961,
"g": 0.651,
"b": 0.3686,
"a": 1
},
"light": {
"r": 0.4902,
"g": 0.349,
"b": 0.0745,
"a": 1
}
}
},
{
"name": "color/status/bad/base",
"resolvedType": "COLOR",
"description": "Danger fills",
"valuesByMode": {
"dark": {
"r": 0.9843,
"g": 0.2863,
"b": 0.2039,
"a": 1
},
"light": {
"r": 0.8,
"g": 0.1412,
"b": 0.1137,
"a": 1
}
}
},
{
"name": "color/status/bad/text",
"resolvedType": "COLOR",
"description": "Danger text on any surface",
"valuesByMode": {
"dark": {
"r": 0.9922,
"g": 0.6431,
"b": 0.6039,
"a": 1
},
"light": {
"r": 0.7373,
"g": 0.1294,
"b": 0.1059,
"a": 1
}
}
},
{
"name": "color/status/info/base",
"resolvedType": "COLOR",
"description": "Information fills",
"valuesByMode": {
"dark": {
"r": 0.5137,
"g": 0.6471,
"b": 0.5961,
"a": 1
},
"light": {
"r": 0.2706,
"g": 0.5216,
"b": 0.5333,
"a": 1
}
}
},
{
"name": "color/status/info/text",
"resolvedType": "COLOR",
"description": "Information text on any surface",
"valuesByMode": {
"dark": {
"r": 0.6588,
"g": 0.7529,
"b": 0.7176,
"a": 1
},
"light": {
"r": 0.2118,
"g": 0.4078,
"b": 0.4157,
"a": 1
}
}
},
{
"name": "color/status/live/base",
"resolvedType": "COLOR",
"description": "LIVE badges",
"valuesByMode": {
"dark": {
"r": 0.9373,
"g": 0.2667,
"b": 0.2667,
"a": 1
},
"light": {
"r": 0.9373,
"g": 0.2667,
"b": 0.2667,
"a": 1
}
}
},
{
"name": "color/status/live/text",
"resolvedType": "COLOR",
"description": "LIVE text on any surface",
"valuesByMode": {
"dark": {
"r": 0.9686,
"g": 0.6471,
"b": 0.6471,
"a": 1
},
"light": {
"r": 0.6941,
"g": 0.1961,
"b": 0.1961,
"a": 1
}
}
},
{
"name": "radius/sm",
"resolvedType": "FLOAT",
"description": "",
"valuesByMode": {
"dark": 10,
"light": 10
}
},
{
"name": "radius/md",
"resolvedType": "FLOAT",
"description": "",
"valuesByMode": {
"dark": 14,
"light": 14
}
},
{
"name": "radius/lg",
"resolvedType": "FLOAT",
"description": "",
"valuesByMode": {
"dark": 20,
"light": 20
}
},
{
"name": "radius/pill",
"resolvedType": "FLOAT",
"description": "",
"valuesByMode": {
"dark": 999,
"light": 999
}
},
{
"name": "space/xs",
"resolvedType": "FLOAT",
"description": "",
"valuesByMode": {
"dark": 4,
"light": 4
}
},
{
"name": "space/sm",
"resolvedType": "FLOAT",
"description": "",
"valuesByMode": {
"dark": 8,
"light": 8
}
},
{
"name": "space/md",
"resolvedType": "FLOAT",
"description": "",
"valuesByMode": {
"dark": 12,
"light": 12
}
},
{
"name": "space/lg",
"resolvedType": "FLOAT",
"description": "",
"valuesByMode": {
"dark": 16,
"light": 16
}
},
{
"name": "space/xl",
"resolvedType": "FLOAT",
"description": "",
"valuesByMode": {
"dark": 24,
"light": 24
}
},
{
"name": "space/xxl",
"resolvedType": "FLOAT",
"description": "",
"valuesByMode": {
"dark": 32,
"light": 32
}
},
{
"name": "size/tap",
"resolvedType": "FLOAT",
"description": "",
"valuesByMode": {
"dark": 44,
"light": 44
}
},
{
"name": "size/icon",
"resolvedType": "FLOAT",
"description": "",
"valuesByMode": {
"dark": 20,
"light": 20
}
},
{
"name": "size/avatar",
"resolvedType": "FLOAT",
"description": "",
"valuesByMode": {
"dark": 34,
"light": 34
}
},
{
"name": "type/size/caption",
"resolvedType": "FLOAT",
"description": "",
"valuesByMode": {
"dark": 12,
"light": 12
}
},
{
"name": "type/size/meta",
"resolvedType": "FLOAT",
"description": "",
"valuesByMode": {
"dark": 13,
"light": 13
}
},
{
"name": "type/size/body",
"resolvedType": "FLOAT",
"description": "",
"valuesByMode": {
"dark": 15,
"light": 15
}
},
{
"name": "type/size/lead",
"resolvedType": "FLOAT",
"description": "",
"valuesByMode": {
"dark": 17,
"light": 17
}
},
{
"name": "type/size/title",
"resolvedType": "FLOAT",
"description": "",
"valuesByMode": {
"dark": 20,
"light": 20
}
},
{
"name": "type/size/headline",
"resolvedType": "FLOAT",
"description": "",
"valuesByMode": {
"dark": 24,
"light": 24
}
},
{
"name": "type/size/display",
"resolvedType": "FLOAT",
"description": "",
"valuesByMode": {
"dark": 34,
"light": 34
}
},
{
"name": "type/weight/regular",
"resolvedType": "FLOAT",
"description": "",
"valuesByMode": {
"dark": 400,
"light": 400
}
},
{
"name": "type/weight/medium",
"resolvedType": "FLOAT",
"description": "",
"valuesByMode": {
"dark": 600,
"light": 600
}
},
{
"name": "type/weight/bold",
"resolvedType": "FLOAT",
"description": "",
"valuesByMode": {
"dark": 700,
"light": 700
}
},
{
"name": "type/weight/heavy",
"resolvedType": "FLOAT",
"description": "",
"valuesByMode": {
"dark": 800,
"light": 800
}
},
{
"name": "motion/duration/fast",
"resolvedType": "FLOAT",
"description": "",
"valuesByMode": {
"dark": 180,
"light": 180
}
},
{
"name": "motion/duration/base",
"resolvedType": "FLOAT",
"description": "",
"valuesByMode": {
"dark": 260,
"light": 260
}
},
{
"name": "motion/duration/slow",
"resolvedType": "FLOAT",
"description": "",
"valuesByMode": {
"dark": 360,
"light": 360
}
},
{
"name": "motion/duration/reduced",
"resolvedType": "FLOAT",
"description": "",
"valuesByMode": {
"dark": 0,
"light": 0
}
}
],
"generator": "openvibe-shared/tokens v1"
}
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.