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.

Design tokens (DTCG JSON)

Download gruvbox.tokens.json

The W3C Design Tokens (DTCG) document itself, for Style Dictionary, Tokens Studio or your own build.

{
  "$description": "A theme's dark and light halves",
  "dark": {
    "$description": "Warm retro contrast.",
    "$extensions": {
      "network.openvibe": {
        "name": "Gruvbox",
        "slug": "gruvbox-dark",
        "mode": "dark",
        "tokensVersion": 1
      }
    },
    "color": {
      "bg": {
        "base": {
          "$type": "color",
          "$value": "#1d2021",
          "$description": "The page behind everything"
        },
        "surface": {
          "$type": "color",
          "$value": "#282828",
          "$description": "Bands and side panels"
        },
        "subtle": {
          "$type": "color",
          "$value": "#3c3836",
          "$description": "Wells, tracks and quiet fills"
        },
        "raised": {
          "$type": "color",
          "$value": "#32302f",
          "$description": "Cards, rows and sheets"
        },
        "hover": {
          "$type": "color",
          "$value": "#504945",
          "$description": "A control under the pointer or finger"
        },
        "input": {
          "$type": "color",
          "$value": "#242424",
          "$description": "Text fields"
        }
      },
      "text": {
        "primary": {
          "$type": "color",
          "$value": "#ebdbb2",
          "$description": "Body text and titles"
        },
        "secondary": {
          "$type": "color",
          "$value": "#d5c4a1",
          "$description": "Supporting text"
        },
        "muted": {
          "$type": "color",
          "$value": "#c2b8aa",
          "$description": "Hints and meta lines"
        }
      },
      "accent": {
        "base": {
          "$type": "color",
          "$value": "#fabd2f",
          "$description": "Links, icons, focus rings"
        },
        "light": {
          "$type": "color",
          "$value": "#fce566",
          "$description": "The accent a step lighter"
        },
        "dark": {
          "$type": "color",
          "$value": "#d79921",
          "$description": "The accent a step darker"
        },
        "strong": {
          "$type": "color",
          "$value": "#fabd2f",
          "$description": "Filled buttons"
        },
        "on": {
          "$type": "color",
          "$value": "#0b0d10",
          "$description": "Text on the accent"
        },
        "onStrong": {
          "$type": "color",
          "$value": "#0b0d10",
          "$description": "Text on a filled button"
        },
        "glow": {
          "$type": "color",
          "$value": "rgba(250,189,47,0.35)",
          "$description": "Glows and halos"
        }
      },
      "line": {
        "base": {
          "$type": "color",
          "$value": "#3c3836",
          "$description": "Dividers and outlines"
        },
        "strong": {
          "$type": "color",
          "$value": "#504945",
          "$description": "Outlines that must show"
        }
      },
      "status": {
        "ok": {
          "base": {
            "$type": "color",
            "$value": "#b8bb26",
            "$description": "Success fills"
          },
          "text": {
            "$type": "color",
            "$value": "#bec037",
            "$description": "Success text on any surface"
          }
        },
        "warn": {
          "base": {
            "$type": "color",
            "$value": "#fe8019",
            "$description": "Warning fills"
          },
          "text": {
            "$type": "color",
            "$value": "#fea65e",
            "$description": "Warning text on any surface"
          }
        },
        "bad": {
          "base": {
            "$type": "color",
            "$value": "#fb4934",
            "$description": "Danger fills"
          },
          "text": {
            "$type": "color",
            "$value": "#fda49a",
            "$description": "Danger text on any surface"
          }
        },
        "info": {
          "base": {
            "$type": "color",
            "$value": "#83a598",
            "$description": "Information fills"
          },
          "text": {
            "$type": "color",
            "$value": "#a8c0b7",
            "$description": "Information text on any surface"
          }
        },
        "live": {
          "base": {
            "$type": "color",
            "$value": "#ef4444",
            "$description": "LIVE badges"
          },
          "text": {
            "$type": "color",
            "$value": "#f7a5a5",
            "$description": "LIVE text on any surface"
          }
        }
      }
    },
    "radius": {
      "sm": {
        "$type": "dimension",
        "$value": "10px"
      },
      "md": {
        "$type": "dimension",
        "$value": "14px"
      },
      "lg": {
        "$type": "dimension",
        "$value": "20px"
      },
      "pill": {
        "$type": "dimension",
        "$value": "999px"
      }
    },
    "space": {
      "xs": {
        "$type": "dimension",
        "$value": "4px"
      },
      "sm": {
        "$type": "dimension",
        "$value": "8px"
      },
      "md": {
        "$type": "dimension",
        "$value": "12px"
      },
      "lg": {
        "$type": "dimension",
        "$value": "16px"
      },
      "xl": {
        "$type": "dimension",
        "$value": "24px"
      },
      "xxl": {
        "$type": "dimension",
        "$value": "32px"
      }
    },
    "size": {
      "tap": {
        "$type": "dimension",
        "$value": "44px"
      },
      "icon": {
        "$type": "dimension",
        "$value": "20px"
      },
      "avatar": {
        "$type": "dimension",
        "$value": "34px"
      }
    },
    "type": {
      "family": {
        "base": {
          "$type": "fontFamily",
          "$value": [
            "Inter",
            "-apple-system",
            "BlinkMacSystemFont",
            "Segoe UI",
            "Roboto",
            "Helvetica Neue",
            "Arial",
            "sans-serif"
          ]
        },
        "mono": {
          "$type": "fontFamily",
          "$value": [
            "ui-monospace",
            "SFMono-Regular",
            "Menlo",
            "Consolas",
            "monospace"
          ]
        }
      },
      "size": {
        "caption": {
          "$type": "dimension",
          "$value": "12px"
        },
        "meta": {
          "$type": "dimension",
          "$value": "13px"
        },
        "body": {
          "$type": "dimension",
          "$value": "15px"
        },
        "lead": {
          "$type": "dimension",
          "$value": "17px"
        },
        "title": {
          "$type": "dimension",
          "$value": "20px"
        },
        "headline": {
          "$type": "dimension",
          "$value": "24px"
        },
        "display": {
          "$type": "dimension",
          "$value": "34px"
        }
      },
      "weight": {
        "regular": {
          "$type": "fontWeight",
          "$value": 400
        },
        "medium": {
          "$type": "fontWeight",
          "$value": 600
        },
        "bold": {
          "$type": "fontWeight",
          "$value": 700
        },
        "heavy": {
          "$type": "fontWeight",
          "$value": 800
        }
      }
    },
    "motion": {
      "duration": {
        "fast": {
          "$type": "duration",
          "$value": "180ms"
        },
        "base": {
          "$type": "duration",
          "$value": "260ms"
        },
        "slow": {
          "$type": "duration",
          "$value": "360ms"
        },
        "reduced": {
          "$type": "duration",
          "$value": "0ms"
        }
      },
      "easing": {
        "standard": {
          "$type": "cubicBezier",
          "$value": [
            0.2,
            0.7,
            0.2,
            1
          ]
        },
        "back": {
          "$type": "cubicBezier",
          "$value": [
            0.34,
            1.56,
            0.64,
            1
          ]
        }
      }
    }
  },
  "light": {
    "$description": "Cream with bold retro accents.",
    "$extensions": {
      "network.openvibe": {
        "name": "Gruvbox Light",
        "slug": "gruvbox-light",
        "mode": "light",
        "tokensVersion": 1
      }
    },
    "color": {
      "bg": {
        "base": {
          "$type": "color",
          "$value": "#fbf1c7",
          "$description": "The page behind everything"
        },
        "surface": {
          "$type": "color",
          "$value": "#f2e5bc",
          "$description": "Bands and side panels"
        },
        "subtle": {
          "$type": "color",
          "$value": "#ebdbb2",
          "$description": "Wells, tracks and quiet fills"
        },
        "raised": {
          "$type": "color",
          "$value": "#fbf1c7",
          "$description": "Cards, rows and sheets"
        },
        "hover": {
          "$type": "color",
          "$value": "#f2e5bc",
          "$description": "A control under the pointer or finger"
        },
        "input": {
          "$type": "color",
          "$value": "#f5ecc4",
          "$description": "Text fields"
        }
      },
      "text": {
        "primary": {
          "$type": "color",
          "$value": "#3c3836",
          "$description": "Body text and titles"
        },
        "secondary": {
          "$type": "color",
          "$value": "#504945",
          "$description": "Supporting text"
        },
        "muted": {
          "$type": "color",
          "$value": "#685e54",
          "$description": "Hints and meta lines"
        }
      },
      "accent": {
        "base": {
          "$type": "color",
          "$value": "#a73e06",
          "$description": "Links, icons, focus rings"
        },
        "light": {
          "$type": "color",
          "$value": "#934a0e",
          "$description": "The accent a step lighter"
        },
        "dark": {
          "$type": "color",
          "$value": "#af3a03",
          "$description": "The accent a step darker"
        },
        "strong": {
          "$type": "color",
          "$value": "#a73e06",
          "$description": "Filled buttons"
        },
        "on": {
          "$type": "color",
          "$value": "#ffffff",
          "$description": "Text on the accent"
        },
        "onStrong": {
          "$type": "color",
          "$value": "#ffffff",
          "$description": "Text on a filled button"
        },
        "glow": {
          "$type": "color",
          "$value": "rgba(167,62,6,0.35)",
          "$description": "Glows and halos"
        }
      },
      "line": {
        "base": {
          "$type": "color",
          "$value": "#d5c4a1",
          "$description": "Dividers and outlines"
        },
        "strong": {
          "$type": "color",
          "$value": "#bdae93",
          "$description": "Outlines that must show"
        }
      },
      "status": {
        "ok": {
          "base": {
            "$type": "color",
            "$value": "#98971a",
            "$description": "Success fills"
          },
          "text": {
            "$type": "color",
            "$value": "#646411",
            "$description": "Success text on any surface"
          }
        },
        "warn": {
          "base": {
            "$type": "color",
            "$value": "#d79921",
            "$description": "Warning fills"
          },
          "text": {
            "$type": "color",
            "$value": "#7d5913",
            "$description": "Warning text on any surface"
          }
        },
        "bad": {
          "base": {
            "$type": "color",
            "$value": "#cc241d",
            "$description": "Danger fills"
          },
          "text": {
            "$type": "color",
            "$value": "#bc211b",
            "$description": "Danger text on any surface"
          }
        },
        "info": {
          "base": {
            "$type": "color",
            "$value": "#458588",
            "$description": "Information fills"
          },
          "text": {
            "$type": "color",
            "$value": "#36686a",
            "$description": "Information text on any surface"
          }
        },
        "live": {
          "base": {
            "$type": "color",
            "$value": "#ef4444",
            "$description": "LIVE badges"
          },
          "text": {
            "$type": "color",
            "$value": "#b13232",
            "$description": "LIVE text on any surface"
          }
        }
      }
    },
    "shadow": {
      "base": {
        "$type": "shadow",
        "$value": {
          "color": "rgba(40,30,0,0.08)",
          "offsetX": "0px",
          "offsetY": "2px",
          "blur": "12px",
          "spread": "0px"
        },
        "$description": "Cards and menus"
      },
      "large": {
        "$type": "shadow",
        "$value": {
          "color": "rgba(40,30,0,0.12)",
          "offsetX": "0px",
          "offsetY": "8px",
          "blur": "32px",
          "spread": "0px"
        },
        "$description": "Dialogs and sheets"
      }
    },
    "radius": {
      "sm": {
        "$type": "dimension",
        "$value": "10px"
      },
      "md": {
        "$type": "dimension",
        "$value": "14px"
      },
      "lg": {
        "$type": "dimension",
        "$value": "20px"
      },
      "pill": {
        "$type": "dimension",
        "$value": "999px"
      }
    },
    "space": {
      "xs": {
        "$type": "dimension",
        "$value": "4px"
      },
      "sm": {
        "$type": "dimension",
        "$value": "8px"
      },
      "md": {
        "$type": "dimension",
        "$value": "12px"
      },
      "lg": {
        "$type": "dimension",
        "$value": "16px"
      },
      "xl": {
        "$type": "dimension",
        "$value": "24px"
      },
      "xxl": {
        "$type": "dimension",
        "$value": "32px"
      }
    },
    "size": {
      "tap": {
        "$type": "dimension",
        "$value": "44px"
      },
      "icon": {
        "$type": "dimension",
        "$value": "20px"
      },
      "avatar": {
        "$type": "dimension",
        "$value": "34px"
      }
    },
    "type": {
      "family": {
        "base": {
          "$type": "fontFamily",
          "$value": [
            "Inter",
            "-apple-system",
            "BlinkMacSystemFont",
            "Segoe UI",
            "Roboto",
            "Helvetica Neue",
            "Arial",
            "sans-serif"
          ]
        },
        "mono": {
          "$type": "fontFamily",
          "$value": [
            "ui-monospace",
            "SFMono-Regular",
            "Menlo",
            "Consolas",
            "monospace"
          ]
        }
      },
      "size": {
        "caption": {
          "$type": "dimension",
          "$value": "12px"
        },
        "meta": {
          "$type": "dimension",
          "$value": "13px"
        },
        "body": {
          "$type": "dimension",
          "$value": "15px"
        },
        "lead": {
          "$type": "dimension",
          "$value": "17px"
        },
        "title": {
          "$type": "dimension",
          "$value": "20px"
        },
        "headline": {
          "$type": "dimension",
          "$value": "24px"
        },
        "display": {
          "$type": "dimension",
          "$value": "34px"
        }
      },
      "weight": {
        "regular": {
          "$type": "fontWeight",
          "$value": 400
        },
        "medium": {
          "$type": "fontWeight",
          "$value": 600
        },
        "bold": {
          "$type": "fontWeight",
          "$value": 700
        },
        "heavy": {
          "$type": "fontWeight",
          "$value": 800
        }
      }
    },
    "motion": {
      "duration": {
        "fast": {
          "$type": "duration",
          "$value": "180ms"
        },
        "base": {
          "$type": "duration",
          "$value": "260ms"
        },
        "slow": {
          "$type": "duration",
          "$value": "360ms"
        },
        "reduced": {
          "$type": "duration",
          "$value": "0ms"
        }
      },
      "easing": {
        "standard": {
          "$type": "cubicBezier",
          "$value": [
            0.2,
            0.7,
            0.2,
            1
          ]
        },
        "back": {
          "$type": "cubicBezier",
          "$value": [
            0.34,
            1.56,
            0.64,
            1
          ]
        }
      }
    }
  }
}

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 everything
  • color.bg.surface#282828#f2e5bcBands and side panels
  • color.bg.subtle#3c3836#ebdbb2Wells, tracks and quiet fills
  • color.bg.raised#32302f#fbf1c7Cards, rows and sheets
  • color.bg.hover#504945#f2e5bcA control under the pointer or finger
  • color.bg.input#242424#f5ecc4Text fields
  • color.text.primary#ebdbb2#3c3836Body text and titles
  • color.text.secondary#d5c4a1#504945Supporting text
  • color.text.muted#c2b8aa#685e54Hints and meta lines
  • color.accent.base#fabd2f#a73e06Links, icons, focus rings
  • color.accent.light#fce566#934a0eThe accent a step lighter
  • color.accent.dark#d79921#af3a03The accent a step darker
  • color.accent.strong#fabd2f#a73e06Filled buttons
  • color.accent.on#0b0d10#ffffffText on the accent
  • color.accent.onStrong#0b0d10#ffffffText on a filled button
  • color.accent.glowrgba(250,189,47,0.35)rgba(167,62,6,0.35)Glows and halos
  • color.line.base#3c3836#d5c4a1Dividers and outlines
  • color.line.strong#504945#bdae93Outlines that must show
  • color.status.ok.base#b8bb26#98971aSuccess fills
  • color.status.ok.text#bec037#646411Success text on any surface
  • color.status.warn.base#fe8019#d79921Warning fills
  • color.status.warn.text#fea65e#7d5913Warning text on any surface
  • color.status.bad.base#fb4934#cc241dDanger fills
  • color.status.bad.text#fda49a#bc211bDanger text on any surface
  • color.status.info.base#83a598#458588Information fills
  • color.status.info.text#a8c0b7#36686aInformation text on any surface
  • color.status.live.base#ef4444#ef4444LIVE badges
  • color.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.

Change this theme in the studio The tokens API