Browse Source

Themes: Remove site title text decoration from theme.json (#6122)

* Themes: Remove site title text decoration from theme.json

* add livro

* remove text decoration from the site title in curator
Ben Dwyer 3 years ago
parent
commit
a815dec664
8 changed files with 23 additions and 14 deletions
  1. 0 4
      archeo/style.css
  2. 7 0
      archeo/theme.json
  3. 0 3
      curator/style.css
  4. 1 1
      curator/theme.json
  5. 1 2
      livro/style.css
  6. 7 0
      livro/theme.json
  7. 0 4
      remote/style.css
  8. 7 0
      remote/theme.json

+ 0 - 4
archeo/style.css

@@ -46,10 +46,6 @@ a {
 	text-underline-offset: 0.125em;
 }
 
-.wp-block-site-title a {
-	text-decoration: none;
-}
-
 a:hover:not(.wp-block-button__link),
 .wp-block-site-title a:hover,
 .wp-block-post-title a:hover,

+ 7 - 0
archeo/theme.json

@@ -250,6 +250,13 @@
 					"fontSize": "var(--wp--preset--font-size--normal)",
 					"fontWeight": "400",
 					"textTransform": "uppercase"
+				},
+				"elements": {
+					"link": {
+						"typography": {
+							"textDecoration": "none"
+						}
+					}
 				}
 			}
 		},

+ 0 - 3
curator/style.css

@@ -126,9 +126,6 @@ a:not(
 	.wp-block-search__button,
 	.wp-block-button__link
 ):hover,
-.wp-block-site-title a {
-	text-decoration: none;
-}
 
 .wp-block-site-title a:hover {
 	text-decoration: underline;

+ 1 - 1
curator/theme.json

@@ -458,4 +458,4 @@
 			"name": "footer"
 		}
 	]
-}
+}

+ 1 - 2
livro/style.css

@@ -147,8 +147,7 @@ body > .is-root-container > .wp-block-template-part > .wp-block-cover,
  */
 
 .wp-block-post-title a,
-.wp-block-post-date a,
-.wp-block-site-title a {
+.wp-block-post-date a {
 	text-decoration: none;
 }
 

+ 7 - 0
livro/theme.json

@@ -184,6 +184,13 @@
 					"lineHeight": "var(--wp--custom--typography--line-height--normal)",
 					"fontSize": "var(--wp--preset--font-size--x-small)",
 					"fontWeight": "normal"
+				},
+				"elements":{
+					"link": {
+						"typography": {
+							"textDecoration": "none"
+						}
+					}
 				}
 			}
 		},

+ 0 - 4
remote/style.css

@@ -179,10 +179,6 @@ body > .is-root-container,
 	text-decoration: underline;
 }
 
-.wp-block-site-title a {
-	text-decoration: none;
-}
-
 a:not(
 	.wp-block-search__button,
 	.wp-block-button__link

+ 7 - 0
remote/theme.json

@@ -161,6 +161,13 @@
 			"core/site-title": {
 				"typography": {
 					"fontWeight": "400"
+				},
+				"elements": {
+					"link": {
+						"typography": {
+							"textDecoration": "none"
+						}
+					}
 				}
 			},
 			"core/post-title": {