unpreset / unocss-preset-theme

The dynamic theme presets for UnoCSS.
https://unocss-preset-theme.todev.cc
119 stars 11 forks source link

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

Closed arfedulov closed 1 week ago

arfedulov commented 1 month ago

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 commented 1 month ago

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 commented 1 month ago

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

arfedulov commented 3 weeks ago

Just completed a pull request fixing the issue #76

arfedulov commented 1 week ago

@Dunqing May we expect a new npm release soon?

Dunqing commented 1 week ago

@Dunqing May we expect a new npm release soon?

Thanks. I released v0.13.0

arfedulov commented 1 week ago

fixed in v0.13.0