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

[stylelint-plugin] feat: add no-color-literal rule #4853

Merged
merged 8 commits into from
Aug 11, 2021

Conversation

p-szm
Copy link
Contributor

@p-szm p-szm commented Aug 11, 2021

This PR adds a new stylelint rule that encourages using color variables ($blue3 and etc) instead of color literals (#137CBD and etc).

@@ -0,0 +1,49 @@
/* Copyright 2020 Palantir Technologies, Inc. All rights reserved.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor nit: these copyright headers don't have the right comment syntax. I can fix in a follow-up.

@adidahiya adidahiya changed the title Add a no-color-literal stylelint rule [stylelint-plugin] feat: add no-color-literal rule Aug 11, 2021
@adidahiya adidahiya merged commit 59d4e7b into palantir:develop Aug 11, 2021
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