Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow var functions in style.color values #125

Open
ddemolina opened this issue Nov 10, 2020 · 1 comment
Open

allow var functions in style.color values #125

ddemolina opened this issue Nov 10, 2020 · 1 comment

Comments

@ddemolina
Copy link

Hi,

I've seen that when I try to insert a value to style.color a function called parseColor not allow to use values with var function like var(--customVar).

One solution is add another regEx in parser.valueType to return a color type but maybe there is a more transversal solution wich is being implementig to support this kind of values in all properties.

Thank you for your help

cdoublev added a commit to cdoublev/cssstyle that referenced this issue May 23, 2021
@cdoublev cdoublev mentioned this issue May 23, 2021
cdoublev added a commit to cdoublev/cssstyle that referenced this issue May 24, 2021
cdoublev added a commit to cdoublev/cssstyle that referenced this issue Jun 9, 2021
cdoublev added a commit to cdoublev/cssstyle that referenced this issue Jun 10, 2021
cdoublev added a commit to cdoublev/cssstyle that referenced this issue Jun 11, 2021
cdoublev added a commit to cdoublev/cssstyle that referenced this issue Jun 14, 2021
@filipkis

This comment was marked as spam.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants