CSS file bootstrap-icons.css not inherited by a subtheme

Created on 9 November 2023, about 1 year ago
Updated 12 April 2024, 8 months ago

Problem/Motivation

The css file bootstrap-icons.css is not added in a subtheme.
Icons can not be used !

Steps to reproduce

Create a subtheme from the theme configuration page.
Set the newly created theme as the default one and then view the source code of the pages, while most of css files of the parent theme (bootstrap5) are attached, not the file bootstrap-icons.css (dist/icons/1.11.0/font/bootstrap-icons.css).

Proposed resolution

A workaround is of course possible but what would the best solution to have it attached without any workaround.
One solution would be to move it under "base:" in the libraries file bootstrap5.libraries.yml.

Remaining tasks

User interface changes

No changes.

API changes

No changes.

Data model changes

No changes.

🐛 Bug report
Status

Closed: duplicate

Version

4.0

Component

Code

Created by

🇨🇭Switzerland motame

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

Comments & Activities

Production build 0.71.5 2024