-
Notifications
You must be signed in to change notification settings - Fork 26
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
WIP: Add dark theme #44
Conversation
let me know when you have the styled sorted out, and i can help (if needed) with allowing you to toggle between light and dark mode |
Step 1 and 2 are finished for now. |
the screenshot looks nice!! my only thought is that the chat text should probably be fully white or it might be hard to read. i ran it locally after adding the login screen also had a white background. i think maybe these styles aren't applying correctly: do these work on your end? if we're toggling this class name with react, we could maybe put it on this div, which wraps the entire app. adding a these styles that aren't being properly applied to let me know what you think 🌟 |
I will check if I can fix it. Did you run |
Yeah I thought so. Not at a computer right now, but I ran ‘npm run dev’
which I think runs gulp sass
…On Wed, Aug 1, 2018 at 2:36 AM sem schilder ***@***.***> wrote:
I will check if I can fix it. Did you run gulp sass?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#44 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAyF2JZ8wKm1arzsbq8Ya0Wn9i5QBfPEks5uMUxagaJpZM4Vm-tA>
.
|
Did you do a |
Ah, I see now it's broken :) |
That's partly a personal opinion I suppose. I like how it looks now, and don't have any issues with visisbility. Thats for speaking without any disabilities.
You're correct! This has been fixed now :)
That's up to you, if toggling the body from within React, I would opt keeping it on body. Otherwise we would need to come up with a diffrent solution. |
cool. now that things are working smoothly, i can take a real look and check it out. eventually, maybe we'll support custom themes and let people do whatever they want.
we can tie into react's lifecycle and update the class on body. here's an example: https://jaketrent.com/post/update-body-class-react/ i can look into this later and add a toggle button. great work! |
body.theme-dark { | ||
.scrolling-panel { | ||
margin-right: 5px; | ||
margin-top: 5px; |
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.
i fixed this on master
the people search bar is also white text on a white background |
there's a secret button below your list of conversations to toggle the theme lol the people search is still white on white. i think it should have some grey background with white text, to blend in with the rest of the theme. we should add a preferences page. we'd extend ideally it's accessible via keyboard shortcut and the app's menu e.g. |
This is WIP and experimental
Add CSS for dark theme. Currently depending on #43 to be merged first. (less changes etc).
Small demo in current state (last updated on: 30-07-2018 21:11)
