question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Dark mode toggle switch

See original GitHub issue

As far as I understand, gitmoji currently uses the prefers-color-scheme media query to switch between light and dark mode.

Unfortunately from what I could find, this media query is not really supported on platforms like Arch Linux where there is not a single system-wide dark mode switch that the user could toggle. (There are some hacky ways to do it but none have worked for me so far)

I (and my eyes) would love to see some sort of a dark mode switch that I can toggle manually. Perhaps a little icon in the nav menu or at the bottom of the page, or just a simple toggle with some text in the about page. Please consider it 🙂

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:18 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
franciscocandidocommented, Dec 10, 2021

Ok, in my next free time I’ll implement it and leave everything ready

2reactions
franciscocandidocommented, Nov 29, 2021

It’s going to take me a while to finish because I’m kind of busy.

And I’m also in doubt about where to position and what kind of input it’s going to be. I was thinking about a switch, i made one to see how it would look. You can see here.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How To Toggle Between Dark and Light Mode - W3Schools
Switch between dark and light mode with CSS and JavaScript. Toggle Dark/Light Mode. Click the button to toggle between dark and light mode...
Read more >
CSS Minimal Dark Mode Toggle Button - Red Stapler
In this post, we will work on a minimal CSS dark mode toggle switch with gooey effect. No JavaScript, just CSS. Ready? Let's...
Read more >
Dark theme toggle button - CodePen
Add Class(es) to <html>. Adding Classes. In CodePen, whatever you write in the HTML editor is what goes within the ...
Read more >
coliff/dark-mode-switch - GitHub
Dark Mode Switch. Add a dark-mode theme toggle with a Bootstrap Custom Switch. Uses local storage to save preference; Only 383 Bytes minified...
Read more >
Dark Mode Toggle - Plugins - WordPress.org
Dark Mode Toggle is an excellent WordPress plugin to quickly add a dark / night mode toggle switch button on your WordPress site....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found