[SailfishDevel] change Silica theme details
Wim de Vries
wsvries at xs4all.nl
Mon Jun 3 09:36:25 UTC 2013
Thanks all for the replies.
First, I sure like the swiping functionality of Silica, especially the
pull down/push up menus, page indicator, etc..
Still, my app is used in a cockpit. Many (light) aircrafts and gliders
do have full "glass" canopies (like an F16).
This is an extremely bright light environment, so I need contrasting colors.
In the current app (ubuntu), buttons are light green (00FF00) with black
text, strong warnings FF0000, and soft warnings orange.
Current problem:
I did push some of my own buttons in the Silica menu items, but
- I need more (light/color) contrast in the highlight section of each
menu item (when it is selected);
- I am not sure if it allowed (non Silica stuff in Silica elements).
Also, the page indicators (left top: indicating that you are in n-th of
x pages are to 'soft' for my app.
Thanks.
r
wim
On 06/02/2013 11:57 AM, Jonni Rainisto wrote:
> You can ofcourse alse use javascript and read current theme colors in there and slice them in r g b values, and make your custom var's with changed values. But the question is that can you give an example of where the default theme colors are not readable enough, and what kind of ambient theme are you using?
>
> re, jonni
>
> ________________________________________
> From: devel-bounces at lists.sailfishos.org [devel-bounces at lists.sailfishos.org] on behalf of Lucien XU [sfietkonstantin at free.fr]
> Sent: Sunday, June 02, 2013 12:39 PM
> To: devel at lists.sailfishos.org
> Subject: Re: [SailfishDevel] change Silica theme details
>
> Hello,
>
> You are not forced to use Silica to develop your application. You can, for
> example, use your custom components (based on QtQuick default components, like
> Rectangle or Text), to draw some of the UI.
>
> For example, you can draw a white background by doing
>
> Page {
> Rectangle {
> anchors.fill: parent
> color: "white"
> }
> }
>
> (Note that I did not tried that code, but it should work)
> And add some other components, like Text, or other Rectangles on top of it.
>
> Of cause, it won't integrate with Sailfish, but that's not a problem, since
> you are not focusing on that, do you ?
True.
>
> Le vendredi 31 mai 2013 17:12:25 Wim de Vries a écrit :
>> Hi,
>> My app will work in very (sun)light circumstances, so I need more
>> contrast between colours.
>> Is there a way to change (parts of the) the Silica theme?
>> Thanks.
> _______________________________________________
> SailfishOS.org Devel mailing list
> _______________________________________________
> SailfishOS.org Devel mailing list
>
More information about the Devel
mailing list