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.

Import it with a variables-import plugin: one collection, a mode for each half, named the way the tokens are.

{
  "collection": "OpenVibe · Monokai",
  "modes": [
    "dark",
    "light"
  ],
  "variables": [
    {
      "name": "color/bg/base",
      "resolvedType": "COLOR",
      "description": "The page behind everything",
      "valuesByMode": {
        "dark": {
          "r": 0.1529,
          "g": 0.1569,
          "b": 0.1333,
          "a": 1
        },
        "light": {
          "r": 0.9804,
          "g": 0.9804,
          "b": 0.9647,
          "a": 1
        }
      }
    },
    {
      "name": "color/bg/surface",
      "resolvedType": "COLOR",
      "description": "Bands and side panels",
      "valuesByMode": {
        "dark": {
          "r": 0.1176,
          "g": 0.1216,
          "b": 0.1098,
          "a": 1
        },
        "light": {
          "r": 0.9451,
          "g": 0.9451,
          "b": 0.9176,
          "a": 1
        }
      }
    },
    {
      "name": "color/bg/subtle",
      "resolvedType": "COLOR",
      "description": "Wells, tracks and quiet fills",
      "valuesByMode": {
        "dark": {
          "r": 0.2431,
          "g": 0.2392,
          "b": 0.1961,
          "a": 1
        },
        "light": {
          "r": 0.9059,
          "g": 0.9059,
          "b": 0.8706,
          "a": 1
        }
      }
    },
    {
      "name": "color/bg/raised",
      "resolvedType": "COLOR",
      "description": "Cards, rows and sheets",
      "valuesByMode": {
        "dark": {
          "r": 0.1765,
          "g": 0.1804,
          "b": 0.1529,
          "a": 1
        },
        "light": {
          "r": 0.9922,
          "g": 0.9922,
          "b": 0.9804,
          "a": 1
        }
      }
    },
    {
      "name": "color/bg/hover",
      "resolvedType": "COLOR",
      "description": "A control under the pointer or finger",
      "valuesByMode": {
        "dark": {
          "r": 0.2863,
          "g": 0.2824,
          "b": 0.2431,
          "a": 1
        },
        "light": {
          "r": 0.9255,
          "g": 0.9255,
          "b": 0.8902,
          "a": 1
        }
      }
    },
    {
      "name": "color/bg/input",
      "resolvedType": "COLOR",
      "description": "Text fields",
      "valuesByMode": {
        "dark": {
          "r": 0.1333,
          "g": 0.1373,
          "b": 0.1176,
          "a": 1
        },
        "light": {
          "r": 0.9647,
          "g": 0.9647,
          "b": 0.9412,
          "a": 1
        }
      }
    },
    {
      "name": "color/text/primary",
      "resolvedType": "COLOR",
      "description": "Body text and titles",
      "valuesByMode": {
        "dark": {
          "r": 0.9725,
          "g": 0.9725,
          "b": 0.949,
          "a": 1
        },
        "light": {
          "r": 0.1529,
          "g": 0.1569,
          "b": 0.1333,
          "a": 1
        }
      }
    },
    {
      "name": "color/text/secondary",
      "resolvedType": "COLOR",
      "description": "Supporting text",
      "valuesByMode": {
        "dark": {
          "r": 0.8118,
          "g": 0.8118,
          "b": 0.7608,
          "a": 1
        },
        "light": {
          "r": 0.3059,
          "g": 0.3098,
          "b": 0.2667,
          "a": 1
        }
      }
    },
    {
      "name": "color/text/muted",
      "resolvedType": "COLOR",
      "description": "Hints and meta lines",
      "valuesByMode": {
        "dark": {
          "r": 0.7216,
          "g": 0.7137,
          "b": 0.6706,
          "a": 1
        },
        "light": {
          "r": 0.4039,
          "g": 0.4078,
          "b": 0.3608,
          "a": 1
        }
      }
    },
    {
      "name": "color/accent/base",
      "resolvedType": "COLOR",
      "description": "Links, icons, focus rings",
      "valuesByMode": {
        "dark": {
          "r": 0.651,
          "g": 0.8863,
          "b": 0.1804,
          "a": 1
        },
        "light": {
          "r": 0.2941,
          "g": 0.4431,
          "b": 0,
          "a": 1
        }
      }
    },
    {
      "name": "color/accent/light",
      "resolvedType": "COLOR",
      "description": "The accent a step lighter",
      "valuesByMode": {
        "dark": {
          "r": 0.7686,
          "g": 1,
          "b": 0.3137,
          "a": 1
        },
        "light": {
          "r": 0.3255,
          "g": 0.4431,
          "b": 0.0706,
          "a": 1
        }
      }
    },
    {
      "name": "color/accent/dark",
      "resolvedType": "COLOR",
      "description": "The accent a step darker",
      "valuesByMode": {
        "dark": {
          "r": 0.4902,
          "g": 0.6745,
          "b": 0.1098,
          "a": 1
        },
        "light": {
          "r": 0.2627,
          "g": 0.4,
          "b": 0,
          "a": 1
        }
      }
    },
    {
      "name": "color/accent/strong",
      "resolvedType": "COLOR",
      "description": "Filled buttons",
      "valuesByMode": {
        "dark": {
          "r": 0.651,
          "g": 0.8863,
          "b": 0.1804,
          "a": 1
        },
        "light": {
          "r": 0.2941,
          "g": 0.4431,
          "b": 0,
          "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.651,
          "g": 0.8863,
          "b": 0.1804,
          "a": 0.35
        },
        "light": {
          "r": 0.2941,
          "g": 0.4431,
          "b": 0,
          "a": 0.35
        }
      }
    },
    {
      "name": "color/line/base",
      "resolvedType": "COLOR",
      "description": "Dividers and outlines",
      "valuesByMode": {
        "dark": {
          "r": 0.2863,
          "g": 0.2824,
          "b": 0.2431,
          "a": 1
        },
        "light": {
          "r": 0.8627,
          "g": 0.8627,
          "b": 0.8157,
          "a": 1
        }
      }
    },
    {
      "name": "color/line/strong",
      "resolvedType": "COLOR",
      "description": "Outlines that must show",
      "valuesByMode": {
        "dark": {
          "r": 0.3569,
          "g": 0.3529,
          "b": 0.3137,
          "a": 1
        },
        "light": {
          "r": 0.8039,
          "g": 0.8039,
          "b": 0.749,
          "a": 1
        }
      }
    },
    {
      "name": "color/status/ok/base",
      "resolvedType": "COLOR",
      "description": "Success fills",
      "valuesByMode": {
        "dark": {
          "r": 0.1333,
          "g": 0.7725,
          "b": 0.3686,
          "a": 1
        },
        "light": {
          "r": 0.1333,
          "g": 0.7725,
          "b": 0.3686,
          "a": 1
        }
      }
    },
    {
      "name": "color/status/ok/text",
      "resolvedType": "COLOR",
      "description": "Success text on any surface",
      "valuesByMode": {
        "dark": {
          "r": 0.2706,
          "g": 0.8078,
          "b": 0.4706,
          "a": 1
        },
        "light": {
          "r": 0.0784,
          "g": 0.4627,
          "b": 0.2196,
          "a": 1
        }
      }
    },
    {
      "name": "color/status/warn/base",
      "resolvedType": "COLOR",
      "description": "Warning fills",
      "valuesByMode": {
        "dark": {
          "r": 0.902,
          "g": 0.8588,
          "b": 0.4549,
          "a": 1
        },
        "light": {
          "r": 0.9608,
          "g": 0.6196,
          "b": 0.0431,
          "a": 1
        }
      }
    },
    {
      "name": "color/status/warn/text",
      "resolvedType": "COLOR",
      "description": "Warning text on any surface",
      "valuesByMode": {
        "dark": {
          "r": 0.902,
          "g": 0.8588,
          "b": 0.4549,
          "a": 1
        },
        "light": {
          "r": 0.5569,
          "g": 0.3608,
          "b": 0.0235,
          "a": 1
        }
      }
    },
    {
      "name": "color/status/bad/base",
      "resolvedType": "COLOR",
      "description": "Danger fills",
      "valuesByMode": {
        "dark": {
          "r": 0.9765,
          "g": 0.149,
          "b": 0.4471,
          "a": 1
        },
        "light": {
          "r": 0.9373,
          "g": 0.2667,
          "b": 0.2667,
          "a": 1
        }
      }
    },
    {
      "name": "color/status/bad/text",
      "resolvedType": "COLOR",
      "description": "Danger text on any surface",
      "valuesByMode": {
        "dark": {
          "r": 0.9882,
          "g": 0.5922,
          "b": 0.7333,
          "a": 1
        },
        "light": {
          "r": 0.7294,
          "g": 0.2078,
          "b": 0.2078,
          "a": 1
        }
      }
    },
    {
      "name": "color/status/info/base",
      "resolvedType": "COLOR",
      "description": "Information fills",
      "valuesByMode": {
        "dark": {
          "r": 0.4,
          "g": 0.851,
          "b": 0.9373,
          "a": 1
        },
        "light": {
          "r": 0.2196,
          "g": 0.7412,
          "b": 0.9725,
          "a": 1
        }
      }
    },
    {
      "name": "color/status/info/text",
      "resolvedType": "COLOR",
      "description": "Information text on any surface",
      "valuesByMode": {
        "dark": {
          "r": 0.4,
          "g": 0.851,
          "b": 0.9373,
          "a": 1
        },
        "light": {
          "r": 0.1255,
          "g": 0.4314,
          "b": 0.5647,
          "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.6196,
          "b": 0.6196,
          "a": 1
        },
        "light": {
          "r": 0.7294,
          "g": 0.2078,
          "b": 0.2078,
          "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#272822#fafaf6The page behind everything
  • color.bg.surface#1e1f1c#f1f1eaBands and side panels
  • color.bg.subtle#3e3d32#e7e7deWells, tracks and quiet fills
  • color.bg.raised#2d2e27#fdfdfaCards, rows and sheets
  • color.bg.hover#49483e#ecece3A control under the pointer or finger
  • color.bg.input#22231e#f6f6f0Text fields
  • color.text.primary#f8f8f2#272822Body text and titles
  • color.text.secondary#cfcfc2#4e4f44Supporting text
  • color.text.muted#b8b6ab#67685cHints and meta lines
  • color.accent.base#a6e22e#4b7100Links, icons, focus rings
  • color.accent.light#c4ff50#537112The accent a step lighter
  • color.accent.dark#7dac1c#436600The accent a step darker
  • color.accent.strong#a6e22e#4b7100Filled buttons
  • color.accent.on#0b0d10#ffffffText on the accent
  • color.accent.onStrong#0b0d10#ffffffText on a filled button
  • color.accent.glowrgba(166,226,46,0.35)rgba(75,113,0,0.35)Glows and halos
  • color.line.base#49483e#dcdcd0Dividers and outlines
  • color.line.strong#5b5a50#cdcdbfOutlines that must show
  • color.status.ok.base#22c55e#22c55eSuccess fills
  • color.status.ok.text#45ce78#147638Success text on any surface
  • color.status.warn.base#e6db74#f59e0bWarning fills
  • color.status.warn.text#e6db74#8e5c06Warning text on any surface
  • color.status.bad.base#f92672#ef4444Danger fills
  • color.status.bad.text#fc97bb#ba3535Danger text on any surface
  • color.status.info.base#66d9ef#38bdf8Information fills
  • color.status.info.text#66d9ef#206e90Information text on any surface
  • color.status.live.base#ef4444#ef4444LIVE badges
  • color.status.live.text#f79e9e#ba3535LIVE 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.

Change this theme in the studio The tokens API