Set Theme

Command to change the user's theme preference to Light, Dark, or System.

Command

Description

This command updates the user’s theme preference. Changes are applied instantly without page reload.

Validation Rules

  • Preferences must exist for this user
  • Theme must be one of: Light, Dark, System

Emits

  • UserPreferencesThemeSet on success