libraries-override

Drupal 8 - Override Base Theme CSS

Used to be that you could simply override a stylesheet by simply removing it from your .info file (Drupal 7).
Drupal 8 has an entire new set of rules for this. Stylesheets, by default, load because it's part of your base - makes sense. At least until you want to eliminate that stylesheet in favor of your own theme's styles.

In Drupal 8, you now have a concept of libraries... which basically tells Drupal which set of tools are required to build your site. Hidden deep (not really that deep) in this toolbox is a theme.info.yml directive:

libraries-override

Subscribe to RSS - libraries-override