> ## Documentation Index
> Fetch the complete documentation index at: https://anvil.servicetitan.com/llms.txt
> Use this file to discover all available pages before exploring further.

# @servicetitan/anvil2-swift

> Release notes for @servicetitan/anvil2-swift, newest first.

Current version: **0.0.2**. Source: [`packages/anvil2-swift/CHANGELOG.md`](https://github.com/servicetitan/hammer/blob/main/packages/anvil2-swift/CHANGELOG.md).

## 0.0.2

### Patch Changes

* [#3074](https://github.com/servicetitan/hammer/pull/3074) [`9ea5560`](https://github.com/servicetitan/hammer/commit/9ea55607e50921ef54cae8c71d992ef51891c9bd) Thanks [@andrewking1235](https://github.com/andrewking1235)! - \[Anvil2Icon, Anvil2Illustration] Add the `Anvil2Icons` and `Anvil2Illustrations` libraries, generated from `@servicetitan/anvil2-icons` and `@servicetitan/anvil2-illustrations`

  * `Anvil2Icon` has one case per web `Icon*` export; tintable icons take the foreground style, and multicolour ones (`isTintable == false`) keep their own colours
  * `Anvil2Illustration` has 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 `Anvil2Components` depends on both

## 0.0.1

### Patch Changes

* [#3064](https://github.com/servicetitan/hammer/pull/3064) [`3e36538`](https://github.com/servicetitan/hammer/commit/3e36538671898869a4298df2fd7563490338dcd2) Thanks [@rollsroyc3](https://github.com/rollsroyc3)! - \[Tokens] Add `text.highlight.backgroundFallback`, a solid stand-in for `text.highlight.background` (web's gradient) on React Native, Swift, and Kotlin, which cannot render it.

  \[Text] Consume `backgroundFallback` for the `highlighted` prop's background instead of a hardcoded `rgba(188, 226, 234, 0.4)` literal.

* [#3011](https://github.com/servicetitan/hammer/pull/3011) [`1b48f54`](https://github.com/servicetitan/hammer/commit/1b48f543c4406f7033db3e29344b7860a091548e) Thanks [@andrewking1235](https://github.com/andrewking1235)! - \[Anvil2Theme] Add initial prerelease of the injectable native theme, replacing the static `Anvil2Tokens` namespace

  * Components read tokens from `@Environment(\.anvil2Theme)`; the default is `Anvil2Theme.carto`
  * A theme built from a modified lower tier re-derives every tier above it
  * Easing tokens are a SwiftUI `UnitCurve`, passed straight to `Animation.timingCurve(_:duration:)`
  * Font-family and breakpoint tokens are no longer emitted

* Updated dependencies \[[`3e36538`](https://github.com/servicetitan/hammer/commit/3e36538671898869a4298df2fd7563490338dcd2)]:
  * @servicetitan/carto-tokens\@0.4.7


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.