Closed ModyQyW closed 11 months ago
Thank you for your feedback, Yes this is a bug.
@Dunqing Sorry, but I think v0.9.1 just reverted https://github.com/Dunqing/unocss-preset-theme/pull/48? Should I open another issue?
I think :root
should go before .dark
.
@Dunqing Sorry, but I think v0.9.1 just reverted #48? Should I open another issue?
![]()
I think
:root
should go before.dark
.
I'm not sure if this makes a difference, can you test it?
Ahhh you are right, it makes no difference in this case. Thanks.
https://unocss.dev/play/?html=DwEwlgbgBAxgNgQwM5ILwCIAuBTAHpgWgAcAnMAWwRIE90A%2BAKGAHpwI6g&config=JYWwDg9gTgLgBAbwFBzgEwKYDNgDsMDCEuOA5gDQpxhQYDOGMAqrhJQL5xZQQhwDkAV1YBjOnX5JQkWImq0GMACoALDCAxxO3XgOEQxdALQ16jIzDUbJSDAA8Z8TFgCGggDZPseQsTIAKZFRTRToALjgAbSpghUYWCH8ASkpUWLNlKwxAmLTLdQwIoLSS92BSFRgi3JLUEQh3aHDEGtrY0BcoAE8I-gA3Tv8jIwx3I3rGqBMoDu6kyTaS9lbUdlTFtE6Aa2rFtImm3b20mlmegQGoIZGxg6nTkE6u%2BZW05b211ve3pKoAXQ4vyAA&css=Q&options=N4XyA
Expected:
Or
Or
Reproduction