Note: although it may seem like it's the case, it is not enough, at least in theory, to ensure that the customization in colorThemeInit.vm always prioritizes the $request.colorTheme (as the getter algorithm does) and that all CSS resources are loaded with colorTheme in the parameters: * style.less.vm it's actually compiled as part of the regular view actions, inside colorThemeInit.vm , here: [colorThemeInit.vm#L124|https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-flamingo/xwiki-platform-flamingo-skin/xwiki-platform-flamingo-skin-resources/src/main/resources/flamingo/colorThemeInit.vm#L124] * it's not realistic to make sure that $request.colorTheme is always present on the URL for all view actions. |
|