-
Notifications
You must be signed in to change notification settings - Fork 36
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
Set up color variables and types to ensure color consistency #83
Set up color variables and types to ensure color consistency #83
Conversation
Frontend/src/pages/login/login.css
Outdated
:root{ | ||
--black-20: rgb(20, 20, 20); | ||
--gray-52: rgb(52, 52, 52); | ||
--gray-72: rgb(72, 72, 72); | ||
--gray-203: rgb(203, 213, 225); | ||
--white-255: rgb(255, 255, 255); | ||
--white-248: rgb(248, 250, 252); | ||
--skyblue-190: hsl(190, 97%, 47%); | ||
--darkblue-245: hsl(245, 95%, 22%); | ||
--blue-208: hsl(208, 97%, 58%); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Welldone @Tammy-Ajoko for this great work, i will suggest a few changes:
Rather than repeating this root color variables and the google font in each file(login and sign up), you could use
@import url(../../GlobalStyles.css);
to import the global CSS file to each of the files
Frontend/src/GlobalStyles.css
Outdated
:root{ | ||
--black-20: rgb(20, 20, 20); | ||
--gray-52: rgb(52, 52, 52); | ||
--gray-72: rgb(72, 72, 72); | ||
--gray-203: rgb(203, 213, 225); | ||
--white-248: rgb(248,250,252); | ||
--white-255: rgb(255, 255, 255); | ||
--skyblue-190: hsl(190, 97%, 47%); | ||
--darkblue-245: hsl(245, 95%, 22%); | ||
--blue-208: hsl(208, 97%, 58%); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use/add the color variables from the Figma design
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sandygudie I have added colors from the Figma file but if there are still any you feel I missed please let me know, it would be most helpful if you specify the exact section in which I didn't use the exact color.
@Tammy-Ajoko Also, (this is not from you)
|
@sandygudie I noticed that and was going to make comment on that. I understand what you mean I would refactor it into 1 CSS file and let you know if I have any questions 😊 |
@sandygudie do I create a new pull request for the refactored CSS file or just update this one |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- I added a new color variable to GlobalStyle.css
- I refactored both the login and signup CSS files into a single CSS file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added new color variables
Frontend/src/pages/signup/Signup.jsx
Outdated
import "./signup.css" | ||
import "../CSS/login-signup.css" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Regarding the login/signup CSS file, I will suggest this
- Rename the "CSS" folder to "auth", this folder will be for everything authentication.
- Move the login JSX file and signup JSX file to it.
- update the path on the routing file.
Please do let me know if you need clarity
✅ Deploy Preview for oscsa-moocs ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
…Ajoko/dev_team2 Set up color variables and types to ensure color consistency
Summary
Fixes #82
Addresses #10
List of changes proposed in this PR (pull-request)
What should a reviewer concentrate their feedback on?
@sandygudie @BatoolMM