# HG changeset patch # User Goffi # Date 1582392527 -3600 # Node ID 2a58f3d756ad67609899b15e3f891619f77df8c2 # Parent 2caea63ae2ab1382f817170741ce664e18903089 common: use light secondary colour instead of red for notification labels' background diff -r 2caea63ae2ab -r 2a58f3d756ad cagou/kv/common.kv --- a/cagou/kv/common.kv Wed Feb 19 09:49:21 2020 +0100 +++ b/cagou/kv/common.kv Sat Feb 22 18:28:47 2020 +0100 @@ -16,7 +16,7 @@ : - background_color: 1, 0, 0, 1 + background_color: app.c_sec_light size_hint: None, None text_size: None, root.height padding_x: sp(5) @@ -24,7 +24,9 @@ bold: True canvas.before: Color: - rgba: root.background_color + # self.background_color doesn't seem initialized correctly on startup + # (maybe a Kivy bug? to be checked), thus we use the "or" below + rgb: self.background_color or app.c_sec_light Ellipse: size: self.size pos: self.pos