packages/anvil2-swift/CHANGELOG.md.
0.0.2
Patch Changes
-
#3074
9ea5560Thanks @andrewking1235! - [Anvil2Icon, Anvil2Illustration] Add theAnvil2IconsandAnvil2Illustrationslibraries, generated from@servicetitan/anvil2-iconsand@servicetitan/anvil2-illustrationsAnvil2Iconhas one case per webIcon*export; tintable icons take the foreground style, and multicolour ones (isTintable == false) keep their own coloursAnvil2Illustrationhas one case per illustration; each image resolves to its light or dark variant from the current appearance- Both ship as SVG asset catalogs with preserved vector data, and
Anvil2Componentsdepends on both
0.0.1
Patch Changes
-
#3064
3e36538Thanks @rollsroyc3! - [Tokens] Addtext.highlight.backgroundFallback, a solid stand-in fortext.highlight.background(web’s gradient) on React Native, Swift, and Kotlin, which cannot render it. [Text] ConsumebackgroundFallbackfor thehighlightedprop’s background instead of a hardcodedrgba(188, 226, 234, 0.4)literal. -
#3011
1b48f54Thanks @andrewking1235! - [Anvil2Theme] Add initial prerelease of the injectable native theme, replacing the staticAnvil2Tokensnamespace- Components read tokens from
@Environment(\.anvil2Theme); the default isAnvil2Theme.carto - A theme built from a modified lower tier re-derives every tier above it
- Easing tokens are a SwiftUI
UnitCurve, passed straight toAnimation.timingCurve(_:duration:) - Font-family and breakpoint tokens are no longer emitted
- Components read tokens from
-
Updated dependencies [
3e36538]:- @servicetitan/carto-tokens@0.4.7