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

Design System Audit: Audit for hardcoded colors #4783

Merged
merged 2 commits into from
Jun 14, 2023

Conversation

AHP15
Copy link
Contributor

@AHP15 AHP15 commented Jun 5, 2023

Fixes #2114

What changes did you make and why did you make them ?

  • I find all the hardcoded color value and put a note for them in the issue associated with this PR
  • I changed the following color values:
    • background: #F6F6F6; to background: $color-whitesmoke; in file: _sass/components/_project-page.scss
    • color: #030D2D; to color: $color-darkblue; in file _sass/components/_donate-components.scss
    • Also I change colors from hard-coded values to variable in the following files: _sass/components/_home.scss, _sass/components/_privacy-policy.scss, _sass/components/_projects-page.scss

@github-actions
Copy link

github-actions bot commented Jun 5, 2023

Want to review this pull request? Take a look at this documentation for a step by step guide!

From your project repository, check out a new branch and test the changes.

git checkout -b Abdessittir-audit-hardcoded-2114 gh-pages
git pull https://github.com/Abdessittir/website.git audit-hardcoded-2114

@github-actions github-actions bot added role: front end Tasks for front end developers Feature: Refactor CSS Page is working fine - CSS needs changes to become consistent with other pages Complexity: Small Take this type of issues after the successful merge of your second good first issue size: 1pt Can be done in 4-6 hours labels Jun 5, 2023
@93Belen 93Belen self-requested a review June 6, 2023 14:07
@93Belen
Copy link
Member

93Belen commented Jun 6, 2023

Availability: Tuesday and Thursday morning. Sunday all day
ETA: Thursday by 11am

Copy link
Member

@93Belen 93Belen left a comment

Choose a reason for hiding this comment

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

Hey really nice job! This Issue is labelled as a small issue but it looks medium to me. Well done!
I found a few things that need changes and a suggestion.

@AHP15
Copy link
Contributor Author

AHP15 commented Jun 7, 2023

Hi @93Belen, Thanks for the review!
I made the required changes

@AHP15 AHP15 requested a review from 93Belen June 7, 2023 08:37
@LOSjr4 LOSjr4 self-requested a review June 7, 2023 16:48
Copy link
Member

@LOSjr4 LOSjr4 left a comment

Choose a reason for hiding this comment

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

@Abdessittir The color names you labeled are all correct according to previous names that were used for the hardcodes referenced in the dependency documentations. So I approve what what done so far.
After browsing the keyword "color" in VScode, I was wondering if some of these other hardcodes should also be changed? Correct me if I'm wrong. I'm not actually sure.
image
image

image
image

image

image
image

Copy link
Member

@93Belen 93Belen left a comment

Choose a reason for hiding this comment

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

Nice job! You addressed all my charges requests! Now you just need to update the PR description to match the changes you did. ☺️

@AHP15 AHP15 requested a review from 93Belen June 12, 2023 08:35
@AHP15
Copy link
Contributor Author

AHP15 commented Jun 12, 2023

Hi @93Belen thanks, I just updated my pull request description

@AHP15
Copy link
Contributor Author

AHP15 commented Jun 12, 2023

@LOSjr4 Thanks for the review if you take a look at the #4783 issue you will see that I mentioned all of those colors in comments and suggested names for them as the issue requires

Copy link
Member

@93Belen 93Belen left a comment

Choose a reason for hiding this comment

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

Thank you for the update!

Copy link
Member

@LOSjr4 LOSjr4 left a comment

Choose a reason for hiding this comment

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

Thank you @Abdessittir for clarifying my question and adding more details in your description.

@roslynwythe roslynwythe merged commit 6d33e6c into hackforla:gh-pages Jun 14, 2023
blulady pushed a commit to blulady/website_old that referenced this pull request Jun 18, 2023
* Change hardcoded value to a variable

* Change color values to color variables
ronaldpaek pushed a commit to ronaldpaek/website that referenced this pull request Jun 28, 2023
* Change hardcoded value to a variable

* Change color values to color variables
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Complexity: Small Take this type of issues after the successful merge of your second good first issue Feature: Refactor CSS Page is working fine - CSS needs changes to become consistent with other pages role: front end Tasks for front end developers size: 1pt Can be done in 4-6 hours
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Design System Audit: Audit for hardcoded colors
4 participants