Skip to content

Theming & White-Label

Customize the Velo game to match your casino's brand identity. Every visual element is controlled by CSS design tokens.

Theme Configuration

Set your theme via the operator API:

json
POST /api/v1/operator/theme

{
  "colors": {
    "bg_primary": "#06060c",
    "bg_secondary": "#0d0d16",
    "bg_card": "#111120",
    "accent": "#7c3aed",
    "up": "#22ff88",
    "down": "#ff3355",
    "text_primary": "#f0f0f5",
    "text_secondary": "#8888a0"
  },
  "typography": {
    "font_family": "Inter, system-ui, sans-serif",
    "font_mono": "JetBrains Mono, monospace"
  },
  "branding": {
    "logo_url": "https://your-casino.com/logo.svg",
    "favicon_url": "https://your-casino.com/favicon.ico"
  },
  "layout": {
    "border_radius": "12px",
    "chart_height": "400px"
  }
}

Available Tokens

Colors

TokenDefaultDescription
bg_primary#06060cPage background
bg_secondary#0d0d16Section backgrounds
bg_card#111120Card and panel backgrounds
accent#7c3aedPrimary brand color (CTAs, highlights)
up#22ff88"UP" direction color
down#ff3355"DOWN" direction color
text_primary#f0f0f5Main text color
text_secondary#8888a0Secondary/muted text
borderrgba(255,255,255,0.06)Border color

Typography

TokenDefaultDescription
font_familyInterPrimary font
font_monoJetBrains MonoMonospace font (prices, odds)

Layout

TokenDefaultDescription
border_radius12pxGlobal border radius
chart_height400pxChart area height
layout_variantdefaultdefault, compact, fullscreen

Layout Variants

Default

Standard layout with sidebar betting panel. Best for desktop.

Compact

Betting controls overlay on the chart. Best for embedded widgets.

Fullscreen

Chart takes the full viewport. Mobile-optimized.

json
{
  "layout": {
    "layout_variant": "compact"
  }
}

CSS Override (Advanced)

For complete control, inject custom CSS:

json
{
  "custom_css_url": "https://your-casino.com/velo-overrides.css"
}

WARNING

Custom CSS is loaded after the default theme. Use specific selectors to avoid breaking core functionality. We validate custom CSS for security before applying.

Preview

Set mode=theme_preview to test your theme without affecting production:

https://game.velo.games/play?operator_id=YOUR_ID&mode=theme_preview

B2B Integration Documentation