Bootswatch theme is not applied

Created on 31 January 2025, 24 days ago

Problem/Motivation

Drupal 10.4, has changed the way it orders assets (see https://www.drupal.org/node/3473558 )
As a result the Bootswatch library CSS file (if used) is loaded before Bootstrap's CSS and it looks like it's not applied at all.

Steps to reproduce

1. Install Drupal >=10.4
2. Enable Bootstrap5 Admin and chose a Bootswatch theme
3. ?
4. Profit

Proposed resolution

Asset ordering now only follows dependency definitions and weight, so we just need to add a dependency to bootstrap5_admin/cdn to every bootswatch library, patch attached.

🐛 Bug report
Status

Active

Version

1.1

Component

Code

Created by

🇬🇧United Kingdom villette

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

Comments & Activities

Production build 0.71.5 2024