ソースを参照

Club: removing repeated color.

Primary color was the same as foreground so I'm removing it from the palette.
Matias Benedetto 2 年 前
コミット
487acc503a
2 ファイル変更3 行追加8 行削除
  1. 1 1
      club/style.css
  2. 2 7
      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;
 	padding: .5rem 2rem;
 	background-color: transparent;
-	border-color: var(--wp--preset--color--primary);
+	border-color: var(--wp--preset--color--foreground);
 	border-width: 1.5px;
 }
 @media screen and (max-width: 768px) {

+ 2 - 7
club/theme.json

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