Skip to main content

Version 4.6.1

Stijn Willems
Front-end Developer iOS & Android

🎨 Themes​

  • Update plus logos for hmc !1355
  • Teasers for chameleon-theme-co, chameleon-theme-lt, chameleon-theme-lw and chameleon-theme-vl have been updated !1344

🚀 New Feature​

chameleon-swift​

  • In 4.6.0 the themes were no longer added one by one to the package manifest. This is reverted due to a bug in Swift package manager where it was impossible to add dependencies to a package. Swift manifest that looks for paths to folders using file manager rather then explicitly writing them.
Fix​
  • Fixes linespacing calculation in ParagraphViewModifier to make it work in SwiftUI. Linespacing was way too big.
  • The demo contains a paragraph example that shows how to use the ParagraphViewModifier in SwiftUI.
Add​
  • Add PaddingModifier to viewModifier to allow for padding to be added to a view.
  • Add ForegroundViewModifier to viewModifier to allow for foreground color to be added to a view.
  • Add TintViewModifier to viewModifier to allow for tint color to be added to a view.
  • Add ShadowViewModifier to viewModifier to allow for shadow to be added to a view.
  • Add FrameViewModifier to viewModifier to allow for frame to be added to a view.
  • Add RoundSpecificCornerViewModifier to viewModifier to allow for background color to be added to a view.