# evoYTMode: plugin settings

> Every evoYTMode 1.1.1 setting with its default: mode, button, privacy, generic dark skin and licence, and how to change them with evoMCP.

## Where they are

*System → Plugins → System - evoYTMode (light and dark mode for YOOtheme Pro)*. The plugin has four tabs: **Settings**, **Privacy**, **Generic skin** and **License**. The settings affect the whole public site. The builder’s **Colour mode** element has its own options, described in the [reference](https://evoaddons.com/en/documentation/evoytmode-reference).

Anything not recognised goes back to its default: the plugin normalises every setting before using it.

## Settings tab

| What it does | Setting | Default |
| --- | --- | --- |
| Mode shown to a visitor who has not chosen yet. In automatic mode the visitor’s system preference is followed. Values: Automatic, Light, Dark. | Default mode | Automatic |
| How the site looks without this plugin. If the theme is already dark, choose “Dark”. It is also the mode used in automatic when the visitor’s system expresses no preference. | Native look of the site | Light |
| “Three: automatic, light and dark” cycles through all three; “Two: light and dark” only toggles between light and dark. | Button states | Three |
| Where the button is added automatically (see below). | Button position | Header corner (and next to the menu on mobile) |
| Shows the mode name next to the icon on floating buttons. The header corner button is always icon only. | Show text | No |
| Style of the button icons: “Outline” or “Filled”. | Icons | Outline |
| Button name for screen readers. Leave empty to use the one in the site language. Maximum 60 characters, no tags. | Accessible text | Empty |

### Button position

- **Header corner (and next to the menu on mobile).** On desktop the button is added at the top right of the YOOtheme header (`.tm-header`; if it does not exist, the first one found among `body > header`, `header[role="banner"]` and `[role="banner"]`). On mobile it goes next to the menu button. If the page has no header at all, the button becomes a floating one at the bottom right.
- **Floating bottom right, bottom left, top right, top left.** A fixed button in that corner of the screen.
- **None (I use the element).** Nothing is added. You use the builder element or a link with `data-evo-mode-toggle`.

## Privacy tab

| What it does | Setting | Default |
| --- | --- | --- |
| Where the browser remembers the mode the visitor picked. “Yes, in the browser and with an expiry” uses local storage; “Only for the session (cleared when the tab closes)” uses session storage; “No (always the default mode; nothing is stored)” writes nothing. | Remember the choice | Yes, in the browser and with an expiry |
| From 1 to 24 months after the visitor chose. After that the choice is discarded and deleted. Only shown with “Yes, in the browser and with an expiry”. | Months it is remembered | 12 |

The tab also holds the “What is stored in the browser” note and a suggested text for your cookie policy, reproduced in [data it handles](https://evoaddons.com/en/documentation/evoytmode-data).

## Generic skin tab

| What it does | Setting | Default |
| --- | --- | --- |
| Off, the plugin only changes the `data-evo-mode` attribute and the browser colour scheme. On, it applies the UIkit skin in the mode opposite to the native look of the site. | Enable the generic skin | No |
| Three or six digit hexadecimal. Empty uses the default colour. | Background colour | Empty |
| Same. | Surface colour (cards, menus) | Empty |
| Same. | Text colour | Empty |
| Same. | Heading colour | Empty |
| Same. | Muted text colour | Empty |
| Same. | Border colour | Empty |
| Same. | Accent colour (links and primary button) | Empty |

The colour fields only appear when the skin is on. A value that is not hexadecimal is discarded, so no arbitrary CSS can get in that way.

Default colours, by the mode the skin applies to:

| Dark skin (light native look) | Colour | Light skin (dark native look) |
| --- | --- | --- |
| `#0f1115` | Background | `#ffffff` |
| `#181b21` | Surfaces | `#f5f6f8` |
| `#c9ced6` | Text | `#2b2f36` |
| `#ffffff` | Headings | `#0f1115` |
| `#8b93a1` | Muted text | `#6b7280` |
| `#2a2f38` | Borders | `#d9dde3` |
| `#4da3ff` | Accent | `#0b5fff` |

## License tab

It shows the licence status and the “Check now” and “Remove” buttons. The Download ID is pasted in *System → Update Sites*; the procedure is in [installation](https://evoaddons.com/en/documentation/evoytmode-install).

## Change settings with evoMCP

If evoMCP is installed, the plugin announces itself, with no extra plugin:

- `evoytmode_get_settings` reads every setting.
- `evoytmode_set_settings` changes them with strict validation, supports `dry_run` and requires human approval, because it changes how the public site looks.
- `evoytmode_status` reports the state of the plugin.

The parameters are in the [reference](https://evoaddons.com/en/documentation/evoytmode-reference).

---

https://evoaddons.com/en/documentation/evoytmode-settings
