Skip to content

Municipality Themes

Each tenant — municipalities, but also the province, national organisations and an insurer — has a colour theme defined in packages/frontend/public/tenants.json. The theme is applied in two places:

  • On the landing page, before sign-in: the board grid at / uses the default tenant ("default": "flevoland"), and a single-board tenant's page at /<id> uses that tenant's theme.
  • On the dashboards, after sign-in: the theme of the tenant named in the municipality JWT claim.

Configured themes

Utrecht

utrecht · Gemeente Utrecht · organisationType: municipality

Property Value
primary #C41E3A
primaryDark #9B1830
primaryLight #E85770
secondary #2C5F2D
accent #FF6B00

Amsterdam

amsterdam · Gemeente Amsterdam · organisationType: municipality

Property Value
primary #EC0000
primaryDark #B80000
primaryLight #FF4444
secondary #000000
accent #FFD700

Rotterdam

rotterdam · Gemeente Rotterdam · organisationType: municipality

Property Value
primary #00811F
primaryDark #006619
primaryLight #00A828
secondary #0F6CB6
accent #FFB81C

Den Haag

denhaag · Gemeente Den Haag · organisationType: municipality

Property Value
primary #007BC7
primaryDark #00599C
primaryLight #4DA6E0
secondary #E17000
accent #6EC4E8

Heusden

heusden · Gemeente Heusden · organisationType: municipality

Property Value
primary #00505c
primaryDark #003a43
primaryLight #009ee0
secondary #7ab929
accent #009ee0
background #eef1ee

Caribisch Nederland

bes · Caribisch Nederland · organisationType: municipality

Property Value
primary #012a87
primaryDark #011c5c
primaryLight #3a64c8
secondary #dc171d
accent #f9d90f
background #f6f3ea

Its logo is wide, 52 px high in the landing top bar. It is the first tenant with landing copy of its own (copy) and a section for residents (citizen), both described below. Its contact fields are empty strings: no contact details are confirmed yet, and each island has its own openbaar lichaam.

Flevoland

flevoland · Provincie Flevoland · organisationType: province

Property Value
primary #0046ad
primaryDark #003a8e
primaryLight #4A8FC0
secondary #e70077
accent #fec612

accent stays Flevoland IT's yellow in tenants.json, but nothing on screen uses it: the accent fill comes from the shared tokens, see Flevoland's palette.

Dienst Toeslagen

toeslagen · Dienst Toeslagen · organisationType: national

Property Value
primary #154273
primaryDark #0d2f52
primaryLight #4a7aad
secondary #6EC4E8
accent #FFB81C

Univé Verzekeringen

unive · Univé Verzekeringen · organisationType: commercial

Property Value
primary #E4007D
primaryDark #B3005F
primaryLight #FF4DAF
secondary #1A1A2E
accent #FF6B6B

UWV

uwv · UWV · organisationType: national

Property Value
primary #0067A5
primaryDark #004F7C
primaryLight #3D8DC4
secondary #E85612
accent #FFB81C

TenantConfig schema

The frontend reads tenants.json with these types (packages/frontend/src/services/tenant.ts):

type OrganisationType = 'municipality' | 'province' | 'national' | 'commercial';

interface TenantTheme {
  primary: string;       // Main brand colour — buttons, active nav
  primaryDark: string;   // Hover/focus states
  primaryLight: string;  // Backgrounds, borders
  secondary: string;     // Accent colour for secondary actions
  accent: string;        // Highlight colour
  background?: string;   // Landing-page background (--color-background)
}

interface TenantContact {
  phone: string;
  email: string;
  address: string;
  postalCode: string;
  city: string;
}

interface TenantLogo {
  src: string;               // e.g. "/tenants/heusden/logo.jpg"
  shape: 'wide' | 'square';  // 'wide' carries the name in the artwork; 'square' gets the name beside it
  height?: number;           // Height in the landing top bar, in px (default 44)
}

interface TenantConfig {
  id: string;                    // Must match JWT `municipality` claim
  name: string;                  // Internal identifier
  displayName: string;           // Shown in portal header (e.g. "Gemeente Utrecht")
  organisationType: OrganisationType;
  municipalityCode?: string;     // CBS municipality code (municipalities)
  organisationCode?: string;     // Code for the other organisation types
  theme: TenantTheme;
  contact: TenantContact;
  enabled: boolean;              // Set to false to disable without deleting
  leftPanelSections?: LeftPanelSections;  // Left-panel sections per dashboard page
  boards?: BoardId[];            // Boards on the landing page; missing means all of them
  logo?: TenantLogo;
  share?: { title: string; description: string };  // Link preview for the /<id> page
  copy?: TenantCopy;             // Landing copy overrides
  citizen?: TenantCitizenEntry;  // Section for residents on the landing page
}

// Merged over the organisation type's landing copy, the preview field by field
type TenantCopy = Partial<Omit<SingleBoardCopy, 'preview'>> & {
  preview?: Partial<SingleBoardCopy['preview']>;
};

interface TenantCitizenEntry {
  eyebrow: string;                               // e.g. "Voor inwoners"
  greetings?: { lang: string; text: string }[];  // After the eyebrow, each in its own language
  title: string;
  lede: string;
  islands?: { name: string; flag: string }[];    // Chips, each with a flag image
  services: { icon: 'doc' | 'pin' | 'clock'; title: string; body: string }[];
  cta: string;                                   // The DigiD button's label
  note: string;
}

A tenant with exactly one entry in boards gets its own landing page at /<id> (Amsterdam, Heusden, Caribisch Nederland at /bes, Dienst Toeslagen and Univé). share is written into that page's HTML at build time.

Both landing fields are optional; a tenant without them gets its organisation type's copy as it is. copy overrides any part of that copy — title, lede, points, and the board preview's figures and rows. citizen adds a section between the hero and the points (CitizenEntry.tsx), whose button signs a resident in with DigiD, with test-citizen-<id> as the login hint; every value in it is rendered as text. A tenant without citizen offers residents only the top-bar link.

tenants.json lists no citizen services: which services a citizen sees is decided by the CITIZEN_SERVICES registry in @ronl/shared and by what is deployed under each tenant. A guard test (citizenServices.test.ts) fails if a tenant carries a features key.


CSS custom properties

applyTenantTheme() sets these properties on document.documentElement:

--color-primary
--color-primary-dark
--color-primary-light
--color-secondary
--color-accent
--color-background   /* only when the theme sets background; removed otherwise */

It also sets data-tenant="<id>" on <html> (and removes it when there is no tenant), which the stylesheets use to switch a whole palette for one tenant.

Tailwind utility classes in the frontend use var(--color-primary) etc. as their colour values. This means the entire theme switches dynamically — no page reload, no per-municipality CSS bundle. The single-board landing page uses var(--color-background, #f6f8fb), so a tenant without a background keeps the default.


Flevoland's palette

Since v2026.11.0 the Flevoland tenant gets more than the five theme colours: Flevoland IT's own palette, through the shared design tokens. Under :root[data-tenant="flevoland"], packages/shared/styles/tokens.css points the --rba-* tokens at Flevoland IT's semantic tokens (packages/shared/styles/flevoland/tokens.css), and the Tailwind colour scales map each shade onto that palette by role. The result is navy text, Material greys, a #f8f8f8 page, Flevoland's status colours and brown warning text. Filled accents — rail cards, buttons, badges, chips, tab counts and live badges — are pink #e60078 with white text (4.53:1); pink also stays for accent text and lines. Yellow #fec612 with dark text remains for the warning fill. The accent fill is one of two values that do not come from Flevoland IT's semantic tokens, and stays so until the next step of the Flevoland look (#405).

Every other tenant keeps its theme colours on Tailwind's default scales and the tokens' defaults. Converting the hard-coded colours to tokens shifted a few pale status tints for them by at most ΔE2000 6.9 — each merged tint takes its group's darkest text or lightest background, so no merge lowered contrast. Two contrast issues remain for tenants with light accents (#412).

The sign-in path — the Keycloak login page and the Verbinding maken... screen — uses Flevoland's blues for every tenant, because Keycloak cannot tell tenants apart before sign-in. See Keycloak deployment.


Adding a theme

See Adding a Municipality for the complete onboarding process.