Theming

Set CSS variables on the widget container (or a parent). All blocks share them.

AttributeRequiredDescription
--sx-accentAccent: selected controls, live state.
--sx-accent-textText on the accent color.
--sx-backgroundBackground.
--sx-textPrimary text.
--sx-mutedSecondary background: competition headers, stripes.
--sx-secondary-textSecondary text.
--sx-borderBorders.
--sx-font-familyFont family.
--sx-radiusCorner radius.
#livescore {
  --sx-accent: #285dc1;
  --sx-font-family: Georgia, serif;
  --sx-radius: 4px;
}
#livescore .sx-league-header { border-left: 3px solid var(--sx-accent); }

Finer overrides can target .sx-widget, .sx-match-widget, .sx-match-row, .sx-team-name, .sx-score, .sx-league-header and the [data-block] and [data-status] attributes. Widgets adapt to their container's width, not the screen: a narrow column gets the mobile layout.

Language
Style
Accent
Width

Preview