This was spun off from @wesruv's comment
As a themer I looooooove that I can do all of these things with libraries. The last 3 are kind of "power-usery", but have solid use-cases, IMO. ... In D8 land you're able to do the following to libraries:
- Add new
- Remove entire library
- Add an asset to an existing library
- Remove a single asset from an existing library
- Override a single asset from an existing library
I think getting the 2nd one done would be a huge step forward, but thought the others might be worth mentioning in case we wanted to think about other potential needs.
It'd be nice to add a library removal function, or library alter. But for now I'll recommend this in the tutorial thing I'm working on.
Related: * https://www.drupal.org/docs/8/theming-drupal-8/adding-stylesheets-css-an... * https://www.drupal.org/node/2201089
Recent comments
Welcome to Backdrop! For your setup, you’ll want to create a subtheme of Bootstrap5 Lite itself; the Bootswatch styles (like Cerulean) are just presets that B5 Lite loads, and you can “lock in”...
Basic Theme designing questions, using Bootstrap5 Lite
Hi Rob, Welcome to Backdrop! Here’s a quick overview: Subtheming Bootswatch: You should create your subtheme based on Bootstrap5 Lite, not directly on a Bootswatch style....
Basic Theme designing questions, using Bootstrap5 Lite
Hi Rolf, This happens because CKEditor saves absolute or semi-absolute paths in the HTML instead of using Backdrop’s file stream wrappers (like public://). When you move your site...
Losing link to embedded pictures when moving my installation