Skip to content
AGG SYSTEM360
Docs

Customization

Paint the sportsbook in your brand colors with the skin you send in extra_data on game launch. The same skin works for the Sports Widget and the lobbies.

Preview

Pick a palette or change any color to see how the sportsbook looks with it. The preview paints each part with the same rules as the platform. The screens of each provider differ, but every color lands on the same kind of element.

stops[0]
stops[1]
stops[2]
stops[3]
accent
active
text
muted
border
ink
Your skin
{
  "extra_data": {
    "skin": {
      "stops": [
        "#07030a",
        "#16051e",
        "#31123f",
        "#4a2159"
      ],
      "accent": "#f5c20a",
      "active": "#ff6b3d",
      "text": "#ffffff",
      "muted": "#94a3b8",
      "border": "#603172",
      "ink": "#000000"
    }
  }
}

How it works

Send the colors in extra_data[skin] when you launch the sportsbook, next to the other extra_data values of the game launch. Colors are hexadecimal: #rgb or #rrggbb.

  • Digitain always applies the skin.
  • First applies it only on some accounts, depending on how the account is set up; on the others the sportsbook keeps its own colors. Ask your Content360 contact whether yours does.

Keys

Send only the keys you want to change: each key you leave out takes its default.

KeyWhat it colorsDefault
stopsBackgrounds, from darkest to lightest. At least 2; we recommend 4.#000000
#141414
#2e2e2e
#3d3d3d
accentYour brand color: main buttons, the value of each odd, the line under the active tab, counters and favorites.#ff8000
activeThe odd the player picked.The accent
textMain text.#ffffff
mutedSecondary text: times, leagues, labels and inactive tabs.#b0b0b0
borderLines between rows, sections and fields.#1f1f1f
inkDark reference color. The text over accent and active is ink or text, whichever reads better on that color.#000000

Where each color applies

stops is a scale: with 4 stops they sit at 0%, 22%, 62% and 100% of it, and any other count is spread evenly. Each part of the sportsbook takes the color of the scale at its own point:

PartPoint of the scale
Page background0% (the first stop)
Header and match rows22%
Odds34%
League headers36%
Bet slip50%
Active tab52%
Selection in the bet slip62%
Stake input78%

Example

The object you send inside extra_data:

"extra_data": {
  "skin": {
    "stops": ["#07030a", "#16051e", "#31123f", "#4a2159"],
    "accent": "#f5c20a",
    "active": "#ff6b3d",
    "text": "#ffffff",
    "muted": "#94a3b8",
    "border": "#603172"
  }
}

Since the game launch is a GET, each value travels in the query string with brackets, and # encoded as %23:

extra_data%5Bskin%5D%5Bstops%5D%5B0%5D=%2307030a&extra_data%5Bskin%5D%5Bstops%5D%5B1%5D=%2316051e&extra_data%5Bskin%5D%5Bstops%5D%5B2%5D=%2331123f&extra_data%5Bskin%5D%5Bstops%5D%5B3%5D=%234a2159&extra_data%5Bskin%5D%5Baccent%5D=%23f5c20a&extra_data%5Bskin%5D%5Bactive%5D=%23ff6b3d&extra_data%5Bskin%5D%5Btext%5D=%23ffffff&extra_data%5Bskin%5D%5Bmuted%5D=%2394a3b8&extra_data%5Bskin%5D%5Bborder%5D=%23603172

Sports Widget and lobbies

  • The Sports Widget takes the same object in its skin option.
  • The lobbies accept the same palette in extra_data[skin]: they use stops, accent, text, border and ink, and ignore active and muted.