# evoAdmin reference

> evoAdmin reference: what it installs, what it inherits from evoTheme and YOOtheme, contrast correction, logo rules, typography and the login screen.

evoAdmin changes the look of the panel. It adds no screens, evoMCP tools, REST API, scheduled tasks or permissions of its own.

## What it installs

| Extension | Type | Role |
| --- | --- | --- |
| `pkg_evoadmin` | Package | Bundles the template and the plugin. |
| `tpl_evoadmin` | Administrator template | Child of Atum. Ships the evoAddons starting colours, the Inter and JetBrains Mono fonts hosted locally and the `user.css` stylesheet. |
| `plg_system_evoadmin` | System plugin | Works out the brand and applies it. It only acts when the active template is evoAdmin. |

## What it takes from each brand

| Item | evoTheme | YOOtheme |
| --- | --- | --- |
| Accent | Light and dark | The default style's (`@global-primary-background`); a single value for both modes |
| Body typography | Yes | Yes (`@base-body-font-family`) |
| Corners | Yes, 0 to 24 px | No: YOOtheme has no single radius |
| Logos | Yes | Yes: logo, inverse logo and mobile logo |

Backgrounds, text and borders stay the neutral evoUI ones, so the panel reads the same with any brand. YOOtheme is only read: evoAdmin never writes to its settings. If a site has both evoTheme and YOOtheme, they are not mixed: with "Automatic" the site's default template decides.

## Contrast

- **Light mode:** the accent is darkened, in 2% steps, until it has 4.5:1 on white. Text on the accent is white or the evoUI dark ink, whichever gives better contrast.
- **Dark mode:** the accent is lightened until it has 4.5:1 on the dark surface (`#171d33`).
- The colour in use is the corrected one, not the original.

## Logos

- The large sidebar logo is the dark-background one, with the light one as a fallback. The small one is the mobile logo.
- Only relative image paths on the site itself are accepted: no `https:`, `data:`, `..` or absolute paths.
- With YOOtheme, if the style has no inverse logo, the sidebar uses the regular logo, which may lose contrast on the dark background. In that case set the inverse logo in YOOtheme or a custom logo in the evoAdmin style.

## Typography

The administrator does not load the YOOtheme theme CSS, so evoAdmin declares the faces (`@font-face`) of the brand's body font itself:

- **YOOtheme:** it reads them from the compiled theme CSS (`templates/yootheme/css/theme.<style id>.css`) and only accepts blocks whose family matches the first one in the body font stack.
- **evoTheme:** it uses the own faces declared in its brand tokens, if they are `.woff2` or `.woff` files on the site.

Each block is sanitised against an allow list: only `font-family`, `font-style`, `font-weight`, `font-display`, `unicode-range` and `src`, with `.woff2`, `.woff` or `.ttf` font paths that exist on the site. External URLs are dropped. There are size caps (2 MiB of CSS, 40 blocks, 4,000 characters per block).

If there are no faces, or something fails, the stack keeps Inter behind the brand font (`"Heebo", Inter, system-ui…`) and no error is raised. A stack that starts with a generic family such as `system-ui` is left as it is. With a serif brand, the fallback is Inter.

The YOOtheme result is stored in the Joomla cache (group `plg_system_evoadmin`): 24 hours when faces are found and 5 minutes when they are not.

## Login screen

- The website's logo, in light and dark (following the panel or system mode), when a brand is inherited and you have not picked a login logo.
- The heading "Administrator Login" (en-GB) or "Inicio de sesión a la administración" (es-ES), instead of Atum's.
- Joomla's links box (help, forum, documentation and news) is hidden.

## How it works

1. Before Joomla runs Atum's `index.php` (the `onAfterDispatch` event), it fills empty parameters with the evoAddons values and the brand logos.
2. In `onBeforeCompileHead` it adds the brand CSS inline: font faces, evoUI variables, the dark version and Atum's link colours. Every value is validated again before it is written.

No outbound requests and no data of its own. More in [data we process](https://evoaddons.com/en/documentation/evoadmin-data).

---

https://evoaddons.com/en/documentation/evoadmin-reference
