Files
Santhosh Janardhanan f50a828535
Some checks failed
ci / site (push) Has been cancelled
publish-image / publish (push) Has been cancelled
Now I remember the theme
2026-02-10 20:38:38 -05:00

729 B

ADDED Requirements

Requirement: Theme switch event taxonomy

The tracking taxonomy MUST define an event for theme switching.

The event name MUST be theme_switch.

The theme_switch event MUST include, at minimum:

  • target_id
  • placement
  • theme

The event SHOULD include prev_theme when available.

The taxonomy MUST define the target_id namespace for theme switching as:

  • theme.switch.<theme>

The taxonomy MUST define the placement value for the theme switcher notch as:

  • theme_notch

Scenario: Theme switch target_id is deterministic

  • WHEN a user selects light theme using the theme notch
  • THEN the event is emitted with target_id=theme.switch.light and placement=theme_notch