-
-
Notifications
You must be signed in to change notification settings - Fork 126
Closed
Labels
Description
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%; }' WRONGIt 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.
Reactions are currently unavailable