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全局变量默认值无法通过pxtorem插件进行转换 #2240

Open
xiaoai7904 opened this issue Apr 13, 2023 · 1 comment
Open

css全局变量默认值无法通过pxtorem插件进行转换 #2240

xiaoai7904 opened this issue Apr 13, 2023 · 1 comment
Labels
upstream 需要上游修复的,例如 Taro、各小程序平台等

Comments

@xiaoai7904
Copy link

What problem does this feature solve?(这个功能解决的问题)

自动转换px -> rem

image

What does the proposed API look like?(期望的 API)

自动转换px -> rem

@eiinu
Copy link
Member

eiinu commented Apr 14, 2023

NutUI 使用这种方式是为了实现动态的主题定制。
postcss-pxtorem 插件好像没有对这种情况进行处理,issuepr,也很久没有维护更新了。
可能需要考虑变更实现方式,需要后续评估一下实现效果和迁移成本。感谢反馈。

@eiinu eiinu added the future someday label Apr 14, 2023
@eiinu eiinu added upstream 需要上游修复的,例如 Taro、各小程序平台等 and removed future someday labels Jan 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
upstream 需要上游修复的,例如 Taro、各小程序平台等
Projects
None yet
Development

No branches or pull requests

2 participants