Skip to content

Admin theme preferences (mirror the frontend theme selector) #5724

Description

@e107help

Summary

Give the admin area its own theme selector and preferences, the way the frontend theme already works: an admin can pick which admin theme is active and configure its options, instead of the admin theme being effectively fixed. This builds on the custom-admin-theme unblock and pairs well with a CSS-variable-driven framework.

Split out of #5686 per @Jimmi08's scoping.

What this covers

  • An admin-facing UI to select the active admin theme from the installed themes that provide an admin face (the frontend already does this through the Theme Manager's "set as main" flow; the admin half currently only renders a button for allowlisted themes at e107_admin/theme.php L1160-1162).
  • Per-theme admin preferences/configuration, mirroring how frontend theme preferences are stored and applied.
  • @Jimmi08 notes this is especially natural with a CSS-variable-based framework (tabler.io, being Bootstrap 5 underneath, exposes its look entirely through CSS variables), so admin-theme appearance could be tuned from admin preferences without deep template edits.

Dependencies

  • Requires the custom-admin-theme unblock first (otherwise there is nothing to select).
  • Benefits from, but does not strictly require, the BS3->BS5 migration; the preference surface is framework-agnostic.

Acceptance

  • Admins can choose the active admin theme from a preferences/selector UI, like the frontend theme selector.
  • Admin theme preferences persist and apply.
  • The default admin theme is unchanged for sites that do not touch these settings.

Type: Feature. Triage Status: Backlog. Priority: Low. Split from #5686.

Metadata

Metadata

Assignees

No one assigned

    Fields

    Priority

    Low

    Triage Status

    Backlog

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions