DEV Community

loading...
JSFiddle

Dark mode in JSFiddle

oskar profile image Oskar Krawczyk 🌲 Updated on ・1 min read

If anything was a clear take from our roadmap (and that tweet ^) is that people really want a dark mode in JSFiddle – that feature request got a whooping 484 votes.

Took a while finally managed to get it done, and it turned out really, really nice.

A few months back I've done a poll, where most JSFiddle users said they actually prefer a dark theme, which is why that one is now the default.

The update brought some other improvements, like completely removed all web/icon-fonts, which we're always a burden to maintain and had a lot of negative impact on loading times. Now all icons and SVG – actually there's not a single image on the site, all is code.

Who doesn't love better loading times! 🚀

There are a few more updates dropping soon, one of which is another big one – switching between different editor grids!

Discussion (5)

pic
Editor guide
Collapse
ben profile image
Ben Halpern

This looks great Oskar. Really fun to have the creator of JSFiddle in the community too. Feel free to drop in for other feature drops.

Who doesn't love better loading times! 🚀

🙌

Collapse
link2twenty profile image
Andrew Bone

You can now embed jsfiddle projects into dev.to!

Collapse
superdeterrent profile image
SuperDeterrent

No, people do NOT want dark. They want LIGHT. You probably met a couple of lunatics, so called "darkers", "ghots".

Let me know how to have white background? With Win 10, this all dark thing renders unusable. Bright green on blac is OK, but the rest sucks big time

Collapse
codemouse92 profile image
Jason C. McDonald • Edited

That's a broad generalization.

I, for one, need dark mode because I'm prone to headaches and worsened dyslexia symptoms when I have a light background for extended periods of time. I'm not a "lunatic", I have a disability. As to the many friends I have who also like dark mode, most of them prefer it to reduce eyestrain, (again) not because they're crazy.

You're welcome to enjoy and prefer light mode, write about how much you like it, and ask interface designers to include it, and so on. We're all entitled to our preferences.

However, to claim that the "majority" want it is a bit much. The author referred to a poll; I recall seeing several similar polls in recent years about dark vs. light mode. (Here is one of the less formal ones.) If you have some contrary data, sharing it would definitely add to the conversation in a constructive way! Baseless dismissal, one the other hand, helps no one, least of all yourself.

What's further, to assert that people who prefer dark mode are "lunatics" is altogether inappropriate, and over the line in regard to the Code of Conduct:

Examples of behavior that contributes to creating a positive environment include:
...

  • Being respectful of differing viewpoints and experiences

Examples of unacceptable behavior by participants include:
...

  • Trolling, insulting/derogatory comments, and personal or political attacks

Please be mindful in the future.

Collapse
barmar profile image
Barry Margolin

I also want light mode back. There used to be a settings option, I can't find it today.