Last active
February 7, 2023 01:53
-
-
Save rikki-iki/c95273bec1155977bdc6 to your computer and use it in GitHub Desktop.
Example Drupal 8 info file for removing base theme CSS or Libraries
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Extend an existing library: | |
# Ensures overrides are only added when the toolbar is available. | |
libraries-extend: | |
toolbar/toolbar.menu: | |
- my_theme/drupal | |
# Replace or remove entire libraries; | |
# Un-comment each library to exclude it's CSS, JS and Dependencies from being loaded. | |
libraries-override: | |
core/normalize: false | |
core/html5shiv: false | |
system/base: false | |
core/jquery.ui: | |
css: | |
theme: | |
assets/vendor/jquery.ui/themes/base/theme.css: false | |
# CKEDITOR | |
ckeditor_stylesheets: | |
- css/ckeditor.css | |
ckeditor5-stylesheets: | |
- css/ckeditor5.css |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment