Details
-
Bug
-
Resolution: Duplicate
-
Critical
-
None
-
6.3-milestone-2
-
None
-
Unknown
-
Description
Steps to reproduce:
- Create a stylesheet extension Main.MyCSS to use the color theme variables (set Parse content to Yes)
#template('colorThemeInit.vm') p.test { color: $theme.pageBackgroundColor; background-color: $theme.brand-info; }
- Create a test page to use the extension on demand:
{{velocity}} $xwiki.ssx.use('Main.MyCSS') {{/velocity}} (% class="test" %) Test text that's in the class test, but does not use the flamingo color theme value
Result: the brand-info property is not interpreted, while the old property works fine:
p.test{color:#f5f5f5;background-color:$theme.brand-info}
Attachments
Issue Links
- duplicates
-
XWIKI-11374 Be able to use Flamingo Theme variables in Skin Extensions
- Closed