Browse Source

Blockbase: Remove the background color from Navigation Links (#4184)

* Blockbase: Remove the background color from Navigation Links

* Rebuild child theme.json removing nav link bg color.

Co-authored-by: Jeff Ong <jonger4@gmail.com>
Ben Dwyer 4 years ago
parent
commit
6cf1962c24
4 changed files with 6 additions and 21 deletions
  1. 0 5
      blockbase/theme.json
  2. 0 5
      mayland-blocks/theme.json
  3. 6 6
      quadrat/theme.json
  4. 0 5
      seedlet-blocks/theme.json

+ 0 - 5
blockbase/theme.json

@@ -383,11 +383,6 @@
 					"fontSize": "var(--wp--preset--font-size--normal)"
 				}
 			},
-			"core/navigation-link": {
-				"color": {
-					"background": "var(--wp--custom--color--background)"
-				}
-			},
 			"core/post-title": {
 				"typography": {
 					"fontFamily": "var(--wp--custom--heading--typography--font-family)",

+ 0 - 5
mayland-blocks/theme.json

@@ -414,11 +414,6 @@
 					"fontSize": "var(--wp--preset--font-size--small)"
 				}
 			},
-			"core/navigation-link": {
-				"color": {
-					"background": "var(--wp--custom--color--background)"
-				}
-			},
 			"core/post-title": {
 				"typography": {
 					"fontFamily": "var(--wp--custom--heading--typography--font-family)",

+ 6 - 6
quadrat/theme.json

@@ -447,12 +447,6 @@
 					"fontSize": "18px"
 				}
 			},
-			"core/navigation-link": {
-				"color": {
-					"background": "transparent",
-					"text": "var(--wp--custom--color--foreground)"
-				}
-			},
 			"core/post-title": {
 				"typography": {
 					"fontFamily": "var(--wp--custom--heading--typography--font-family)",
@@ -534,6 +528,12 @@
 					}
 				}
 			},
+			"core/navigation-link": {
+				"color": {
+					"background": "transparent",
+					"text": "var(--wp--custom--color--foreground)"
+				}
+			},
 			"list": {
 				"padding": {
 					"left": "calc( 2 * var(--wp--custom--margin--horizontal) )"

+ 0 - 5
seedlet-blocks/theme.json

@@ -443,11 +443,6 @@
 					"fontSize": "var(--wp--preset--font-size--normal)"
 				}
 			},
-			"core/navigation-link": {
-				"color": {
-					"background": "var(--wp--custom--color--background)"
-				}
-			},
 			"core/post-title": {
 				"typography": {
 					"fontFamily": "var(--wp--custom--heading--typography--font-family)",