Hi there,
I'm currently developing a new theme for Drupal 8. I really like the markup of Classy, using classes like menu--main
in the markup. Primarily, I'm just using Classy's markup and implementing my own CSS styles. So, often I need to remove Classy's stylesheets or overwrite styles. I know, that you can remove stylesheets one by one, by adding a line for each stylesheet in .info.yml file, like:
stylesheets-remove:
- '@classy/css/components/field.css'
However, there are over 25 individual Classy CSS files, which I would like to remove with just a single line. Also to avoid keeping track of Classy's CSS files in the future, as I'm just interested in the markup for hooking in with my own stylesheets. I have already tried '@classy/css/components/*'
, but it didn't work. Is it possible?
Cheers,
Tolga
//Edit: I've just found the freshly implemented libraries-override
, which did the job. After adding
libraries-override:
classy/base: false
into my .info.yml file, only 2 Classy CSS files remained. That is just what I was looking for. I'm using 8.0.0-rc1 btw.