-
Notifications
You must be signed in to change notification settings - Fork 59
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
fixed the reader view navbar color when in lightmode #43
fixed the reader view navbar color when in lightmode #43
Conversation
- Added the package-lock.json
I made the changes requested |
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.
This project uses yarn to do package management, you can use npm for your own clone(though not recommended), but don't include the generated package-lock.json
in your pull request.
|
||
'& header': { | ||
backgroundColor: '#363b3d', | ||
backgroundColor: | ||
theme.palette.mode === 'dark' ? '#363b3d' : theme.palette.grey[100], | ||
display: 'flex', |
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.
Is there any suitable replacement for #363b3d
and #0a0b0b
in the dark theme pallette? I took those colors from a similar app but neither are mui standard colors, so replacing them here and now would be nice.
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.
https://next.material-ui.com/customization/dark-mode/
I used this for the chapter hover thing
the #0a0b0b
might be comparable to the palette.background.default
maybe using the grey pallete?
https://materialui.co/colors
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.
So made the navbar use colors from the Theme object. Replaced the colors from the closest counter parts available
…e Theme object in Material UI
Closes #42
The Navbar in reader view is now adopting background colors to light mode