Переглянути джерело

Skatepark: Add alternative color palettes

Sarah Norris 4 роки тому
батько
коміт
505eb8e964
2 змінених файлів з 70 додано та 21 видалено
  1. 42 0
      skatepark/child-theme.json
  2. 28 21
      skatepark/theme.json

+ 42 - 0
skatepark/child-theme.json

@@ -29,6 +29,48 @@
 				"secondary": "var(--wp--preset--color--primary)",
 				"selection": "var(--wp--preset--color--primary)"
 			},
+			"colorPalettes": [
+				{
+					"label": "White",
+					"slug": "white",
+					"colors": {
+						"primary": "#000000",
+ 						"background": "#FFFFFF"
+					}
+				},
+				{
+					"label": "Red",
+					"slug": "red",
+					"colors": {
+						"primary": "#000000",
+						"background": "#F3B2A9"
+					}
+				},
+				{
+					"label": "Blue",
+					"slug": "blue",
+					"colors": {
+						"primary": "#000000",
+						"background": "#C9E4ED"
+					}
+				},
+				{
+					"label": "Blue/Cream Duotone",
+					"slug": "blue-cream-duotone",
+					"colors": {
+						"primary": "#F9EED4",
+						"background": "#252B39"
+					}
+				},
+				{
+					"label": "Green/Pink Duotone",
+					"slug": "green-pink-duotone",
+					"colors": {
+						"primary": "#F7B9A9",
+						"background": "#153232"
+					}
+				}
+			],
 			"fontsToLoadFromGoogle": [
 				"family=Red+Hat+Display:ital,wght@0,400;0,500;0,700;0,900;1,400;1,500;1,700;1,900"
 			],

+ 28 - 21
skatepark/theme.json

@@ -103,36 +103,43 @@
 			},
 			"colorPalettes": [
 				{
-					"label": "Featured",
-					"slug": "palette-1",
+					"label": "White",
+					"slug": "white",
 					"colors": {
-						"primary": "#C8133E",
-						"secondary": "#4E2F4B",
-						"foreground": "#1D1E1E",
-						"background": "#FFFFFF",
-						"selection": "#F9F9F9"
+						"primary": "#000000",
+						"background": "#FFFFFF"
 					}
 				},
 				{
-					"label": "Featured",
-					"slug": "palette-2",
+					"label": "Red",
+					"slug": "red",
 					"colors": {
-						"primary": "#35845D",
-						"secondary": "#233252",
-						"foreground": "#242527",
-						"background": "#EEF4F7",
-						"selection": "#F9F9F9"
+						"primary": "#000000",
+						"background": "#F3B2A9"
 					}
 				},
 				{
-					"label": "Featured",
-					"slug": "palette-3",
+					"label": "Blue",
+					"slug": "blue",
 					"colors": {
-						"primary": "#9FD3E8",
-						"secondary": "#FBE6AA",
-						"foreground": "#FFFFFF",
-						"background": "#1F2527",
-						"selection": "#364043"
+						"primary": "#000000",
+						"background": "#C9E4ED"
+					}
+				},
+				{
+					"label": "Blue/Cream Duotone",
+					"slug": "blue-cream-duotone",
+					"colors": {
+						"primary": "#F9EED4",
+						"background": "#252B39"
+					}
+				},
+				{
+					"label": "Green/Pink Duotone",
+					"slug": "green-pink-duotone",
+					"colors": {
+						"primary": "#F7B9A9",
+						"background": "#153232"
 					}
 				}
 			],