Hello
In Kolibri 0.15.1 we were able to modify the brand colors just editing the file (kolibri_plugin.py) and without creating a plugin
/usr/lib/python3/dist-packages/kolibri/plugins/default_theme/kolibri_plugin.py
Now we have upgraded to 0.15.8 and the file kolibri_plugin.py has changed
In the latest version, where is Kolibri defining the HEX values of brand colors?
0.15.1 kolibri_plugin.py
class DefaultThemeHook(theme_hook.ThemeHook):
@property
def theme(self):
return {
# specify primary and secondary brand colors
theme_hook.BRAND_COLORS: {
theme_hook.PRIMARY: {
theme_hook.COLOR_V50: “#f0e7ed”,
theme_hook.COLOR_V100: “#dbc3d4”,
theme_hook.COLOR_V200: “#c59db9”,
theme_hook.COLOR_V300: “#ac799d”,
theme_hook.COLOR_V400: “#996189”,
theme_hook.COLOR_V500: “#874e77”,
theme_hook.COLOR_V600: “#7c4870”,
theme_hook.COLOR_V700: “#6e4167”,
theme_hook.COLOR_V800: “#5f3b5c”,
theme_hook.COLOR_V900: “#4b2e4d”,
},
theme_hook.SECONDARY: {
theme_hook.COLOR_V50: “#e4f2e6”,
theme_hook.COLOR_V100: “#c0dfc0”,
theme_hook.COLOR_V200: “#95cc99”,
theme_hook.COLOR_V300: “#6bba73”,
theme_hook.COLOR_V400: “#55aa59”,
theme_hook.COLOR_V500: “#429b47”,
theme_hook.COLOR_V600: “#418f43”,
theme_hook.COLOR_V700: “#3c7e3d”,
theme_hook.COLOR_V800: “#366f36”,
theme_hook.COLOR_V900: “#2c5428”,
},