How to override Classy Base Theme CSS in Drupal 8

Submitted by Craig Clark on Tue, 04/25/2017 - 09:27
Computer screen with some sample code

You can completely override a base theme's CSS and other libraries in your file.

I recently wanted to use the classes Classy applies to templates, but not Classy's CSS

To get rid of all Classy's CSS, add the following to your file:

  classy/base: false
  classy/book-navigation: false
  classy/dialog: false
  classy/dropbutton: false
  classy/file: false
  classy/forum: false
  classy/image-widget: false
  classy/indented: false
  classy/node: false
  classy/progress: false
  classy/search-results: false
  classy/user: false

*note: spaces are important in .yml files