Skip to content

raindropdevs/RaindropSonataThemeBundle

Repository files navigation

RaindropSonataThemeBundle

Raindrop themes bundle for SonataAdminBundle (2.3+)

Themes are taken from http://bootswatch.com/

INSTALLATION:

First add the dependency to your composer.json file:

"require": {
    ...
    "raindrop/sonata-theme-bundle": "dev-master"
},

Then install the bundle with the command:

php composer.phar update

Enable the bundle in your application kernel:

<?php
// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new Raindrop\SonataThemeBundle\RaindropSonataThemeBundle('SonataAdminBundle'),
    );
}

Now the bundle is enabled.

CONFIGURATION:

raindrop_sonata_theme:
    theme: default

AVAILABLE THEMES

  • cerulean
  • cosmo
  • cyborg
  • darkly
  • default
  • flatly
  • journal
  • lumen
  • paper
  • readable
  • sandstone
  • simplex
  • slate
  • spacelab
  • superhero
  • united
  • yeti