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

fixed the reader view navbar color when in lightmode #43

Merged
merged 6 commits into from
Oct 17, 2021
Merged

fixed the reader view navbar color when in lightmode #43

merged 6 commits into from
Oct 17, 2021

Conversation

ff2400t
Copy link
Contributor

@ff2400t ff2400t commented Oct 16, 2021

Closes #42
The Navbar in reader view is now adopting background colors to light mode

@ff2400t
Copy link
Contributor Author

ff2400t commented Oct 16, 2021

I made the changes requested

Copy link
Member

@AriaMoradi AriaMoradi left a 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',
Copy link
Member

@AriaMoradi AriaMoradi Oct 16, 2021

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.

Copy link
Contributor

@voltrare voltrare Oct 16, 2021

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

Copy link
Contributor Author

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

@ff2400t ff2400t requested a review from AriaMoradi October 17, 2021 09:33
@AriaMoradi AriaMoradi merged commit 2049c32 into Suwayomi:master Oct 17, 2021
@ff2400t ff2400t deleted the reader-view-navbar-background-color branch October 27, 2021 03:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Sidebar is unreadable in Light Mode
3 participants