Skip to content
New issue

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

Modify HSL strategy to account for decimals #137

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

furioursus
Copy link

@furioursus furioursus commented Jul 1, 2021

I noticed that the HSL strategy doesn’t highlight values that have decimal values as seen in #110, so I added that in. First time working with a VSCode Extension, so let me know if there's anything that needs to be tweaked with the RegEx.

@ferretwithaberet
Copy link
Collaborator

Fun fact(that I noticed while I was reviewing this PR): The findHsla function is not used anywhere. You would need to change the function strategy to add support for that. I think findHsla was once used but it got replaced by findFunction.

@furioursus
Copy link
Author

Whoops! That would explain why I wasn't having much luck getting things to compile even when changing settings manually. I'll take a look!

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.

2 participants