• Home
  • Getting started
  • Foundation
    • Accessibility
    • Color
    • Design principles
    • Typography
    • Iconography
    • Pictograms
    • Motion
  • Components
  • Patterns
  • Writing (SE)
  • Brands
Legacy
  • Components

Search the design system

Foundation

Color

To be able to offer a world-class gaming experience and tackle the pleasant challenge of Svenska Spel having 20+ different products and brands that are incredibly strong in their own right, we have developed a robust, systematic color system.

The system is built on primitives, variables and themes that are mapped to and from all UI components. By offering hierarchical theming with Svenska Spel at the base, Svenska Spel can be present even deep within a heavily themed and colorful product.

Architecture of the color system

A cohesive system – from palette to component. Each product's color palette is connected to a shared logic via color mapping and semantic tokens. This makes the system scalable, consistent and flexible – every component always knows which color to use, and why.

Architecture diagram of the color system showing the connection from color palette to components via color mapping and semantic tokens

Themes

Each theme comes in 4 variants – Light, Light-secondary, Vibrant and Dark. They are built on the same architecture, but with different color palettes and contrast levels to suit different use cases and preferences.

Below are some examples of how it can look when we build up an interface structure using surface layers in the system. The surface layers are like layers that create depth and contrast, and help guide the user through the interface. Content and components are then added on top, where each part has a clear role in the structure. The shared foundation keeps the design cohesive – whether the theme is light, dark or vibrant.

Surfaces and layers

In this example, the interface has been built up using only Surfaces – i.e. surface layers in the system. Base, Standard and various layers that create depth and contrast.

  • Contrast layer – Placed on top of Base or Standard to enhance focus and guide the user.
  • Neutral layer – Has adaptive transparency (alpha/opacity) and adapts to the underlying surface.

Light

Light theme showing surface layers including Base, Standard, Contrast and Neutral layers

Light-secondary

Light-secondary theme showing surface layers including Base, Standard, Contrast and Neutral layers

Vibrant

Vibrant theme showing surface layers including Base, Standard, Contrast and Neutral layers

Dark

Dark theme showing surface layers including Base, Standard, Contrast and Neutral layers

Content

This is how it looks when we start adding content to our surfaces – and how it translates between different themes.

  • The structure is built on containers with content, where each part has a clear role.
  • The shared foundation keeps the design cohesive – whether the theme is light, dark or vibrant.

Light

Light theme showing interface with content and components placed on top of surface layers

Light-secondary

Light-secondary theme showing interface with content and components placed on top of surface layers

Vibrant

Vibrant theme showing interface with content and components placed on top of surface layers

Dark

Dark theme showing interface with content and components placed on top of surface layers

Combined themes

Here we see how Light and Vibrant themes can work together.

  • By combining them, we create contrast, dynamics and guidance — a visual language that engages and helps the user.
  • Each product team gets support in how, when and where vibrant should be used. It is entirely optional, but can elevate the experience where it fits.
Example 1 of combined Light and Vibrant themes showing contrast and visual hierarchy in an interface
Example 2 of combined Light and Vibrant themes showing contrast and visual hierarchy in an interface
Example 3 of combined Light and Vibrant themes showing contrast and visual hierarchy in an interface
Example 4 of combined Light and Vibrant themes showing contrast and visual hierarchy in an interface

Variables and tokens

The system is built on variables and tokens that connect the color palette with components and patterns. This makes it easy to maintain a consistent design, while providing the flexibility to customize and evolve the design over time. By using semantic names and a clear structure, it becomes easier to understand and use the system – for both designers and developers.

Variables in action

We use variables and color tokens to create structure, contrast and clarity. Here you can see how each color has a clear function — and how to choose the right one based on context. Now we look at how the names break down into a logical and simple structure.

Color variables and tokens overview showing semantic names, their functions and how they map from palette to components

Depth and layers

The surface layers in the system are like layers that create depth and contrast, and help guide the user through the interface.

Let us look at the layers in the interface from a new perspective to better understand how a UI is structured and the logic behind it.

Interface layer depth visualization showing how surface layers stack to create depth and contrast
Interface layer depth visualization showing surface layer structure from a component perspective

States

We also have different states where each color points to the primitives of the respective product.

We have developed an adjustment model for states that adapts to themes. Each state – hover, pressed, selected – adjusts the color with a plus or minus value depending on the color mode (light, dark, vibrant). This creates a consistent visual rhythm and optimal contrast, regardless of theme.

Color state adjustment model showing how hover, pressed and selected states adapt across light, dark and vibrant themes

Figma

All primitives, variables and tokens in Figma are fetched from code which then generates a Tailwind-friendly .css file for each product with its 4 themes.

The structure in Figma makes it easy to manage variables, components and styles. By organizing them in clear groups and libraries, we create faster workflows, better reuse and a consistent visual identity. It saves time and simplifies collaboration within the team.

Figma file structure showing the organization of primitives, variables, tokens and component libraries
FoundationColor / Introduction
FoundationColor / Code

© DesignTech - AB Svenska Spel

What's newTerms of useAccessibility statementCookiesTeams channel [Internal]
@svs/ui version
2.0.5-dev.2

Feedback

We always want to improve the Design System and would be thrilled to get your feedback.

Please share your wisdom with us.

Microsoft Teams [internal]

Designsystem@svenskaspel.se