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

Some CSS is missing with dev preview #2205

Closed
4 tasks done
bojanrajh opened this issue Feb 17, 2023 · 4 comments
Closed
4 tasks done

Some CSS is missing with dev preview #2205

bojanrajh opened this issue Feb 17, 2023 · 4 comments

Comments

@bojanrajh
Copy link

bojanrajh commented Feb 17, 2023

UnoCSS version

>=0.49.0

Describe the bug

Some CSS is missing when using the dev preview. It is correctly built using the build command in VitePress.

Missing CSS:

*, ::before, ::after {
    // ...
    --un-ring-color: rgba(147,197,253,0.5);
}
version dev build
>=49.0 broken OK
<=48.5 OK OK

Reproduction

See StackBlitz > Example.

System Info

/

Validations

@sibbng
Copy link
Member

sibbng commented Feb 18, 2023

If we are looking for --un-ring-color variable it appears on me. I can't see any issue on repro. Can you give more details about the issue?

@bojanrajh
Copy link
Author

>= v49.0
image

<= v48.5
image

This CSS is missing on >= v49.0:
image

The same CSS section is added to ::backdrop in all versions.

@sibbng
Copy link
Member

sibbng commented Feb 20, 2023

I upgraded unocss to ^0.49.0 on your repro, and the shadow still appears.

image

@bojanrajh
Copy link
Author

bojanrajh commented Feb 20, 2023

Seems it was fixed in v0.49.7 (probably here).

Here's a pic with v0.49.6
image

Thanks!

@sibbng sibbng closed this as completed Feb 20, 2023
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