-
-
Save autioch/776883b6b092c87af25b6278c5f7757a to your computer and use it in GitHub Desktop.
Finding hardcoded colors in CSS.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const colorsRegex = /(color|shadow|background|outline)\: [^(\$|inherit|transparent|\d|none|\-\.)]/g; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment