Styling Applications

Registered by Zsombor Egri on 2013-03-26

This blueprint has been superseded. See the newer blueprint "SDK: Theme Engine Improvements" for updated plans.

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:
milestone icon ubuntu-13.04-month-6
Completed by
Zoltan Balogh on 2013-04-18

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/<application>
- second lookup after theme file under ~/.local/share/themes/<current-theme>/qmltheme
- third lookup after theme file under /usr/share/themes/<current-theme>.qmltheme
- 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

This blueprint contains Public information 
Everyone can see this information.