goldfinch / enchantment

Styled Admin theme for Silverstripe, based on Bootstrap 5
MIT License
0 stars 1 forks source link

🦅 Styled Admin theme for Silverstripe

Silverstripe Version Package Version Total Downloads License

Restyled and 🪄 enhanced admin interface for Silverstripe based on Bootstrap 5 🔮

This module does not modify any JavaScript components. It's purely replacing CSS only.

Install

composer require goldfinch/enchantment

.env

SS_THEME_ENCHANTMENT=true
SS_THEME_ENCHANTMENT_SETTINGS=true # display checkbox in settings (on/off)

Usage

Enable/Disable

The new interface is controlled by a switcher in admin/settings, for you to easily go back to the original theme if you need to. Go and do that in Settings to see the magic 🧙‍♂️ ✨✨✨

You might need to do a page hard-refresh after enabling/disabling it.

Bootstrap Icons

The icons are come with the module. Go and use it for your needs:

icons.getbootstrap.com

class MyAwesomeAdmin extends ModelAdmin
{
    private static $menu_icon_class = 'bi-fire';
}

Previews

Login page

Login screenshot

Lost password page

Lost Password screenshot

Page tree

Page Tree screenshot

Page

Page screenshot

Assets

Assets screenshot

Page Settings

Page Settings screenshot

Recommendation

This module plays nicely with dashboard goldfinch/dashboard

License

The MIT License (MIT)