فهرست منبع

Vetro: various adjustments (#6926)

* Fix caption color.

* Remove from inserter.

* Fix full width featured image.

* Fix caption color.

* Try to force no underlines on buttons.

* Fix screenshot dimensions.

* Fix link color bug.
Jeff Ong 2 سال پیش
والد
کامیت
79822fe9ec

+ 1 - 0
vetro/patterns/designed-with-wordpress.php

@@ -2,6 +2,7 @@
 /**
  * Title: Designed with WordPress 
  * Slug: vetro/designed-with-wordpress
+ * Inserter: no
  */
 ?>
 

+ 1 - 0
vetro/patterns/small-about.php

@@ -2,6 +2,7 @@
 /**
  * Title: Small About Text 
  * Slug: vetro/small-about
+ * Inserter: no
  */
 ?>
 

BIN
vetro/screenshot.png


+ 1 - 1
vetro/styles/eggplantlemon.json

@@ -274,7 +274,7 @@
 			},
 			"link": {
 				"color": {
-					"text": "varvar(--wp--preset--color--background)"
+					"text": "var(--wp--preset--color--foreground)"
 				},
 				"typography": {
 					"fontFamily": "Inter"

+ 1 - 1
vetro/templates/single.html

@@ -53,7 +53,7 @@
 <div style="height:90px" aria-hidden="true" class="wp-block-spacer"></div>
 <!-- /wp:spacer -->
 
-<!-- wp:post-featured-image {"align":"full","style":{"spacing":{"margin":{"bottom":"0px","top":"0px"},"padding":{"top":"0px","right":"0px","bottom":"0px","left":"0px"}}}}} /-->
+<!-- wp:post-featured-image {"align":"full"} /-->
 
 <!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"0px","right":"25%","bottom":"0px","left":"0px"},"blockGap":"0px","margin":{"top":"0px","bottom":"0px"}},"border":{"top":{"color":"var:preset|color|foreground","width":"1px"}}},"layout":{"type":"default"}} -->
 <div class="wp-block-group alignfull" style="border-top-color:var(--wp--preset--color--foreground);border-top-width:1px;margin-top:0px;margin-bottom:0px;padding-top:0px;padding-right:25%;padding-bottom:0px;padding-left:0px"></div>

+ 11 - 1
vetro/theme.json

@@ -161,6 +161,15 @@
 			"core/image": {
 				"filter": {
 					"duotone": "var(--wp--preset--duotone--default)"
+				},
+				"elements": {
+					"caption": {
+						"color": {
+							"text": {
+								"ref": "styles.color.text"
+							}
+						}
+					}
 				}
 			},
 			"core/post-comments": {
@@ -247,7 +256,8 @@
 					"fontSize": "1rem",
 					"fontStyle": "normal",
 					"fontWeight": "600",
-					"lineHeight": "1"
+					"lineHeight": "1",
+					"textDecoration": "none"
 				}
 			},
 			"h1": {