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

bug: css 变量默认值不转换 #25

Closed
bigmeow opened this issue Mar 7, 2024 · 1 comment
Closed

bug: css 变量默认值不转换 #25

bigmeow opened this issue Mar 7, 2024 · 1 comment

Comments

@bigmeow
Copy link

bigmeow commented Mar 7, 2024

输入:

.test {
    font-size: var(--row-font-size, 14px);
}

实际输出:

.test {
    font-size: var(--row-font-size, 14px);
}

希望输出:

.test {
    font-size: var(--row-font-size, min(19.2vw, 99.84px));
}
@wswmsword
Copy link
Owner

谢谢反馈,在版本 4.1.2 中已修复。

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