Sunshine Admin Bundle
  • Sunshine Admin Bundle
  • Setup
  • Theme Configuration
  • YAML Entity configuration
  • YAML Entity List Sort
  • Menu Configuration
  • Field type and overrides
  • Entity Relations
  • Filtering : Default values
  • Filtering : Options multiple
  • Filtering : Custom values in Select2 lists
  • Roles & Permissions
  • Creating a page
  • Widgets
  • Generic Widgets : LIST
  • Tuto - 1/x - Create SF4 Project
Powered by GitBook
On this page

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

Note: block theme is not required.

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

PreviousSetupNextYAML Entity configuration

Last updated 7 years ago