Skip to content

Add support for Color(.systemBackground)#347

Merged
marcprux merged 3 commits intoskiptools:mainfrom
dfabulich:color-system-background
Mar 5, 2026
Merged

Add support for Color(.systemBackground)#347
marcprux merged 3 commits intoskiptools:mainfrom
dfabulich:color-system-background

Conversation

@dfabulich
Copy link
Contributor

@dfabulich dfabulich commented Mar 4, 2026

Fixes #278

While I was in there, I removed the confusingly named Color.systemBackground, which was nothing like UIColor.systemBackground; it was a grey color set to systemBarBackground. (I updated the only caller to use Color.systemBarBackground.)

Skip Pull Request Checklist:


  • AI was used to generate or assist with generating this PR. Please specify below how you used AI to help you, and what steps you have taken to manually verify the changes.

I did the first two commits by hand, and let Cursor Kimi 2.5 do the Fuse support, which I tested in Fuse Showcase.


`Color.systemBackground` sounds too much like `UIColor.systemBackground`, but `UIColor.systemBackground` actually `Color.background`.

`Color.systemBackground` is defined as a synonym for `systemBarBackground`, and it's only used in one place in `List.swift`, so I've updated `List.swift` to use `Color.systemBarBackground` and removed the confusingly named `Color.systemBackground`.
@marcprux
Copy link
Member

marcprux commented Mar 5, 2026

Nice, thanks!

@marcprux marcprux merged commit e6efac8 into skiptools:main Mar 5, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Color(UIColor.systemBackground)

2 participants