TFL Partners TFL Partners Developers
Theming demo

Dark mode

Every drop-in is light by default. data-theme="dark" on the element — or theme once in window.ticketOptions — switches it; prefers-color-scheme follows the visitor's setting. The Light / Dark / System switch in the header (it's on every example page) just rewrites the attribute on the live widgets: the theme is pure CSS, so nothing reloads.

3
theme values
0
lines of JS needed
<script src="https://w.tixcdn.io/loader.js"></script>
01

Events

The standard listing with its filter bar, date picker and calendar toggle — all on the dark palette.

data-theme="dark"data-show-calendar
embed
<div data-widget="events" data-city="Chicago, IL, US"
     data-show-calendar data-theme="dark"></div>
04

Nearby performers

Performer cards for the visitor's location, with the change-location sheet themed too.

data-lookup="performers"
embed
<div data-widget="nearby" data-lookup="performers" data-max="8" data-theme="dark"></div>
05

Pro sports nearby

Local teams across every league, each with its next games as pills.

data-category="sports"
embed
<div data-widget="pro-sports-nearby" data-category="sports"
     data-max="4" data-title="Your teams" data-theme="dark"></div>
06

Sports calendar

The month grid with team-colored game cards on the dark surface.

data-category="sports"
embed
<div data-widget="sports-calendar" data-category="sports"
     data-title="Games near you" data-theme="dark"></div>