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

Add Dark Mode support for default theme(s) #320

Open
MagnusOxlund opened this issue Jun 21, 2020 · 0 comments
Open

Add Dark Mode support for default theme(s) #320

MagnusOxlund opened this issue Jun 21, 2020 · 0 comments

Comments

@MagnusOxlund
Copy link

LimeChat now supports Dark Mode as of version 2.46, but it's still using the old default themes, which are arguably more suitable for Light Mode. Here's what the default theme looks like with Dark Mode enabled (with alternating lines):

A

And here is something a little darker:

B

The CSS code can be appended to the default CSS theme file inside a media query to automatically match the mode in use: @media (prefers-color-scheme: dark) {}. I don't know how to handle the YAML file, though, so I'm not submitting a pull request. I think it's better if @psychs or a seasoned contributor takes a look at it, if you find it suitable.

I've attached the two theme files. The CSS file includes alternating lines.
Dark Mode (alternating lines).zip

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

No branches or pull requests

1 participant