- Refactor and update the json2scss CLI tool to enhance user experience
- Updated flag aliases and descriptions to improve clarity. For example, changed 'cc' to 'c', 'ct' to 't', and 'cl4' to 'l' aligning with more intuitive usage.
- Refined default settings for options and aliases, expanded format choices, and ensured that minimist expects bools and strings.
- Added this changelog :)
- Rewrite the whole Readme file once again for better readability
- Back to top links
- Added major feature to convert the color value into specific color scheme (rgb, hsl, hex) etc.
- Default behavior has been changed to color convertion on functionality with
hsl
convertion. - Also added config for outputing the color values into new CSS Color Lavel 4 Syntax. (all major browsers has support for new syntax)
- Default behavior for this new syntax output
cl4Syntax
isfalse
.
- RGB colors can also support % in there values. This version doesn't treat % in rgb value as rgb colors. So, we don't convert them.
- HSL colors support
deg
unit. This version doesn't treatdeg, rad, turn
units as valid color. So, we don't convert them. - It doesn't support color convertion from a new space separated syntax as input.
- We don't throw any error during the file read / write. It won't convert these colors if it doesn't understand any input as colors. But it will output these values without
quotes
.
- Improvement / Fix Regarding compiling Nested Array of Objects.
- Updated the unexpectedly remove
quotes
from the strings. - Thanks to the Dylan Awalt-Conley for your PR.
- Added support for ch unit as value.
- Now you can use any color format you are not strict to use hex only . Use rgba, hsl, rgb etc.
- scss map supports key as string so, now map keys will be in string.
- font sizes like rem, px, em and colors in hex value will return without string quote which will help you to get the desire value from scss map.