Dark Theme for Dev.to

mercxry - Jan 24 '19 - - Dev Community

Screenshots are at the bottom of the post

Foreword

This is a temporary solution until the official dark theme is released, for this reason the code is not organized and ordered and you may find some component/pages with the light theme.

Why a dark theme?

If you only knew the power of the Dark Side...
ā€“ Darth Vader

Joking aside, there are so many benefits to using a dark theme, like:

  • Less invasive night reading
  • Helps you focus more on text
  • Prevents you from fatiguing your eyes for long periods in front of your computer
  • And many other benefits (that you can google)

Personally I'm addicted to dark themes, I could be a vampire šŸ§›ā€ā™‚ļø

How to use it?

To use it you should install a userstyle manager compatible with https://userstyles.org, my personal recommendation is Stylus
Stylus logo

Stylus is a userstyles editor and manager compatible with Mozilla Firefox, Google Chrome and Opera, which can be downloaded in the respective stores:

After installing Stylus, just go to the theme page and click the button that says "Install Style"

Theme Page: https://userstyles.org/styles/168140/dev-to-dark-mode

Install Theme

Done! Now you can go back to Dev.to and enjoy the dark theme ā˜•

Screenshots

Main Page:
Dev.to Main Page
Tag Page:
Dev.to Tag Page
Profile Page:
Dev.to Profile Page
Post Page:
Dev.to Post Page

Conclusion

If you find bugs you can leave a comment or contact me on Twitter, I do not ensure to update the theme regularly and promptly but I will try to keep it working.

You can now contribute on Github: https://github.com/mercxry/dev.to-dark-theme

Credits

I was inspired by this GitHub issue: https://github.com/thepracticaldev/dev.to/issues/1413

.
Terabox Video Player