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-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org] 
on behalf of Lucien XU [sfietkonstan...@free.fr]
Sent: Sunday, June 02, 2013 12:39 PM
To: devel@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 ?

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

Reply via email to