Skip to content

Comments

feat: don't quote colors#9

Merged
gkatsev merged 5 commits intomainfrom
unquote-colors
Jun 9, 2021
Merged

feat: don't quote colors#9
gkatsev merged 5 commits intomainfrom
unquote-colors

Conversation

@gkatsev
Copy link
Owner

@gkatsev gkatsev commented Jun 9, 2021

Taking a play from acdlite/json-sass#14, this change makes it so that string values that contain colors do not get quotes. Specifically, this includes hex colors, rgb, rgba, hsl, hsla, and css color names.

Fixes #4

BREAKING CHANGE: colors will no longer be quotes with this release.

@gkatsev gkatsev merged commit 5bf5c4a into main Jun 9, 2021
@gkatsev gkatsev deleted the unquote-colors branch June 9, 2021 05:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

unquoting on values

1 participant