Skip to content
This repository has been archived by the owner on Aug 7, 2021. It is now read-only.

css2json color and uglify #1133

Open
farfromrefug opened this issue Apr 10, 2020 · 0 comments
Open

css2json color and uglify #1133

farfromrefug opened this issue Apr 10, 2020 · 0 comments

Comments

@farfromrefug
Copy link

In {N} hex 8 colors are define that way #aarrggbb
Now there is an issue with the uglify/production and nativescript-dev-webpack/css2json-loader

When using production and uglify, #aarrggbb will be transformed to rgba format but it will do so thinking the original hex format is #rrggbbaa

Consequently i end up with the wrong colors in production builds, which is not nice :D

I think the way to fix this right now is not to change those values to rgba.
The best way would be for N to support #rrggbbaa which is the default for the web

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant