浏览代码

Club: cleaning color palette (#6401)

* Club: removing repeated color.

Primary color was the same as foreground so I'm removing it from the palette.

* Club: renaming color from palette.
Matias Benedetto 2 年之前
父节点
当前提交
ac0055aeca
共有 2 个文件被更改,包括 5 次插入10 次删除
  1. 1 1
      club/style.css
  2. 4 9
      club/theme.json

+ 1 - 1
club/style.css

@@ -410,7 +410,7 @@ body > .is-root-container > .wp-block-template-part > .wp-block-cover,
 	border-radius: 999px;
 	border-radius: 999px;
 	padding: .5rem 2rem;
 	padding: .5rem 2rem;
 	background-color: transparent;
 	background-color: transparent;
-	border-color: var(--wp--preset--color--primary);
+	border-color: var(--wp--preset--color--foreground);
 	border-width: 1.5px;
 	border-width: 1.5px;
 }
 }
 @media screen and (max-width: 768px) {
 @media screen and (max-width: 768px) {

+ 4 - 9
club/theme.json

@@ -48,14 +48,9 @@
                     "name": "Background"
                     "name": "Background"
                 },
                 },
                 {
                 {
-                    "slug": "primary",
-                    "color": "#000AFF",
-                    "name": "Primary"
-                },
-                {
-                    "slug": "tertiary",
+                    "slug": "secondary",
                     "color": "#FFF7A7",
                     "color": "#FFF7A7",
-                    "name": "Tertiary"
+                    "name": "Secondary"
                 }
                 }
             ]
             ]
         },
         },
@@ -220,7 +215,7 @@
 			},
 			},
 			"core/comment-reply-link": {
 			"core/comment-reply-link": {
 				"color": {
 				"color": {
-					"text": "var(--wp--preset--color--primary)"
+					"text": "var(--wp--preset--color--foreground)"
 				},
 				},
 				"typography": {
 				"typography": {
 					"fontSize": "var(--wp--preset--font-size--small)"
 					"fontSize": "var(--wp--preset--font-size--small)"
@@ -585,7 +580,7 @@
             },
             },
             "link": {
             "link": {
                 "color": {
                 "color": {
-                    "text": "var(--wp--preset--color--primary)"
+                    "text": "var(--wp--preset--color--foreground)"
                 },
                 },
                 "typography": {
                 "typography": {
                     "textDecoration": "underline solid"
                     "textDecoration": "underline solid"