unpseudocomplique commented on issue #19604:
URL: https://github.com/apache/echarts/issues/19604#issuecomment-2325858004
To add more contexte hsl colors is require to use tailwind with css
variables for the client to be able to use his own theme.
And i want some chart to be with corporate color.
And this does not work :
```json
{
areaStyle: {
opacity: 0.8,
color: new graphic.LinearGradient(0, 0, 0, 1, [
{
offset: 0,
color: 'hsl(var(--color-primary-400)',
},
{
offset: 1,
color: 'hsl(var(--color-primary-700)',
},
]),
},
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]