Feature Request - Dark / Night Mode

gh
ghostmonkey
Posts: 2
Joined: Sat Nov 25, 2017 7:11 pm
Platform: Mac

Sat Nov 25, 2017 8:24 pm Post

I realize there are a few convoluted ways you can fake a dark mode changing your preferences and your system settings, but I think an actual nightmare option would be very pleasant. I frequently work in the evening or in low light environments and I find the brightness of the default Scrivener very jarring. With an actual dark mode, we would have the ability to swap back and forth dependent on the situation.

User avatar
KB
Site Admin
Posts: 19190
Joined: Tue Jun 13, 2006 11:23 pm
Platform: Mac
Location: Truro, Cornwall
Contact:

Sat Nov 25, 2017 8:34 pm Post

With your user name, asking for a "nightmare" mode is very apt! :)

I'm afraid a Dark or Night Mode in Scrivener for macOS is very unlikely, though. It's not that it wouldn't be nice - it would - but it is just impractical given the huge number of UI elements in Scrivener. It would require building in a switch for literally thousands of UI elements. It would also require a second set of icons for all the toolbar icons and anything els that would not work against a dark background. Not only that, but because the user can choose to customise the colours of many parts of the UI, it would render many of the Preferences inactive when switched on - unless there was a second large set of preferences for Dark Mode.

As you say, though, you can already change Preferences. And there is even the option to save different theme Preferences via the Preferences panel ("Manage...") at the bottom. I wonder if just an easier way of switching between themes might be a good option for this, perhaps having a "Themes" submenu in the "Scrivener" menu... Hmm.

All the best,
Keith
"You can't waltz in here, use my toaster, and start spouting universal truths without qualification."

User avatar
kewms
Posts: 3230
Joined: Fri Feb 02, 2007 5:22 pm
Platform: Mac

Sat Nov 25, 2017 10:39 pm Post

One option that some people like is to use the Apple -> System Preferences -> Accessibility -> Display tab to invert colors. That has the advantage of being system wide, so you aren't blinded by the "normal" display when you leave Scrivener.

Katherine
Scrivener Support Team

ti
timjthomas
Posts: 13
Joined: Sun Nov 25, 2012 12:02 am
Platform: Mac

Sat Nov 25, 2017 11:06 pm Post

If somebody created a theme, could it be shared?

User avatar
gr
Posts: 1593
Joined: Wed Feb 14, 2007 3:57 am
Platform: Mac + iOS
Location: Florida

Sat Nov 25, 2017 11:19 pm Post

timjthomas wrote:If somebody created a theme, could it be shared?


Somebody could! There is a thread now dedicated to this:

http://www.literatureandlatte.com/forum/viewtopic.php?f=19&t=40773&p=243676&hilit=themes#p243676
gr : Scrivener user : not affiliated with Lit^Lat

"Perhaps the true book is the one on the far side of the prism."

User avatar
pigfender
Posts: 2507
Joined: Tue Oct 12, 2010 10:25 am
Platform: Mac, Win + iOS
Location: Cognitive dissonance
Contact:

Sat Nov 25, 2017 11:38 pm Post

A dark mode wouldn’t need to change all the UI elements. Anything that is already adjustable by the user doesn’t need to be affected as we can do that ourselves through themes. All a dark mode needs to do is to switch the non-user adjustable elements (toolbar, etc) to a darker version.

Yes, that would still need some revised icons, but it’s not quite as awkward as it could be.

Of course, having the dark mode and light mode able to have their own default themes (if users have created any) would be a bonus.
"Some dice only have sixes." nom, 19 Oct 2013
"Piggy, I'm beginning to wonder if you are the best person to take advice from." Jaysen, 26 Sept 2014

Image
http://www.pigfender.com | http://www.novelinaday.com

User avatar
KB
Site Admin
Posts: 19190
Joined: Tue Jun 13, 2006 11:23 pm
Platform: Mac
Location: Truro, Cornwall
Contact:

Sun Nov 26, 2017 12:55 am Post

Er, not awkward to change the dozens of icons and built-in macOS elements? Yeah, sounds real simple and the sort of thing I can do in minutes. :)

Pro tip: anything involving an alternative version of all icons is not going to happen.
"You can't waltz in here, use my toaster, and start spouting universal truths without qualification."

User avatar
devinganger
Posts: 903
Joined: Sat Nov 06, 2010 1:55 pm
Platform: Mac + Windows
Location: Monroe, WA USA
Contact:

Sun Nov 26, 2017 8:49 am Post

KB wrote:Er, not awkward to change the dozens of icons and built-in macOS elements? Yeah, sounds real simple and the sort of thing I can do in minutes. :)

Pro tip: anything involving an alternative version of all icons is not going to happen.


Out of morbid curiosity, and a fondness for the days of ResEdit, how many resources are we talking about overall, KB? Hundreds? Thousands? I get a headache just thinking about it.
--
Devin L. Ganger
Devin on Earth: http://www.devinonearth.com/
Plotter on the streets, pantser in the sheets

User avatar
pigfender
Posts: 2507
Joined: Tue Oct 12, 2010 10:25 am
Platform: Mac, Win + iOS
Location: Cognitive dissonance
Contact:

Sun Nov 26, 2017 11:26 am Post

KB wrote:Er, not awkward to change the dozens of icons and built-in macOS elements? Yeah, sounds real simple and the sort of thing I can do in minutes. :)

Great! :D
"Some dice only have sixes." nom, 19 Oct 2013
"Piggy, I'm beginning to wonder if you are the best person to take advice from." Jaysen, 26 Sept 2014

Image
http://www.pigfender.com | http://www.novelinaday.com

User avatar
KB
Site Admin
Posts: 19190
Joined: Tue Jun 13, 2006 11:23 pm
Platform: Mac
Location: Truro, Cornwall
Contact:

Sun Nov 26, 2017 12:15 pm Post

pigfender wrote:
KB wrote:Er, not awkward to change the dozens of icons and built-in macOS elements? Yeah, sounds real simple and the sort of thing I can do in minutes. :)

Great! :D


:)

devinganger wrote:Out of morbid curiosity, and a fondness for the days of ResEdit, how many resources are we talking about overall, KB? Hundreds? Thousands? I get a headache just thinking about it.


You're talking around 350 images that would need variants, and so around 175 code switches for that (since all images have two variants, Retina and non-Retina). Then every background element such as header bars, footer bars, inspector bars, split view dividers and so on would need alternative drawing code. Anything using colour such as labels would need alternative ways of drawing to work with dark backgrounds. Custom button selections would need alternative drawing routines. Apple elements with no dark variant, such as outline and table header bars, would need overriding and custom drawing applied. And so on...

It took the best part of a month to implement Dark Mode in iOS, which has a fraction of the UI elements the macOS version has. So you can imagine how that would play out for macOS!

A more feasible approach would be to offer an option for using a darker grey for headers, footers and inspector backgrounds that still works with current colours and elements, and then to allow theme Preferences to do the rest.
"You can't waltz in here, use my toaster, and start spouting universal truths without qualification."

User avatar
lunk
Posts: 1741
Joined: Wed Aug 21, 2013 4:24 pm
Platform: Mac + iOS
Location: Sweden 64° N

Sun Nov 26, 2017 12:19 pm Post

ghostmonkey wrote:I frequently work in the evening or in low light environments and I find the brightness of the default Scrivener very jarring.


Having read all the posts in this thread I think you are all missing the most obvious solution:

Turn on the light! :)
(... or go to bed)

That way Scrivener won’t be perceived to be jarring. ;)

au
auxbuss
Posts: 87
Joined: Mon Nov 30, 2015 9:50 pm
Platform: Mac
Contact:

Sun Nov 26, 2017 5:39 pm Post

Ioa's Purple Haze theme is very nice, and it's a bit softer than the default.

As a more general solution for evening work, you might want to give f.lux a try. (I've used it for years and couln't imagine life with it, but I know not everyone gets on with it.)

User avatar
gr
Posts: 1593
Joined: Wed Feb 14, 2007 3:57 am
Platform: Mac + iOS
Location: Florida

Sun Nov 26, 2017 6:05 pm Post

auxbuss wrote:As a more general solution for evening work, you might want to give f.lux a try. (I've used it for years and couln't imagine life with it, but I know not everyone gets on with it.)


Or OSX's built-in Night Shift function.

But, hey, the ultimate solution for dark mode is the right pair of super-chromatic sunglasses. Because, let's face it, there are a whole lot of settings beyond the computer screen that you really need to be able to throw into Dark Mode.*

-gr

* It would also be useful if the glasses would turn completely opaque in times of peril.
gr : Scrivener user : not affiliated with Lit^Lat

"Perhaps the true book is the one on the far side of the prism."

au
auxbuss
Posts: 87
Joined: Mon Nov 30, 2015 9:50 pm
Platform: Mac
Contact:

Sun Nov 26, 2017 6:19 pm Post

gr wrote:Or OSX's built-in Night Shift function.

It really is night and day <rimshot> between the two. And flux has a lot more control,

gh
ghostmonkey
Posts: 2
Joined: Sat Nov 25, 2017 7:11 pm
Platform: Mac

Sun Nov 26, 2017 8:42 pm Post

Well I was hoping it might be a feature in future iterations of the software, but it sounds like that won't be the case. Thanks for all the replies everyone.

Also, my personal attempt at a dark mode:

https://imgur.com/a/db4UU