-
Notifications
You must be signed in to change notification settings - Fork 15
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
color used for fill #52
Comments
That looks like it's being minified by something and that's causing issues. Do you know what it's being minified by? |
I created #53 to see if that helps with the minification issue (if it is a minification issue). Want to make sure here first. Can you try |
Thanks for your help. I took out the minifying command the issue is gone. Had this extension for minify: https://marketplace.visualstudio.com/items?itemName=olback.es6-css-minify. I seems is not maintained. Will look for a different solution. |
Without the plugin we can use fill-color in Tailwind and the system will generate css like:
.fill-color { fill: #b9d7fd; }
But using the plugin for the same color will result in the following css entry:
.fill-color { fill: color-mix(in srgb,var(--colors-color),#0000 0); }
where the --colors-color variable is #b9d7fd;
The resulting color is a mix between black and the variable color, which is not the expected result.
It should output the simple color as the fill and not use color-mix. Or if it can't be done without color mix, then the mixing color should be white and not black.
The text was updated successfully, but these errors were encountered: