# Theme

> Represents the Bootstrap theme colors applied through the theme-{value} classes.

[API reference](/docs/api/index.md) › [Bootstrap 6](/docs/extensions/bootstrap6/reference/index.md) › [enum](/docs/extensions/bootstrap6/reference/enum/index.md) › Theme

| enum | `yii2\extensions\bootstrap6\enum\Theme` |
| --- | --- |
| Backed by | `string` |
| Source | [`src/enum/Theme.php`](https://github.com/yii2-extensions/bootstrap6/blob/main/src/enum/Theme.php#L10) |

Represents the Bootstrap theme colors applied through the `theme-{value}` classes.

## Cases

| Case | Value | Description |
| --- | --- | --- |
| <span id="case-ACCENT"></span>`ACCENT` | `'accent'` | Applies the accent theme color. |
| <span id="case-DANGER"></span>`DANGER` | `'danger'` | Applies the danger theme color. |
| <span id="case-INFO"></span>`INFO` | `'info'` | Applies the informational theme color. |
| <span id="case-INVERSE"></span>`INVERSE` | `'inverse'` | Applies the inverse theme color. |
| <span id="case-PRIMARY"></span>`PRIMARY` | `'primary'` | Applies the primary theme color. |
| <span id="case-SECONDARY"></span>`SECONDARY` | `'secondary'` | Applies the secondary theme color. |
| <span id="case-SUCCESS"></span>`SUCCESS` | `'success'` | Applies the success theme color. |
| <span id="case-WARNING"></span>`WARNING` | `'warning'` | Applies the warning theme color. |