Skip to content

Commit

Permalink
refactor(SLB-201): load stylesheets via symlinks to node_modules/@cus…
Browse files Browse the repository at this point in the history
…tom/ui
  • Loading branch information
pmelab committed Jan 23, 2024
1 parent 67dba86 commit 28e981e
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 6 deletions.
4 changes: 4 additions & 0 deletions apps/cms/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,9 @@ generated/translations.json
# GraphQL autoload registry
autoload.json

# Stylesheet symlinks into the ui package
!/web/gutenberg.css
!/web/iframe.css

# A workaround to avoid turbo caching locally.
turbo-seed.txt
1 change: 1 addition & 0 deletions apps/cms/web/gutenberg.css
1 change: 1 addition & 0 deletions apps/cms/web/iframe.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
global:
css:
theme:
styles.css: { preprocess: false }
/iframe.css: { preprocess: false }
1 change: 0 additions & 1 deletion packages/drupal-themes/custom_iframe/styles.css

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
edit:
version: VERSION
js:
js/gutenberg_blocks.umd.js: { }
js/gutenberg_blocks.umd.js: {}
css:
theme:
css/edit.css: { }
css/edit.css: {}
dependencies:
- gutenberg/edit-node
- silverback_gutenberg/base
customisations:
css:
theme:
css/ui.css: { preprocess: false }
/gutenberg.css: { preprocess: false }
dependencies:
- core/drupalSettings
- core/drupalSettings

0 comments on commit 28e981e

Please sign in to comment.