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 midnightpumpkin.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": "Halloween: pumpkin orange on OpenVibe's midnight navy. On by itself through October (Hayride in light).",
    "$extensions": {
      "network.openvibe": {
        "name": "Midnight Pumpkin",
        "slug": "halloween",
        "mode": "dark",
        "tokensVersion": 1
      }
    },
    "color": {
      "bg": {
        "base": {
          "$type": "color",
          "$value": "#0a0f1c",
          "$description": "The page behind everything"
        },
        "surface": {
          "$type": "color",
          "$value": "#0f1626",
          "$description": "Bands and side panels"
        },
        "subtle": {
          "$type": "color",
          "$value": "#151e33",
          "$description": "Wells, tracks and quiet fills"
        },
        "raised": {
          "$type": "color",
          "$value": "#111a2b",
          "$description": "Cards, rows and sheets"
        },
        "hover": {
          "$type": "color",
          "$value": "#1a2540",
          "$description": "A control under the pointer or finger"
        },
        "input": {
          "$type": "color",
          "$value": "#0c1322",
          "$description": "Text fields"
        }
      },
      "text": {
        "primary": {
          "$type": "color",
          "$value": "#eef1f6",
          "$description": "Body text and titles"
        },
        "secondary": {
          "$type": "color",
          "$value": "#a9b4c8",
          "$description": "Supporting text"
        },
        "muted": {
          "$type": "color",
          "$value": "#8c99b0",
          "$description": "Hints and meta lines"
        }
      },
      "accent": {
        "base": {
          "$type": "color",
          "$value": "#ff7a1a",
          "$description": "Links, icons, focus rings"
        },
        "light": {
          "$type": "color",
          "$value": "#ffa14f",
          "$description": "The accent a step lighter"
        },
        "dark": {
          "$type": "color",
          "$value": "#d65d00",
          "$description": "The accent a step darker"
        },
        "strong": {
          "$type": "color",
          "$value": "#ff7a1a",
          "$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(255,122,26,0.35)",
          "$description": "Glows and halos"
        }
      },
      "line": {
        "base": {
          "$type": "color",
          "$value": "#1c2840",
          "$description": "Dividers and outlines"
        },
        "strong": {
          "$type": "color",
          "$value": "#2a3858",
          "$description": "Outlines that must show"
        }
      },
      "status": {
        "ok": {
          "base": {
            "$type": "color",
            "$value": "#4ade80",
            "$description": "Success fills"
          },
          "text": {
            "$type": "color",
            "$value": "#4ade80",
            "$description": "Success text on any surface"
          }
        },
        "warn": {
          "base": {
            "$type": "color",
            "$value": "#fbbf24",
            "$description": "Warning fills"
          },
          "text": {
            "$type": "color",
            "$value": "#fbbf24",
            "$description": "Warning text on any surface"
          }
        },
        "bad": {
          "base": {
            "$type": "color",
            "$value": "#f87171",
            "$description": "Danger fills"
          },
          "text": {
            "$type": "color",
            "$value": "#f87171",
            "$description": "Danger text on any surface"
          }
        },
        "info": {
          "base": {
            "$type": "color",
            "$value": "#60a5fa",
            "$description": "Information fills"
          },
          "text": {
            "$type": "color",
            "$value": "#60a5fa",
            "$description": "Information text on any surface"
          }
        },
        "live": {
          "base": {
            "$type": "color",
            "$value": "#ef4444",
            "$description": "LIVE badges"
          },
          "text": {
            "$type": "color",
            "$value": "#f15757",
            "$description": "LIVE text on any surface"
          }
        }
      }
    },
    "shadow": {
      "base": {
        "$type": "shadow",
        "$value": {
          "color": "rgba(0,4,14,0.5)",
          "offsetX": "0px",
          "offsetY": "2px",
          "blur": "12px",
          "spread": "0px"
        },
        "$description": "Cards and menus"
      },
      "large": {
        "$type": "shadow",
        "$value": {
          "color": "rgba(0,4,14,0.65)",
          "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
          ]
        }
      }
    }
  },
  "light": {
    "$description": "Halloween in daylight: pumpkin orange on warm hay. Midnight Pumpkin's light half.",
    "$extensions": {
      "network.openvibe": {
        "name": "Hayride",
        "slug": "hayride",
        "mode": "light",
        "tokensVersion": 1
      }
    },
    "color": {
      "bg": {
        "base": {
          "$type": "color",
          "$value": "#fbf6ee",
          "$description": "The page behind everything"
        },
        "surface": {
          "$type": "color",
          "$value": "#f6eee2",
          "$description": "Bands and side panels"
        },
        "subtle": {
          "$type": "color",
          "$value": "#efe3d1",
          "$description": "Wells, tracks and quiet fills"
        },
        "raised": {
          "$type": "color",
          "$value": "#ffffff",
          "$description": "Cards, rows and sheets"
        },
        "hover": {
          "$type": "color",
          "$value": "#f3e9da",
          "$description": "A control under the pointer or finger"
        },
        "input": {
          "$type": "color",
          "$value": "#fffaf2",
          "$description": "Text fields"
        }
      },
      "text": {
        "primary": {
          "$type": "color",
          "$value": "#23180f",
          "$description": "Body text and titles"
        },
        "secondary": {
          "$type": "color",
          "$value": "#5a4838",
          "$description": "Supporting text"
        },
        "muted": {
          "$type": "color",
          "$value": "#6b5a4a",
          "$description": "Hints and meta lines"
        }
      },
      "accent": {
        "base": {
          "$type": "color",
          "$value": "#b63d0b",
          "$description": "Links, icons, focus rings"
        },
        "light": {
          "$type": "color",
          "$value": "#ad4109",
          "$description": "The accent a step lighter"
        },
        "dark": {
          "$type": "color",
          "$value": "#9a3412",
          "$description": "The accent a step darker"
        },
        "strong": {
          "$type": "color",
          "$value": "#b63d0b",
          "$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(182,61,11,0.35)",
          "$description": "Glows and halos"
        }
      },
      "line": {
        "base": {
          "$type": "color",
          "$value": "#eadfcd",
          "$description": "Dividers and outlines"
        },
        "strong": {
          "$type": "color",
          "$value": "#e0cfb6",
          "$description": "Outlines that must show"
        }
      },
      "status": {
        "ok": {
          "base": {
            "$type": "color",
            "$value": "#22c55e",
            "$description": "Success fills"
          },
          "text": {
            "$type": "color",
            "$value": "#147638",
            "$description": "Success text on any surface"
          }
        },
        "warn": {
          "base": {
            "$type": "color",
            "$value": "#f59e0b",
            "$description": "Warning fills"
          },
          "text": {
            "$type": "color",
            "$value": "#8e5c06",
            "$description": "Warning text on any surface"
          }
        },
        "bad": {
          "base": {
            "$type": "color",
            "$value": "#ef4444",
            "$description": "Danger fills"
          },
          "text": {
            "$type": "color",
            "$value": "#ba3535",
            "$description": "Danger text on any surface"
          }
        },
        "info": {
          "base": {
            "$type": "color",
            "$value": "#38bdf8",
            "$description": "Information fills"
          },
          "text": {
            "$type": "color",
            "$value": "#1f6a8b",
            "$description": "Information text on any surface"
          }
        },
        "live": {
          "base": {
            "$type": "color",
            "$value": "#ef4444",
            "$description": "LIVE badges"
          },
          "text": {
            "$type": "color",
            "$value": "#ba3535",
            "$description": "LIVE text on any surface"
          }
        }
      }
    },
    "shadow": {
      "base": {
        "$type": "shadow",
        "$value": {
          "color": "rgba(40,24,8,0.07)",
          "offsetX": "0px",
          "offsetY": "2px",
          "blur": "12px",
          "spread": "0px"
        },
        "$description": "Cards and menus"
      },
      "large": {
        "$type": "shadow",
        "$value": {
          "color": "rgba(40,24,8,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#0a0f1c#fbf6eeThe page behind everything
  • color.bg.surface#0f1626#f6eee2Bands and side panels
  • color.bg.subtle#151e33#efe3d1Wells, tracks and quiet fills
  • color.bg.raised#111a2b#ffffffCards, rows and sheets
  • color.bg.hover#1a2540#f3e9daA control under the pointer or finger
  • color.bg.input#0c1322#fffaf2Text fields
  • color.text.primary#eef1f6#23180fBody text and titles
  • color.text.secondary#a9b4c8#5a4838Supporting text
  • color.text.muted#8c99b0#6b5a4aHints and meta lines
  • color.accent.base#ff7a1a#b63d0bLinks, icons, focus rings
  • color.accent.light#ffa14f#ad4109The accent a step lighter
  • color.accent.dark#d65d00#9a3412The accent a step darker
  • color.accent.strong#ff7a1a#b63d0bFilled buttons
  • color.accent.on#0b0d10#ffffffText on the accent
  • color.accent.onStrong#0b0d10#ffffffText on a filled button
  • color.accent.glowrgba(255,122,26,0.35)rgba(182,61,11,0.35)Glows and halos
  • color.line.base#1c2840#eadfcdDividers and outlines
  • color.line.strong#2a3858#e0cfb6Outlines that must show
  • color.status.ok.base#4ade80#22c55eSuccess fills
  • color.status.ok.text#4ade80#147638Success text on any surface
  • color.status.warn.base#fbbf24#f59e0bWarning fills
  • color.status.warn.text#fbbf24#8e5c06Warning text on any surface
  • color.status.bad.base#f87171#ef4444Danger fills
  • color.status.bad.text#f87171#ba3535Danger text on any surface
  • color.status.info.base#60a5fa#38bdf8Information fills
  • color.status.info.text#60a5fa#1f6a8bInformation text on any surface
  • color.status.live.base#ef4444#ef4444LIVE badges
  • color.status.live.text#f15757#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