[MGNLUI-880] App Theme does not inject stylesheet Created: 14/Mar/13  Updated: 18/Mar/13  Resolved: 15/Mar/13

Status: Closed
Project: Magnolia UI
Component/s: None
Affects Version/s: 5.0
Fix Version/s: 5.0

Type: Bug Priority: Neutral
Reporter: Mikaël Geljić Assignee: Mikaël Geljić
Resolution: Fixed Votes: 0
Labels: theme
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled

 Description   

Apps annotated with @AppTheme get their style name set on app startup, but the corresponding theme stylesheet is not injected.



 Comments   
Comment by Mikaël Geljić [ 14/Mar/13 ]

app vaadin component is not attached to component tree at time of application startup, so we must do actual CSS injection in an AttachListener.

Generated at Mon Feb 12 08:41:13 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.