comparison cagou/core/cagou_main.py @ 176:2cfef8fbfd4e

core: moved main colors to constants
author Goffi <goffi@goffi.org>
date Tue, 01 May 2018 16:54:42 +0200
parents 620f69e4e378
children c63922860f80
comparison
equal deleted inserted replaced
175:d65a51fa00b9 176:2cfef8fbfd4e
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]) 230 c_prim = properties.ListProperty(C.COLOR_PRIM)
231 c_prim_light = properties.ListProperty([1, 1, 1, 1]) 231 c_prim_light = properties.ListProperty(C.COLOR_PRIM_LIGHT)
232 c_prim_dark = properties.ListProperty([0.78,0.78,0.78,1]) 232 c_prim_dark = properties.ListProperty(C.COLOR_PRIM_DARK)
233 c_sec = properties.ListProperty([0.27,0.54,1.0,1]) 233 c_sec = properties.ListProperty(C.COLOR_SEC)
234 c_sec_light = properties.ListProperty([0.51,0.73,1.0,1]) 234 c_sec_light = properties.ListProperty(C.COLOR_SEC_LIGHT)
235 c_sec_dark = properties.ListProperty([0.0,0.37,0.8,1]) 235 c_sec_dark = properties.ListProperty(C.COLOR_SEC_DARK)
236 236
237 def _install_settings_keys(self, window): 237 def _install_settings_keys(self, window):
238 # we don't want default Kivy's behaviour of displaying 238 # we don't want default Kivy's behaviour of displaying
239 # a settings screen when pressing F1 or platform specific key 239 # a settings screen when pressing F1 or platform specific key
240 return 240 return