08-18-2012 08:19 PM
In the first release of Cascades everything was in a Dark Theme. With this latest update most things have been changed to a Light Theme. Two questions on this:
- Will there only be a single theme for all Cascades apps (Dark is being phased out?) or will we be able to decide whether our app uses Dark or Light theme?
- If there will be both, how do we set which theme our app uses? Apologies if I overlooked this in the documentation.
I ask because the app I am creating has a main screen that is a black background, and I would like to pop a Sheet up for a small task, but the Light theme causing a crappy experience with popping a sheet over a black background. Thanks for your help!
Solved! Go to Solution.
08-19-2012 08:58 AM
I think two themes will be good!
08-20-2012 11:53 AM
08-21-2012 12:26 AM
Thanks for the link amarcon - my mistake for not finding that when I did a search on the topic.
Looks like the best bet for my app is to design it in Light Theme now, and wait for the ability to swith themes in a future Cascades update.
08-23-2012 04:42 AM
https://developer.blackberry.com/cascades/download
Roadmap of BB10 development, I think it is the fifth item says that they are bringing the dark theme back and you can specify the theme you would like to use in the bar-file. Hope that helps!
09-25-2012 03:46 PM
OK, so now we have Beta 3 with official support of Light and Dark theme. But so far I see no documentation or tutorial on how to use it. Application class does not have any setters for that.
In general I would expect some metadata in bar-descriptor.xml as IDE shold reflect theme design for app preview as well.
Any ideas?
09-28-2012 12:25 AM
09-28-2012 12:56 AM
I found it! ;-) (in the weatherguesser sample which was updated to Beta 3 code - actually appears all samples were updated to beta 3 and there is some new ones now)
To change the theme add
<cascadesTheme>dark</cascadesTheme>
to the bar-descriptor.xml file in your project.
09-28-2012 12:57 AM
Honestly personally I prefer the light theme, I guess it depends on the application.
09-28-2012 01:48 AM