|
@@ -15,10 +15,11 @@ Text Domain: spearhead-blocks
|
|
|
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, rtl-language-support, theme-options, threaded-comments, translation-ready, wide-blocks
|
|
|
*/
|
|
|
/*
|
|
|
- * Dark Mode
|
|
|
+ * Dark Mode, front-end and editor
|
|
|
*/
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
- body {
|
|
|
+ body.editor-styles-wrapper,
|
|
|
+body {
|
|
|
--wp--preset--color--primary: var(--wp--preset--color--primary-dark);
|
|
|
--wp--preset--color--secondary: var(--wp--preset--color--secondary-dark);
|
|
|
--wp--preset--color--foreground: var(--wp--preset--color--foreground-dark);
|
|
@@ -26,7 +27,7 @@ Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, feature
|
|
|
}
|
|
|
}
|
|
|
/*
|
|
|
- * Excerpt audio block fixes
|
|
|
+ * Excerpt audio block spacing and width match w the original Spearhead
|
|
|
*/
|
|
|
.excerpt-audio-block .wp-block-audio {
|
|
|
margin-left: 0;
|