I'm trying to disable the CSS styles from the layout discovery module in my theme.info.yml file. I've tried several options, but I can't seem to get it to work. This is what I have now.
libraries-override:
core/layout_discovery:
css:
theme:
core/modules/layout_discovery/layouts/twocol/twocol.css: false
The CSS styles can be removed using stylesheets-remove
at the moment, but that property has been deprecated. It does seem work at the moment, though.
I would like to find the proper way to remove the CSS stules using libraries-override, if I can.
stylesheets-remove:
- core/modules/layout_discovery/layouts/onecol/onecol.css