Files

658 B

ADDED Requirements

Requirement: System theme is default when no preference exists

The system SHALL default to system theme behavior if no persisted theme preference is found.

Scenario: No saved preference on first visit

  • WHEN a user visits the site with no stored theme value
  • THEN the UI resolves theme from system color-scheme preference
  • AND switcher indicates system mode as active

Scenario: Persisted preference overrides system default

  • WHEN a user has an existing stored theme preference
  • THEN stored preference is applied instead of system mode
  • AND user-selected theme remains stable across reloads