Skip to content

Latest commit

 

History

History
50 lines (39 loc) · 1.02 KB

theme-configuration.md

File metadata and controls

50 lines (39 loc) · 1.02 KB

Theme Configuration

The configuration of the theme can be done using an YAML file. This file should be imported into your application configuration.

The theme configuration file should start as this :

tellaw_sunshine_admin:
    theme :
        logo:
            url: logo.png
            alt: logo
            external_url: false
        name: Sunshine | Dashboard

{% hint style="info" %} Note: block theme is not required. {% endhint %}

Including the file in your config :

imports:
    - { resource: parameters.yml }
    - { resource: security.yml }
    - { resource: services.yml }
...
    - { resource: sunshine/theme.yml }
...

Section Logo

This section allows you to configure the logo of your project.

...
    logo:
        url: logo.png
        alt: logo
...

| Item | Description | Required | | --- | --- | --- | --- | | url | Url of logo on project | No | | alt | The text that appears when the image is unavailable | No | | external_url | Check if logo is external url | No |