SwiftTheming

A powerful lightweight theme 🎨 manager for SwiftUI

MIT License

Stars
74
Committers
3

Bot releases are hidden (Show)

SwiftTheming - Version 2.0.0 Latest Release

Published by dscyrescotti about 2 years ago

What's new in Version 2.0.0?

  • As Version 2.0.0 is intended to provide a better developer experience, the API has been changed as below.
    • The API comes with the new style of declaration of themes.
    • To provide default theme and appearance, it starts using DefaultTheming instead of injecting default values into themeProviding(defaultTheme:defaultAppearance:).
    • It no longer uses the generic types in Themed and ThemeProvider.
    • All different types of asset is needed to declare separately instead of defining in value type conforming to Assetable.
    • To access interface elements (colors, images, etc), it is no longer required to pass the instance of ThemeProvider so that all interface elements can be initialized with respective asset keys.

To see more, pls read MigrationGuide.md.

  • SwiftTheming provides the documentation that helps developers explore the API in ease.
  • Version 2.0.0 includes unit testing that covers around 95% of the API.
SwiftTheming - Version 1.1.1

Published by dscyrescotti over 2 years ago

What's new in Version 1.1.1?

  • Add support for Cocoapods installation
  • Structure source files with separate folders
SwiftTheming - Version 1.1.0

Published by dscyrescotti over 2 years ago

What's new in Version 1.1.0?

  • Add ThemeProviding property wrapper in purpose of clean syntax instead of using EnvironmentObject.
  • Add a test case for ThemeProviding
SwiftTheming - Version 1.0.1

Published by dscyrescotti almost 3 years ago

What's new in Version 1.0.1?

  • add some handy initializers for gradients
  • add some handy modifiers
SwiftTheming - Version 1.0.0

Published by dscyrescotti almost 3 years ago

This is the initial version of SwiftTheming 🎨.