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

是否可以支持一下CSS Color Module Level 4 转 hsl,在配置里如何手动加载postcss插件 #350

Open
guowei1120 opened this issue Dec 6, 2023 · 1 comment

Comments

@guowei1120
Copy link

目前CSS Color Module Level 4 颜色,会被转化成rgb,这个颜色的转化是错误的

实际代码:
box-shadow: 0 0 5px 2px rgb(7 12 20 / 12%);
image

转换后:
box-shadow: 0 0 18px 0 #e8e805;
image

@otakustay
Copy link
Member

本地放一个postcss.config.js,会自动读

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