feat: add a system appearance that follows macOS - #97
Open
pwuersch wants to merge 1 commit into
Open
Conversation
Resolves the new `system` case against NSApp.effectiveAppearance and observes it, so the palette and SwiftUI color scheme both track the OS. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
pwuersch
commented
Sep 1, 2026
Comment on lines
+867
to
+869
| appearanceCard(.light, "Always light", LinearGradient(colors: [Color(hex: 0xDCE9F7), .white], startPoint: .topLeading, endPoint: .bottomTrailing)) | ||
| appearanceCard(.dark, "Always dark", LinearGradient(colors: [Color(hex: 0x1B1D21), Color(hex: 0x2A2C33)], startPoint: .topLeading, endPoint: .bottomTrailing)) | ||
| appearanceCard(.system, "Follows macOS", LinearGradient( |
Author
There was a problem hiding this comment.
Perhaps something like this would be better to match the macOS settings picker:
Suggested change
| appearanceCard(.light, "Always light", LinearGradient(colors: [Color(hex: 0xDCE9F7), .white], startPoint: .topLeading, endPoint: .bottomTrailing)) | |
| appearanceCard(.dark, "Always dark", LinearGradient(colors: [Color(hex: 0x1B1D21), Color(hex: 0x2A2C33)], startPoint: .topLeading, endPoint: .bottomTrailing)) | |
| appearanceCard(.system, "Follows macOS", LinearGradient( | |
| appearanceCard(.light, "Light", LinearGradient(colors: [Color(hex: 0xDCE9F7), .white], startPoint: .topLeading, endPoint: .bottomTrailing)) | |
| appearanceCard(.dark, "Dark", LinearGradient(colors: [Color(hex: 0x1B1D21), Color(hex: 0x2A2C33)], startPoint: .topLeading, endPoint: .bottomTrailing)) | |
| appearanceCard(.system, "Auto", LinearGradient( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolves the new
systemcase against NSApp.effectiveAppearance and observes it, so the palette and SwiftUI color scheme both track the OS.In the sense of “Show me your prompt, and I'll tell you who you are” (Vadim Bauer, OSS @ Siemens 2026, page 30): I used Claude Opus 5 for this task because I'm not very familiar with Swift/SwiftUI development, but the changes look very sensible. Here's the prompt for transparency: