# `WalletPasses.Theme`
[🔗](https://gitlab.com/phinnaeus/wallet_passes/blob/main/lib/wallet_passes/theme.ex#L1)

Shared color/styling helper that produces platform-specific visual structs.

Only handles the common denominator (colors + logo text). Consumers merge
in platform-specific assets (icon paths, image URIs) themselves.

# `t`

```elixir
@type t() :: %WalletPasses.Theme{
  background_color: String.t() | nil,
  foreground_color: String.t() | nil,
  label_color: String.t() | nil,
  logo_text: String.t() | nil,
  name: String.t() | nil
}
```

# `hex_to_apple_rgb`

Converts a hex color string (#RRGGBB) to Apple's rgb(r, g, b) format.

# `to_apple_visual`

Produces an Apple.Visual from this theme's shared colors.

# `to_google_visual`

Produces a Google.Visual from this theme's shared colors.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
