# `OGMate.Theme`
[🔗](https://github.com/joladev/og_mate/blob/v0.1.0/lib/og_mate/theme.ex#L1)

Theme for OG image rendering.

## Options

* `:background` (`t:String.t/0`) - Required.

* `:foreground` (`t:String.t/0`) - Required.

* `:font` (`t:String.t/0`) - Required.

* `:secondary` (`t:String.t/0`) - Required.

* `:logo` (`t:String.t/0`)

* `:site_name` (`t:String.t/0`)

# `t`

```elixir
@type t() :: %OGMate.Theme{
  background: String.t(),
  font: String.t(),
  foreground: String.t(),
  logo: String.t() | nil,
  secondary: String.t(),
  site_name: String.t() | nil
}
```

# `schema`

Schema for theme keys. Exposed for embedding in other NimbleOptions schemas.

# `validate!`

```elixir
@spec validate!(keyword()) :: t()
```

Validate a theme keyword list, return a `%OGMate.Theme{}` struct.

---

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