-
-
Notifications
You must be signed in to change notification settings - Fork 778
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
Design System Audit: Swap colors with color variables: Reds #2112
Comments
This comment was marked as outdated.
This comment was marked as outdated.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment was marked as outdated.
This comment was marked as outdated.
This issue got reopened, because we did an manual check and found that on one color alone there were at least 5 changeable instances that did not get changed.
|
This comment was marked as outdated.
This comment was marked as outdated.
ETA: 11/18/22 |
There is activity on the PR as of 6 days ago |
|
Overview
As a developer, hard-coding colors only makes things difficult when colors change. For this only change the red colors so we can use the color variables.
Action Items
_sass/variables/_colors.scss
/_sass/elements/_color-styles.scss
Resources/Instructions
website/_sass/variables/_colors.scss
Lines 5 to 11 in 09d4b31
Click here to see a visual example of search/replace for color variables within VS code
Search: hex color
Replace: color variable
files to include: ./
files to exclude: *.svg, _site, _colors.scss
Click on the `Replace All` button (shortcut: Ctrl+Alt+Enter) Click `Ok` to confirm replace
If the task seems tedious, this might smooth things along if your native IDE is VSCode. Other IDEs might also have similiar functionality.
Advanced find and replace options for VSCode
The text was updated successfully, but these errors were encountered: