Skip to main content

Resetting preferences

The settings modal includes a reset button in its header. It restores every customization — primary color, font family, font size, layout, and mode (if enabled) — to the values defined in config/ui-switcher.php under defaults.

Programmatic access

Read or write preferences directly, outside the settings modal:
If you’re using database storage with the HasUiPreferences trait, the same operations are available on the user model: