-
-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(settings): Ventura-style Settings overhaul (#141)
* feat (settings): inital new settings UI Follows macOS Ventura settings style, enabled by default * patch (settings): match window resizing behaviour to that of macOS Settings * feat (settings): add ability to set sidebar icon from assets * patch (settings): move to Settings instead of Window * feat (settings): re-add footer settings button with working selector turns out the selector still worked, just under a new name refactor: user footer to be closer in styling to the official client’s one * fix(settings): only patch window if new settings style active force-unwrapping an optional to find the underlying Settings NSWindow caused a crash on macOS 12 fixes #144 * feat(settings): migrate most existing settings views to ventura style * patch(settings): update sidebar icon/colors * feat(settings): port all existing views to ventura style As far as possible, the Form + Section pattern has been used for all settings views * patch(settings): credits page touchup patch(settings): update sidebar icon for “voice and video” * patch(settings): move profile sidebar item into its own section with no title Just like macOS’ system settings * patch(settings): final cleanups * fix some UI issues in the Accessibility page * move sidebar toggle hide code to View extension * feat(settings): major user profile ui improvements
- Loading branch information
1 parent
74e03f5
commit 81cedba
Showing
28 changed files
with
1,073 additions
and
571 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
20 changes: 20 additions & 0 deletions
20
Swiftcord/Assets.xcassets/NitroPink.colorset/Contents.json
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"colors" : [ | ||
{ | ||
"color" : { | ||
"color-space" : "srgb", | ||
"components" : { | ||
"alpha" : "1.000", | ||
"blue" : "0xFA", | ||
"green" : "0x73", | ||
"red" : "0xFF" | ||
} | ||
}, | ||
"idiom" : "universal" | ||
} | ||
], | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
Swiftcord/Assets.xcassets/ServerBoost.imageset/Contents.json
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"images" : [ | ||
{ | ||
"filename" : "ServerBoost.svg", | ||
"idiom" : "universal" | ||
} | ||
], | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
} | ||
} |
2 changes: 2 additions & 0 deletions
2
Swiftcord/Assets.xcassets/ServerBoost.imageset/ServerBoost.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.