- Affected version
- 2.3.0
Code:
<xf:set var="$color" value="rgb(173, 216, 230)"/>
<xf:set var="$lighen" value="{{ parse_less_color("lighten({$color}, 30%)") }}"/>
<xf:set var="$darken" value="{{ parse_less_color("darken({$color}, 30%)") }}"/>
<xf:set var="$background" value="{{ parse_less_color('@xf-contentBg') }}"/>
{{ dump($color) }}
{{ dump($lighen) }}
{{ dump($darken) }}
{{ dump($background) }}
Code:
"rgb(173, 216, 230)"
"#ffffff"
"#3a9fc0"
"#fefefe"
Code:
^ "rgb(173, 216, 230)"
^ "hsl(195,53%,calc(79%+30%))"
^ "hsl(195,53%,calc(79%-30%))"
^ "hsl(var(--xf-contentBg))"
Which is unexpected as it isn't returning the actual color code, which breaks being able to work with the hexadecimal color
Last edited: