goldfinch/enchantment

Styled Admin theme for Silverstripe, based on Bootstrap 5

Installs: 1 404

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 1

Open Issues: 2

Language:JavaScript

Type:silverstripe-vendormodule

v1.0.21 2024-11-18 22:28 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)