-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Design system #1742
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 #1742
Conversation
- theme files and import
- add dark mode announcment icon - toggle light mode class on/off - work on vars name and vals
- add lightm grey side menu color - add global gray text color
- mirror moved styles in darkm - note num vals to new vars
- lightm lightens the grey - darkm ligher black - move global greys to each scope - add darkm scroll styles - undo at end
- move menu hover boxshadows to themes - api #menu colors
- realign into original position - work on and up to pre tag section
- redo nav menus
✅ Deploy Preview for expressjscom-preview ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Wow, it looks great, I'll review it very soon |
@chrisdel101 i have fixed the conflicts |
@bjohansebas It's still a draft as I'm working fixing a few of the last details, but you can start a review as the remaining things are minor. Overall it's complete, but left as draft due to that.
|
css/values.css
Outdated
@@ -0,0 +1,51 @@ | |||
.light-mode:root { |
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 meant setting those variables directly in :root
to make them even more global.
.light-mode:root { | |
:root { |
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.
Those are scoped. Removing those classes means the styles are not applied to the right themes.
Unless you are just saying?
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.
Just to reiterate - root sets variables globally, and this just scopes it to have a class. I rearranged the order for clarity.
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.
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.
Put the light-mode tag back in.
Hey @bjohansebas, I made the changes and left comments re: what I did not change. I don't think anything else can be moved rules-wise between files now. I think I've moved over everything I could now into style.css |
Great job @chrisdel101! I've left the last two comments, and I can give my approval. btw, I updated the color of the code examples. |
@bjohansebas Hey, I made the newest set of requested changes. I added a few comments to the theme JS file here for clarity, but did not change any JS but I changed the names of a few functions (only the names). |
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.
LGTM, I'm going to wait a day so more people can review it
@bjohansebas Just a heads up, I'm going to be away for awhile for medical reasons - maybe like a month. If this branch gets out of date you might need to take over the updates :) |
@chrisdel101 Great job and take care! |
@bjohansebas Once again thanks for all your help on this, and for the thorough review. |
Co-authored-by: Sebastian Beltran <[email protected]>
Reallizes #1628.
Left some comments in the codes to note why changes were made. These need deletion before merge.
More commentary on reasons for changes given below.
preview: https://deploy-preview-1742--expressjscom-preview.netlify.app/