WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Conversation

@frederikbosch
Copy link

@frederikbosch frederikbosch commented Nov 21, 2016

This PR quotes every string that is not a color (starts with #). Maybe I should extend that with more possible language constructs. @acdlite Could you tell me if you like the PR and the likelihood of merging?

gkatsev added a commit to gkatsev/rootbeer that referenced this pull request 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.
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.

1 participant