Mercurial > libervia-desktop-kivy
changeset 174:620f69e4e378
core: set primary and secondary colors
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 30 Apr 2018 07:56:28 +0200 |
parents | 5cf17930bb09 |
children | d65a51fa00b9 |
files | cagou/core/cagou_main.py |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/cagou/core/cagou_main.py Mon Apr 30 07:54:47 2018 +0200 +++ b/cagou/core/cagou_main.py Mon Apr 30 07:56:28 2018 +0200 @@ -227,6 +227,12 @@ class CagouApp(App): """Kivy App for Cagou""" + c_prim = properties.ListProperty([0.98,0.98,0.98,1]) + c_prim_light = properties.ListProperty([1, 1, 1, 1]) + c_prim_dark = properties.ListProperty([0.78,0.78,0.78,1]) + c_sec = properties.ListProperty([0.27,0.54,1.0,1]) + c_sec_light = properties.ListProperty([0.51,0.73,1.0,1]) + c_sec_dark = properties.ListProperty([0.0,0.37,0.8,1]) def _install_settings_keys(self, window): # we don't want default Kivy's behaviour of displaying