Browse Source

Barnsbury: Adding background color to Media & Text block

Allan Cole 6 years ago
parent
commit
8a0943c78c

+ 1 - 1
barnsbury/sass/_config-child-theme-deep.scss

@@ -75,7 +75,7 @@ $config-global: (
 		),
 		"background": (
 			"default": #FFFDF6,
-			"light": #FAFAFA, // must be accessible against foreground-default
+			"light": #FDF9EC, // must be accessible against foreground-default
 			"dark": #DDDDDD, // must be accessible against foreground-default
 		),
 		"border": (

+ 4 - 0
barnsbury/sass/_extra-child-theme.scss

@@ -122,3 +122,7 @@ a {
 .wp-block-cover-image {
 	background-color: map-deep-get($config-global, "color", "foreground", "dark");
 }
+
+.entry .entry-content .wp-block-media-text {
+	background-color: map-deep-get($config-global, "color", "background", "light");
+}

+ 3 - 3
barnsbury/style-editor.css

@@ -315,7 +315,7 @@ object {
 }
 
 .wp-block-button .wp-block-button__link:hover, .wp-block-button .wp-block-button__link:focus, .wp-block-button .wp-block-button__link.has-focus {
-	color: ("default": #FFFDF6, "light": #FAFAFA, "dark": #DDDDDD);
+	color: ("default": #FFFDF6, "light": #FDF9EC, "dark": #DDDDDD);
 	background-color: #133a24;
 }
 
@@ -635,7 +635,7 @@ table th,
 }
 
 .has-background-light-color[class] {
-	color: #FAFAFA !important;
+	color: #FDF9EC !important;
 }
 
 .has-background-dark-color[class] {
@@ -697,7 +697,7 @@ table th,
 }
 
 .has-background-light-background-color[class] {
-	background-color: #FAFAFA !important;
+	background-color: #FDF9EC !important;
 	color: #3C2323;
 }
 

+ 4 - 4
barnsbury/style-rtl.css

@@ -1129,7 +1129,7 @@ input:focus[type="submit"],
 input.has-focus[type="submit"],
 .has-focus.wp-block-button__link,
 .has-focus.wp-block-file__button, .has-focus.a8c-posts-list__view-all {
-	color: ("default": #FFFDF6, "light": #FAFAFA, "dark": #DDDDDD);
+	color: ("default": #FFFDF6, "light": #FDF9EC, "dark": #DDDDDD);
 	background-color: #133a24;
 }
 
@@ -1333,7 +1333,7 @@ input.has-focus[type="submit"],
 .wp-block-file a.wp-block-file__button:focus,
 .wp-block-file a.wp-block-file__button:hover,
 .wp-block-file a.wp-block-file__button:visited {
-	color: ("default": #FFFDF6, "light": #FAFAFA, "dark": #DDDDDD);
+	color: ("default": #FFFDF6, "light": #FDF9EC, "dark": #DDDDDD);
 	opacity: .85;
 }
 
@@ -2025,7 +2025,7 @@ table th,
 }
 
 .has-background-light-color[class] {
-	color: #FAFAFA !important;
+	color: #FDF9EC !important;
 }
 
 .has-background-dark-color[class] {
@@ -2082,7 +2082,7 @@ table th,
 }
 
 .has-background-light-background-color[class] {
-	background-color: #FAFAFA !important;
+	background-color: #FDF9EC !important;
 	color: #3C2323;
 }
 

+ 8 - 4
barnsbury/style.css

@@ -1129,7 +1129,7 @@ input:focus[type="submit"],
 input.has-focus[type="submit"],
 .has-focus.wp-block-button__link,
 .has-focus.wp-block-file__button, .has-focus.a8c-posts-list__view-all {
-	color: ("default": #FFFDF6, "light": #FAFAFA, "dark": #DDDDDD);
+	color: ("default": #FFFDF6, "light": #FDF9EC, "dark": #DDDDDD);
 	background-color: #133a24;
 }
 
@@ -1333,7 +1333,7 @@ input.has-focus[type="submit"],
 .wp-block-file a.wp-block-file__button:focus,
 .wp-block-file a.wp-block-file__button:hover,
 .wp-block-file a.wp-block-file__button:visited {
-	color: ("default": #FFFDF6, "light": #FAFAFA, "dark": #DDDDDD);
+	color: ("default": #FFFDF6, "light": #FDF9EC, "dark": #DDDDDD);
 	opacity: .85;
 }
 
@@ -2030,7 +2030,7 @@ table th,
 }
 
 .has-background-light-color[class] {
-	color: #FAFAFA !important;
+	color: #FDF9EC !important;
 }
 
 .has-background-dark-color[class] {
@@ -2087,7 +2087,7 @@ table th,
 }
 
 .has-background-light-background-color[class] {
-	background-color: #FAFAFA !important;
+	background-color: #FDF9EC !important;
 	color: #3C2323;
 }
 
@@ -3509,3 +3509,7 @@ hr {
 .wp-block-cover-image {
 	background-color: #0D1B24;
 }
+
+.entry .entry-content .wp-block-media-text {
+	background-color: #FDF9EC;
+}