| The stylesheet of the Solr search page (the StyleSheetExtension object of Main.SolrSearch) is parsed with Velocity only to load colorThemeInit.vm and read 5 color theme variables: textSecondaryColor, highlightColor, titleColor, textColor and borderColor. The CSS variables introduced by XWIKI-22667 already expose the same values, so the stylesheet can use them instead and no longer needs Velocity parsing. The search page looks the same with any color theme, and its stylesheet no longer has to be evaluated by Velocity. |