Mercurial > libervia-desktop-kivy
comparison cagou/core/constants.py @ 247:cf61a011f731
core (notes), common (symbol): added an icon showing note level:
because of Symbol binding, it was difficult to precisely set the icon position, so Symbol has been modified to remove bindings.
Added consts for INFO, WARNING and ERROR colors.
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 26 Jan 2019 20:24:48 +0100 |
parents | d11df7793399 |
children | 7d5297984191 |
comparison
equal
deleted
inserted
replaced
246:15e47bbb192c | 247:cf61a011f731 |
---|---|
32 PLUG_TYPE_TRANSFER = u'transfer' | 32 PLUG_TYPE_TRANSFER = u'transfer' |
33 | 33 |
34 TRANSFER_UPLOAD = u"upload" | 34 TRANSFER_UPLOAD = u"upload" |
35 TRANSFER_SEND = u"send" | 35 TRANSFER_SEND = u"send" |
36 | 36 |
37 COLOR_PRIM = [0.98, 0.98, 0.98, 1] | 37 COLOR_PRIM = (0.98, 0.98, 0.98, 1) |
38 COLOR_PRIM_LIGHT = [1, 1, 1, 1] | 38 COLOR_PRIM_LIGHT = (1, 1, 1, 1) |
39 COLOR_PRIM_DARK = [0.78, 0.78, 0.78, 1] | 39 COLOR_PRIM_DARK = (0.78, 0.78, 0.78, 1) |
40 COLOR_SEC = [0.27, 0.54, 1.0, 1] | 40 COLOR_SEC = (0.27, 0.54, 1.0, 1) |
41 COLOR_SEC_LIGHT = [0.51, 0.73, 1.0, 1] | 41 COLOR_SEC_LIGHT = (0.51, 0.73, 1.0, 1) |
42 COLOR_SEC_DARK = [0.0, 0.37, 0.8, 1] | 42 COLOR_SEC_DARK = (0.0, 0.37, 0.8, 1) |
43 | |
44 COLOR_INFO = COLOR_PRIM_LIGHT | |
45 COLOR_WARNING = (1.0, 1.0, 0.0, 1) | |
46 COLOR_ERROR = (1.0, 0.0, 0.0, 1) | |
47 |