Jelajahi Sumber

Programme: Fix Century & Futury Style Colours (#7480)

* Force commit

* Programme: Fix Style Colours
Aurorum 1 tahun lalu
induk
melakukan
580762bb00

+ 18 - 48
programme/styles/century.json

@@ -13,7 +13,7 @@
 			"gradients": [],
 			"palette": [
 				{
-					"color": "#141414",
+					"color": "#d1ddc9",
 					"name": "Primary",
 					"slug": "primary"
 				},
@@ -23,44 +23,14 @@
 					"slug": "secondary"
 				},
 				{
-					"color": "#2f2e2c",
+					"color": "#dfdbc5",
 					"name": "Foreground",
 					"slug": "foreground"
 				},
 				{
-					"color": "#fafafa",
+					"color": "#0b412f",
 					"name": "Background",
 					"slug": "background"
-				},
-				{
-					"color": "#fafafa",
-					"name": "Tertiary",
-					"slug": "tertiary"
-				},
-				{
-					"color": "#010229",
-					"name": "Futura Background",
-					"slug": "custom-futura-background"
-				},
-				{
-					"color": "#d1ddc9",
-					"name": "Futura Accent",
-					"slug": "custom-futura-accent"
-				},
-				{
-					"color": "#f2fcf5",
-					"name": "Futura Foreground",
-					"slug": "custom-futura-foreground"
-				},
-				{
-					"color": "#0b412f",
-					"name": "Century Background",
-					"slug": "custom-century-background"
-				},
-				{
-					"color": "#dfdbc5",
-					"name": "Century Foreground",
-					"slug": "custom-century-foreground"
 				}
 			],
 			"text": true
@@ -414,12 +384,12 @@
 			},
 			"core/heading": {
 				"color": {
-					"text": "var:preset|color|custom-century-foreground"
+					"text": "var:preset|color|foreground"
 				},
 				"elements": {
 					"link": {
 						"color": {
-							"text": "var:preset|color|custom-century-foreground"
+							"text": "var:preset|color|foreground"
 						}
 					}
 				}
@@ -447,12 +417,12 @@
 			},
 			"core/paragraph": {
 				"color": {
-					"text": "var:preset|color|custom-century-foreground"
+					"text": "var:preset|color|foreground"
 				},
 				"elements": {
 					"link": {
 						"color": {
-							"text": "var:preset|color|custom-century-foreground"
+							"text": "var:preset|color|foreground"
 						}
 					}
 				},
@@ -480,7 +450,7 @@
 			},
 			"core/post-date": {
 				"color": {
-					"text": "var:preset|color|custom-century-foreground"
+					"text": "var:preset|color|foreground"
 				},
 				"elements": {
 					"link": {
@@ -490,7 +460,7 @@
 							}
 						},
 						"color": {
-							"text": "var:preset|color|custom-century-foreground"
+							"text": "var:preset|color|foreground"
 						},
 						"typography": {
 							"textDecoration": "none"
@@ -593,7 +563,7 @@
 			},
 			"core/search": {
 				"color": {
-					"text": "var:preset|color|custom-futura-foreground"
+					"text": "var:preset|color|foreground"
 				},
 				"typography": {
 					"fontSize": "var(--wp--preset--font-size--medium)",
@@ -637,8 +607,8 @@
 			}
 		},
 		"color": {
-			"background": "var:preset|color|custom-century-background",
-			"text": "var:preset|color|custom-century-foreground"
+			"background": "var:preset|color|background",
+			"text": "var:preset|color|foreground"
 		},
 		"elements": {
 			"button": {
@@ -670,13 +640,13 @@
 					"radius": "0.25rem"
 				},
 				"color": {
-					"background": "var:preset|color|custom-century-foreground",
-					"text": "var:preset|color|custom-century-background"
+					"background": "var:preset|color|foreground",
+					"text": "var:preset|color|background"
 				}
 			},
 			"caption": {
 				"color": {
-					"text": "var:preset|color|custom-century-foreground"
+					"text": "var:preset|color|foreground"
 				}
 			},
 			"h1": {
@@ -719,7 +689,7 @@
 			},
 			"heading": {
 				"color": {
-					"text": "var:preset|color|custom-century-foreground"
+					"text": "var:preset|color|foreground"
 				},
 				"typography": {
 					"fontFamily": "var:preset|font-family|libre-baskerville",
@@ -735,7 +705,7 @@
 					}
 				},
 				"color": {
-					"text": "var:preset|color|custom-century-foreground"
+					"text": "var:preset|color|foreground"
 				}
 			}
 		},
@@ -768,4 +738,4 @@
 	],
 	"version": 2,
 	"$schema": "https://schemas.wp.org/trunk/theme.json"
-}
+}

+ 18 - 48
programme/styles/futura.json

@@ -13,7 +13,7 @@
 			"gradients": [],
 			"palette": [
 				{
-					"color": "#141414",
+					"color": "#fafafa",
 					"name": "Primary",
 					"slug": "primary"
 				},
@@ -23,44 +23,14 @@
 					"slug": "secondary"
 				},
 				{
-					"color": "#2f2e2c",
+					"color": "#f2fcf5",
 					"name": "Foreground",
 					"slug": "foreground"
 				},
 				{
-					"color": "#fafafa",
+					"color": "#010229",
 					"name": "Background",
 					"slug": "background"
-				},
-				{
-					"color": "#fafafa",
-					"name": "Tertiary",
-					"slug": "tertiary"
-				},
-				{
-					"color": "#010229",
-					"name": "Futura Background",
-					"slug": "custom-futura-background"
-				},
-				{
-					"color": "#d1ddc9",
-					"name": "Futura Accent",
-					"slug": "custom-futura-accent"
-				},
-				{
-					"color": "#f2fcf5",
-					"name": "Futura Foreground",
-					"slug": "custom-futura-foreground"
-				},
-				{
-					"color": "#18303b",
-					"name": "Century Background",
-					"slug": "custom-century-background"
-				},
-				{
-					"color": "#dfdbc5",
-					"name": "Century Foreground",
-					"slug": "custom-century-foreground"
 				}
 			],
 			"text": true
@@ -414,12 +384,12 @@
 			},
 			"core/heading": {
 				"color": {
-					"text": "var:preset|color|custom-futura-foreground"
+					"text": "var:preset|color|foreground"
 				},
 				"elements": {
 					"link": {
 						"color": {
-							"text": "var:preset|color|custom-futura-foreground"
+							"text": "var:preset|color|foreground"
 						}
 					}
 				}
@@ -447,12 +417,12 @@
 			},
 			"core/paragraph": {
 				"color": {
-					"text": "var:preset|color|custom-futura-foreground"
+					"text": "var:preset|color|foreground"
 				},
 				"elements": {
 					"link": {
 						"color": {
-							"text": "var:preset|color|custom-futura-foreground"
+							"text": "var:preset|color|foreground"
 						}
 					}
 				},
@@ -480,7 +450,7 @@
 			},
 			"core/post-date": {
 				"color": {
-					"text": "var:preset|color|custom-futura-foreground"
+					"text": "var:preset|color|foreground"
 				},
 				"elements": {
 					"link": {
@@ -490,7 +460,7 @@
 							}
 						},
 						"color": {
-							"text": "var:preset|color|custom-futura-foreground"
+							"text": "var:preset|color|foreground"
 						},
 						"typography": {
 							"textDecoration": "none"
@@ -593,7 +563,7 @@
 			},
 			"core/search": {
 				"color": {
-					"text": "var:preset|color|custom-futura-foreground"
+					"text": "var:preset|color|foreground"
 				},
 				"typography": {
 					"fontSize": "var(--wp--preset--font-size--medium)",
@@ -637,8 +607,8 @@
 			}
 		},
 		"color": {
-			"background": "var:preset|color|custom-futura-background",
-			"text": "var:preset|color|custom-futura-foreground"
+			"background": "var:preset|color|background",
+			"text": "var:preset|color|foreground"
 		},
 		"elements": {
 			"button": {
@@ -670,13 +640,13 @@
 					"radius": "0.25rem"
 				},
 				"color": {
-					"background": "var:preset|color|custom-futura-foreground",
-					"text": "var:preset|color|custom-futura-background"
+					"background": "var:preset|color|foreground",
+					"text": "var:preset|color|background"
 				}
 			},
 			"caption": {
 				"color": {
-					"text": "var:preset|color|custom-futura-foreground"
+					"text": "var:preset|color|foreground"
 				}
 			},
 			"h1": {
@@ -719,7 +689,7 @@
 			},
 			"heading": {
 				"color": {
-					"text": "var:preset|color|custom-futura-foreground"
+					"text": "var:preset|color|foreground"
 				},
 				"typography": {
 					"fontFamily": "var:preset|font-family|evolventa",
@@ -735,7 +705,7 @@
 					}
 				},
 				"color": {
-					"text": "var:preset|color|custom-futura-foreground"
+					"text": "var:preset|color|foreground"
 				}
 			}
 		},
@@ -768,4 +738,4 @@
 	],
 	"version": 2,
 	"$schema": "https://schemas.wp.org/trunk/theme.json"
-}
+}

+ 1 - 1
programme/templates/archive.html

@@ -81,7 +81,7 @@
 			class="wp-block-group"
 			style="margin-top: 2.1rem; margin-bottom: 2.1rem"
 		>
-			<!-- wp:query-pagination {"style":{"typography":{"fontStyle":"normal","fontWeight":"700","fontSize":"4rem"},"elements":{"link":{"color":{"text":"var:preset|color|custom-futura-foreground"}}}},"textColor":"custom-futura-foreground"} -->
+			<!-- wp:query-pagination {"style":{"typography":{"fontStyle":"normal","fontWeight":"700","fontSize":"4rem"},"elements":{"link":{"color":{"text":"var:preset|color|foreground"}}}},"textColor":"foreground"} -->
 			<!-- wp:query-pagination-previous {"label":"Prev"} /-->
 
 			<!-- wp:query-pagination-numbers /-->

+ 1 - 1
programme/templates/home.html

@@ -109,7 +109,7 @@
 			class="wp-block-group"
 			style="margin-top: 2.1rem; margin-bottom: 2.1rem"
 		>
-			<!-- wp:query-pagination {"style":{"typography":{"fontStyle":"normal","fontWeight":"700","fontSize":"4rem"},"elements":{"link":{"color":{"text":"var:preset|color|custom-futura-foreground"}}}},"textColor":"custom-futura-foreground"} -->
+			<!-- wp:query-pagination {"style":{"typography":{"fontStyle":"normal","fontWeight":"700","fontSize":"4rem"},"elements":{"link":{"color":{"text":"var:preset|color|foreground"}}}},"textColor":"foreground"} -->
 			<!-- wp:query-pagination-previous {"label":"Prev"} /-->
 
 			<!-- wp:query-pagination-numbers /-->

+ 1 - 31
programme/theme.json

@@ -31,36 +31,6 @@
 					"color": "#fafafa",
 					"name": "Background",
 					"slug": "background"
-				},
-				{
-					"color": "#fafafa",
-					"name": "Tertiary",
-					"slug": "tertiary"
-				},
-				{
-					"color": "#010229",
-					"name": "Futura Background",
-					"slug": "custom-futura-background"
-				},
-				{
-					"color": "#d1ddc9",
-					"name": "Futura Accent",
-					"slug": "custom-futura-accent"
-				},
-				{
-					"color": "#f2fcf5",
-					"name": "Futura Foreground",
-					"slug": "custom-futura-foreground"
-				},
-				{
-					"color": "#18303b",
-					"name": "Century Background",
-					"slug": "custom-century-background"
-				},
-				{
-					"color": "#dfdbc5",
-					"name": "Century Foreground",
-					"slug": "custom-century-foreground"
 				}
 			],
 			"text": true
@@ -715,4 +685,4 @@
 	],
 	"version": 2,
 	"$schema": "https://schemas.wp.org/trunk/theme.json"
-}
+}