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

Color token's opacity value in the light theme gets overwritten by the opacity value of the dark theme #75

Closed
arfedulov opened this issue Jun 4, 2024 · 6 comments

Comments

@arfedulov
Copy link
Contributor

Steps to reproduce

  1. Download the repo https://github.com/arfedulov/reproduce-uno-alpha
  2. npm i
  3. npm run dev
  4. See that the R, G, B values are correctly applied in light and dark themes for the "my-color-token", but the opacity value in the light theme gets overwritten by the opacity value from the dark theme.
@arfedulov
Copy link
Contributor Author

If this is the bug on the unocss-preset-theme side and it is possible to fix it, I would love to help and make a pull request.

@Dunqing
Copy link
Member

Dunqing commented Jun 10, 2024

Thank you for your feedback. Yes, it is a bug on the unocss-preset-theme

@arfedulov
Copy link
Contributor Author

Just completed a pull request fixing the issue #76

@arfedulov
Copy link
Contributor Author

@Dunqing May we expect a new npm release soon?

@Dunqing
Copy link
Member

Dunqing commented Jul 1, 2024

@Dunqing May we expect a new npm release soon?

Thanks. I released v0.13.0

@arfedulov
Copy link
Contributor Author

fixed in v0.13.0

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