# theme.php

The config/boilerplate/theme.php file allows to define the backend theme parameters.


<?php
$theme = include __DIR__.'/themes/default.php';

$theme += [
    'navbar' => [               // Additionnal views to append items to the navbar
        'left' => [],
        'right' => [],
    ],
    'favicon' => null,          // Favicon url
    'fullscreen' => true,       // Fullscreen switch
    'darkmode' => true,         // Dark mode switch
];

return $theme;

# theme

Theme to use.

See How to change theme


Allows you to define additionnal views that will be displayed to the top bar.

See How-to add items to the top bar


# favicon

Allows you to define an url to the favicon.

If null, a default favicon will be shown.


# fullscreen

If true will show a switch to activate the full screen.


# darkmode

If true will show a switch to activate the dark mode.