[ADMINCTR-365] Add theme support for admin central Created: 01/Oct/21  Updated: 29/Aug/23

Status: Open
Project: Admincentral
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Neutral
Reporter: Jonathan Ayala Assignee: Unassigned
Resolution: Unresolved Votes: 4
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
causality
relation
Template:
Acceptance criteria:
Empty
Date of First Response:
Epic Link: Theme support for AdminCentral
Team: AuthorX

 Description   

Currently admin central theme is hardcoded in info.magnolia.admincentral.ResurfaceUI: resurface-admincentral

// TODO restore pluggability via magnolia.properties OR resolve on webapp level
// Don't remove the theme quite yet; keep the old value in magnolia.properties until we unbundle the old admincentral
@Theme("resurface-admincentral")
@JavaScript({ "jquery-3.6.0.min.js", "jquery-migrate-3.3.2.min.js" })
@Push(transport = Transport.LONG_POLLING, value = PushMode.MANUAL)
public class ResurfaceUI extends UI {
...

Some users have requested a mechanism to change the theme as a project requirement.

Temporary workaround would be replacing WEB-INF/classes/VAADIN/themes/resurface-admincentral/styles.css with custom styles


Generated at Sun Feb 11 23:06:27 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.