All Projects → mackuba → DarkModeSwitcher

mackuba / DarkModeSwitcher

Licence: WTFPL license
Simple app for overriding light mode per app on macOS (demo for a blog post)

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to DarkModeSwitcher

Swiftwebui
A demo implementation of SwiftUI for the Web
Stars: ✭ 3,663 (+9800%)
Mutual labels:  swiftui, swiftui-example
ios-sketch-elements
iOS SwiftUI starter kit based on Sketch Elements.
Stars: ✭ 34 (-8.11%)
Mutual labels:  swiftui, swiftui-example
Swiftui
`SwiftUI` Framework Learning and Usage Guide. 🚀
Stars: ✭ 3,989 (+10681.08%)
Mutual labels:  swiftui, swiftui-example
SuperShapes
A tiny macOS app showing how to use Satin, Forge, Youi and SwiftUI to visualize super shapes in 3D.
Stars: ✭ 42 (+13.51%)
Mutual labels:  swiftui, swiftui-example
icecream swiftui
No description or website provided.
Stars: ✭ 70 (+89.19%)
Mutual labels:  swiftui, swiftui-example
Beers
SwiftUI Experiment - Shows a list of beers fetched from Punk API (https://punkapi.com/), includes detail view for each beer
Stars: ✭ 20 (-45.95%)
Mutual labels:  swiftui, swiftui-example
Swiftui Tutorials
A code example and translation project of SwiftUI. / 一个 SwiftUI 的示例、翻译的教程项目。
Stars: ✭ 1,992 (+5283.78%)
Mutual labels:  swiftui, swiftui-example
SwiftyIllustrator
A tool for quickly converting Adobe Illustrator shapes into SwiftUI code.
Stars: ✭ 26 (-29.73%)
Mutual labels:  swiftui, swiftui-example
NativeMarkKit
NativeMark is a flavor of Markdown designed to be rendered by native apps.
Stars: ✭ 36 (-2.7%)
Mutual labels:  appkit, swiftui
OnlySwitch
⚙️ All-in-One menu bar app, hide 💻MacBook Pro's notch, dark mode, AirPods, Shortcuts
Stars: ✭ 1,288 (+3381.08%)
Mutual labels:  dark-mode, swiftui
Movie Trailers SwiftUI
A simple app which shows the lastest movies trailers based on different genres developed using SwiftUI.
Stars: ✭ 51 (+37.84%)
Mutual labels:  swiftui, swiftui-example
SwiftUIDemo
A demo app showing you how to build a table view and navigation interface with SwiftUI
Stars: ✭ 26 (-29.73%)
Mutual labels:  swiftui, swiftui-example
StoryboardPreviewsBySwiftUI
Introduce how to make the Storyboard file and Xib file correspond to the preview function by SwiftUI.
Stars: ✭ 35 (-5.41%)
Mutual labels:  swiftui, swiftui-example
swiftui-example
SwiftUI 示例,技巧和技术集合,帮助我构建应用程序,解决问题以及了解SwiftUI的实际工作方式。
Stars: ✭ 109 (+194.59%)
Mutual labels:  swiftui, swiftui-example
SwiftUIRealtimeShoppingCart
SwiftUI Collaborative Shopping Cart with Firestore Database
Stars: ✭ 34 (-8.11%)
Mutual labels:  swiftui, swiftui-example
Hush
Noiseless Browsing – Content Blocker for Safari
Stars: ✭ 1,987 (+5270.27%)
Mutual labels:  swiftui, swiftui-example
NYTimes-iOS
🗽 NY Times is an Minimal News 🗞 iOS app 📱 built to describe the use of SwiftSoup and CoreData with SwiftUI🔥
Stars: ✭ 152 (+310.81%)
Mutual labels:  swiftui, swiftui-example
RRSettingsKit
A beautiful customizable settings screen created in SwiftUI
Stars: ✭ 118 (+218.92%)
Mutual labels:  swiftui, swiftui-example
Clean Architecture Swiftui
SwiftUI sample app using Clean Architecture. Examples of working with CoreData persistence, networking, dependency injection, unit testing, and more.
Stars: ✭ 2,925 (+7805.41%)
Mutual labels:  swiftui, swiftui-example
ridesharing-ios
Ridesharing driver & rider sample apps using HyperTrack SDK
Stars: ✭ 97 (+162.16%)
Mutual labels:  swiftui, swiftui-example

Dark Mode Switcher

This is a demo app I've built as an experiment in using SwiftUI with AppKit, as described in this blog post: https://mackuba.eu/2019/06/17/swiftui-appkit-dark-mode-switcher/.

The app lets you force any other app to use a light mode when the whole desktop uses a dark mode. Unfortunately there doesn't seem to be any way now to do the opposite (use dark mode only in specific apps).

This isn't really a great app, it's mostly useful as sample code - it works pretty slowly because of the constant AutoLayout constraint errors, which I don't know how to fix. So I'm not providing any binaries - if you really want to try it, just download the code and build it.

August 2020 update: I've updated the code to work with stable Xcode 11 and made some minor improvements.

License

Copyright © 2020 Kuba Suder. The entire code of the app is licensed under WTFPL License - this is intended to be example code after all, so feel free to take whatever parts you need and use them for anything you need.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].