We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
background: #FF0;
Hi Mohammad,
Please check these processes:
> require('rtlcss').process(`body { color: #ff0; }`); // output: 'body { color: #ff0; }' > require('rtlcss').process(`body { background: #ff0; }`); // output: 'body { background: #ff100%; }' WRONG > require('rtlcss').process(`body { background: #ff1; }`); // output: 'body { background: #ff1; }' > require('rtlcss').process(`body { background: #ee0; }`); // output: 'body { background: #ee100%; }' WRONG > require('rtlcss').process(`body { background: #f00; }`); // output: 'body { background: #f00; }' > require('rtlcss').process(`body { background: #f0f; }`); // output: 'body { background: #f100%f; }' WRONG > require('rtlcss').process(`body { background: #0ff; }`); // output: 'body { background: #100%ff; }' WRONG > require('rtlcss').process(`body { background: #fffff0; }`) // output: 'body { background: #fffff100%; }' WRONG
It seems like if there was one zero digit in hex-colors it would be converted weirdly. Only with one zero, and only with background property.
background
The text was updated successfully, but these errors were encountered:
@OsamaAbbas Thanks for reporting this! It's due to this special case.
Sorry, something went wrong.
992c2ec
I have tried to find why this happens, but I failed. Now it makes sense.
Thank you for this wonderful tool!
My pleasure :)
No branches or pull requests
Hi Mohammad,
Please check these processes:
It seems like if there was one zero digit in hex-colors it would be converted weirdly. Only with one zero, and only with
background
property.The text was updated successfully, but these errors were encountered: