comparison cagou/core/cagou_main.py @ 174:620f69e4e378

core: set primary and secondary colors
author Goffi <goffi@goffi.org>
date Mon, 30 Apr 2018 07:56:28 +0200
parents 7103655647aa
children 2cfef8fbfd4e
comparison
equal deleted inserted replaced
173:5cf17930bb09 174:620f69e4e378
225 self.head_widget.addNotifUI(ui) 225 self.head_widget.addNotifUI(ui)
226 226
227 227
228 class CagouApp(App): 228 class CagouApp(App):
229 """Kivy App for Cagou""" 229 """Kivy App for Cagou"""
230 c_prim = properties.ListProperty([0.98,0.98,0.98,1])
231 c_prim_light = properties.ListProperty([1, 1, 1, 1])
232 c_prim_dark = properties.ListProperty([0.78,0.78,0.78,1])
233 c_sec = properties.ListProperty([0.27,0.54,1.0,1])
234 c_sec_light = properties.ListProperty([0.51,0.73,1.0,1])
235 c_sec_dark = properties.ListProperty([0.0,0.37,0.8,1])
230 236
231 def _install_settings_keys(self, window): 237 def _install_settings_keys(self, window):
232 # we don't want default Kivy's behaviour of displaying 238 # we don't want default Kivy's behaviour of displaying
233 # a settings screen when pressing F1 or platform specific key 239 # a settings screen when pressing F1 or platform specific key
234 return 240 return