Styling Applications
Define a convention file name for application custom theme so that it’s automatically loaded.
Blueprint information
- Status:
- Complete
- Approver:
- Zoltan Balogh
- Priority:
- Undefined
- Drafter:
- Zsombor Egri
- Direction:
- Needs approval
- Assignee:
- Zsombor Egri
- Definition:
- Superseded
- Series goal:
- Accepted for raring
- Implementation:
- Unknown
- Milestone target:
- ubuntu-13.04-month-6
- Started by
- Completed by
- Zoltan Balogh
Related branches
Related bugs
Bug #1152160: [Theming] define a convention file name for application custom theme so that it’s automatically loaded | Fix Released |
Sprints
Whiteboard
Deprecate manual theme loading.
Refactor Theme type API to be more QML compliant:
- introduce warnings instead of errors
- introduce status code (Ready, Loading, Fail, Warning)
- manual theme loading through property
Provide automatic theme file identification for applications:
- application theme identified from the application ID - desktop file
- first lookup after theme file should be under ~/.config/
- second lookup after theme file under ~/.local/
- third lookup after theme file under /usr/share/
- if not found, fall back to the system theme
Work Items
Work items:
Implement theme lookup for system themes: TODO
Implement theme lookup for application theme files: TODO
Refactor Theme API: TODO