You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "unpseudocomplique (via GitHub)" <gi...@apache.org> on 2024/09/03 08:04:09 UTC
Re: [I] [Bug] color parse() does not understand new spec rgb and hsl colors [echarts]
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: commits-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org