TintedThemingSwift #75
aspauldingcode
started this conversation in
Show and tell
Replies: 1 comment 2 replies
-
|
Hey, I didn't get a notification for this (and nor did anyone else it seems) so it was missed. This is great! Would you want to move it into the tinted-theming github org and maintain it there? If not we can link to it from the tinted-theming/home readme. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
https://github.com/aspauldingcode/TintedThemingSwift
a Swift package dependency for Xcode and Swift projects, now available on GitHub.
This package builds on the Tinted Theming Schemes repo, which provides a wide variety of Base16 and Base24 themes. With it, you can:
• Access all BaseXX colors directly through an API
• Define semantic colors for your SwiftUI projects
• Load the latest themes directly from the schemes repo
• View author and variant metadata with credits
In short, it’s a framework to bring Base16/Base24 color schemes seamlessly into your Swift apps.
How it works:
• Expose a template of Base16 or Base24 colors to your UI elements (buttons, backgrounds, text, etc.)
• Use the standard 8 color slots in Base16 for colored elements (for example, base0C = green, base0F = red)
• Choose light or dark backgrounds (base00 through base07)
• Automatically support light/dark mode based on the system toggle
The API is fully documented in the GitHub Wiki:
https://github.com/aspauldingcode/TintedThemingSwift/wiki/Documentation
Beta Was this translation helpful? Give feedback.
All reactions