Add integration with the Style Guide module

Created on 4 October 2024, 3 months ago

Problem/Motivation

I'm using the Style Guide module in the creation of a custom theme in order to ensure proper styling of all our site elements. The Sitewide Alert module is part of our standard installation profile, so naturally I want to make sure our alerts are themed too. In the past I've created a page with every type of alert displayed on it for theming, but today I got the idea to see if I could programmatically generate alerts and display them on the style guide. I was successful! So I decided to share the code with the rest of the community. Maybe other people will find it useful.

Proposed resolution

Add a Styleguide plugin that outputs every type of configured Sitewide Alert.

✨ Feature request
Status

Active

Version

2.0

Component

User interface

Created by

πŸ‡ΊπŸ‡ΈUnited States dcam

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024