literary-screensaver icon indicating copy to clipboard operation
literary-screensaver copied to clipboard

Dark/Night Mode

Open AntTargett opened this issue 6 years ago • 6 comments

Hey James, Awesome project, a feature I would love to see is a dark/night mode Any chance of implementing it?

AntTargett avatar Aug 08 '18 03:08 AntTargett

Looks like it's possible to include a "configuration sheet" for the screensaver which defines the different options that can be selected - https://developer.apple.com/documentation/screensaver/screensaverview/1512486-configuresheet

Once that's worked out, it would be a case of choosing the colours for the dark mode :)

disposedtrolley avatar Aug 08 '18 10:08 disposedtrolley

0.3-beta has been released with a default dark mode experience - https://github.com/disposedtrolley/literary-screensaver/releases/tag/0.3-beta

disposedtrolley avatar Aug 08 '18 11:08 disposedtrolley

I'm happy to make a start on the configSheet UI if you haven't already.

Disclaimer: I've never made a screensaver, written Swift, or used XCode before. So I have no idea what I'm doing :)

keithamoss avatar Aug 15 '18 23:08 keithamoss

Go for it! Swift is relatively easy to learn and this would make a great learning experience. I think the official documentation is a bit sparse on config sheets though last time I checked - might have to look at some other screensaver projects for guidance.

disposedtrolley avatar Aug 15 '18 23:08 disposedtrolley

Yeah, compared to what I'm used to in Python/Web/et cetera land I'm a little shocked to find how woeful the official Apple doco is.

There's a few nice reference projects like https://github.com/erikdoe/swift-circle which look like they'll provide a sound basis to crib from.

keithamoss avatar Aug 15 '18 23:08 keithamoss

It’s pretty great for iOS/UIKit stuff. I think there’s been a lack of focus on macOS dev in the past few years sadly. Good luck and shout out if you need any help!

disposedtrolley avatar Aug 16 '18 11:08 disposedtrolley