diff --git a/apps/cms/.gitignore b/apps/cms/.gitignore index 3b578cc97..9f48ed0ec 100644 --- a/apps/cms/.gitignore +++ b/apps/cms/.gitignore @@ -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 diff --git a/apps/cms/web/gutenberg.css b/apps/cms/web/gutenberg.css new file mode 120000 index 000000000..7cf95d53c --- /dev/null +++ b/apps/cms/web/gutenberg.css @@ -0,0 +1 @@ +../node_modules/@custom/ui/build/gutenberg.css \ No newline at end of file diff --git a/apps/cms/web/iframe.css b/apps/cms/web/iframe.css new file mode 120000 index 000000000..0dc61887c --- /dev/null +++ b/apps/cms/web/iframe.css @@ -0,0 +1 @@ +../node_modules/@custom/ui/build/iframe.css \ No newline at end of file diff --git a/packages/drupal-themes/custom_iframe/custom_iframe.libraries.yml b/packages/drupal-themes/custom_iframe/custom_iframe.libraries.yml index f891cf5ce..d30e7ec06 100644 --- a/packages/drupal-themes/custom_iframe/custom_iframe.libraries.yml +++ b/packages/drupal-themes/custom_iframe/custom_iframe.libraries.yml @@ -1,4 +1,4 @@ global: css: theme: - styles.css: { preprocess: false } + /iframe.css: { preprocess: false } diff --git a/packages/drupal-themes/custom_iframe/styles.css b/packages/drupal-themes/custom_iframe/styles.css deleted file mode 120000 index 61abb785c..000000000 --- a/packages/drupal-themes/custom_iframe/styles.css +++ /dev/null @@ -1 +0,0 @@ -../../ui/build/cms.css \ No newline at end of file diff --git a/packages/drupal/gutenberg_blocks/gutenberg_blocks.libraries.yml b/packages/drupal/gutenberg_blocks/gutenberg_blocks.libraries.yml index cb96e33f5..884f338e8 100644 --- a/packages/drupal/gutenberg_blocks/gutenberg_blocks.libraries.yml +++ b/packages/drupal/gutenberg_blocks/gutenberg_blocks.libraries.yml @@ -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 \ No newline at end of file + - core/drupalSettings +