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

最新版本的vite和unocss不兼容,样式未生效 #81

Closed
TTcom opened this issue Oct 8, 2024 · 2 comments · Fixed by #82
Closed

最新版本的vite和unocss不兼容,样式未生效 #81

TTcom opened this issue Oct 8, 2024 · 2 comments · Fixed by #82

Comments

@TTcom
Copy link

TTcom commented Oct 8, 2024

"@unocss/vite": "^0.63.3",
"unocss": "^0.63.3",
"unocss-preset-theme": "^0.13.0",

@Mica-Ma
Copy link

Mica-Ma commented Oct 17, 2024

+1

@wtto00
Copy link
Contributor

wtto00 commented Oct 18, 2024

复现到了

.dark {
    --un-preset-theme-colors-container: var(--un-preset-theme-colors-container);
    --un-preset-theme-colors-container--alpha: var(--un-preset-theme-colors-container--alpha, 1);
    --un-preset-theme-colors-border: var(--un-preset-theme-colors-border);
    --un-preset-theme-colors-border--alpha: var(--un-preset-theme-colors-border--alpha, 1);
    --un-preset-theme-colors-text: var(--un-preset-theme-colors-text);
    --un-preset-theme-colors-text--alpha: var(--un-preset-theme-colors-text--alpha, 1);
    --un-preset-theme-colors-primary: var(--un-preset-theme-colors-primary);
    --un-preset-theme-colors-primary--alpha: var(--un-preset-theme-colors-primary--alpha, 1);
    --un-preset-theme-colors-primary-border: var(--un-preset-theme-colors-primary-border);
    --un-preset-theme-colors-primary-border--alpha: var(--un-preset-theme-colors-primary-border--alpha, 1);
}

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

Successfully merging a pull request may close this issue.

3 participants