Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialChris Shaffer
12,030 PointsCan we get the DARK editor in Workspaces?
On coding questions you have a dark background editor. I really like this as it is less strain on my eyes and just like my VS Code and Atom editors.
I use VS Code all day at work and I can say that using a dark background has probably saved me a few prescription updates on my glasses.
Thanks for any feedback!
5 Answers
Artur Kosla
1,580 PointsGood question :)
Kara Proulx
Treehouse StaffAt this time, there isn't a way to change the color of the background in the Workspaces, and we don't currently have plans to add that option. We do see how that would be helpful, and have made sure to pass along your request!
Chris Shaffer
12,030 PointsWell, it would be awesome.
Untill then if anyone else wants to either override it with a Grease Monkey script or like me, be lazy and just do it in Chrome DevTools, here's some CSS that will approximate it:
#treehouse-workspace.light .cm-s-light .cm-variable-2 {
color: deepskyblue;
}
#treehouse-workspace.light .cm-s-light .cm-def {
color: blueviolet;
}
#treehouse-workspace.light .cm-s-light .cm-string-2 {
color: lightblue;
}
#treehouse-workspace.light .cm-s-light.CodeMirror {
background: #2d3339;
color: antiquewhite;
}
.CodeMirror-gutters {
background: black!important;
}
David Moorhead
18,005 PointsThanks, Chris. In addition to what you wrote, I added Dark Reader to both Chrome and Firefox browsers. DR has made my Treehouse experience much easier on the eyes.
Chris Shaffer
12,030 PointsGood call!
I like this extension and it seems to have a lot of users. Trying it out on TH right now. Not sure if I want to use an extension like this all the time - I'm very particular about what I let in my browser for security and performance reasons - but I'll try it out for a week or so and see how it does.
Thanks for the tip!
David Moorhead
18,005 PointsHi, Chris Shaffer,
You wrote: "I'm very particular about what I let in my browser for security and performance reasons..."
I hear that! And, thanks for your code that'll eventually show up in Dev Tools.
The experiment of allowing Dark Reader in FF is an exercise for me to become a bit relaxed about online privacy and security as well as unencombered performance. All of that seems like a rattle in back of my mind. But, I'd rather have somewhat relaxed eyes at the end of a few hours of coding, reading and studying in front of a monitor. So, with the exchange of one thing for another, I voted for relaxed eyes . BTW, Dark Reader is especially good in Treehouse's Workspaces, as you might already know.
Thanks for opening the topic!
David