goldfinch/enchantment

Styled Admin theme for Silverstripe, based on Bootstrap 5

Installs: 1 269

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Language:JavaScript

Type:silverstripe-vendormodule

v1.0.19 2024-05-14 01:39 UTC

README

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)