PluginProbe
Extendify / trunk
Extendify vtrunk
3.2.1 3.2.0 3.1.6 3.1.5 3.1.4 3.1.3 3.1.2 3.1.1 3.1.0 3.0.6 3.0.5 3.0.4 trunk 0.1.0 0.10.0 0.10.1 0.10.2 0.11.0 0.11.1 0.2.0 0.3.0 0.3.1 0.4.0 0.5.0 0.6.0 All 127 releases
← All changes | src/Agent/workflows/theme/components/change-site-design/DesignOption.jsx +4 -0 3.1.3 → trunk View file →
@@ -56,8 +56,9 @@
56 56 el.remove();
57 57 });
58 58
59 59 clone.querySelector('#block-style-variation-styles-inline-css')?.remove();
60 + clone.querySelector('#extendify-palette-preview-css')?.remove();
60 61 clone.querySelector('#admin-bar-inline-css')?.remove();
61 62 clone.querySelector('#admin-bar-css')?.remove();
62 63 clone.querySelector('#extendify-toolbar-reset')?.remove();
63 64 body.classList.remove('admin-bar');
@@ -65,8 +66,10 @@
65 66 // Inject variation styles
66 67 const styleEl = head.appendChild(document.createElement('style'));
67 68 styleEl.textContent = [
68 69 styles?.colorAndFontsVariations ?? '',
70 + // Ties the option on specificity, so it only wins by coming after it.
71 + styles?.paletteCss ?? '',
69 72 styles?.vibes ?? '',
70 73 styles?.blockSupportsCss ?? '',
71 74 ].join('\n');
72 75
@@ -108,8 +111,9 @@
108 111 [
109 112 renderedHtml,
110 113 styles?.linkStyles,
111 114 styles?.colorAndFontsVariations,
115 + styles?.paletteCss,
112 116 styles?.duotoneTheme,
113 117 styles?.vibes,
114 118 styles?.blockSupportsCss,
115 119 ],