summaryrefslogtreecommitdiffstats
path: root/wp-content/themes/twentytwentyfour/styles/rust.json
blob: e3410b6b6392727ffa83b4717900ae4ed6787fa8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
{
	"$schema": "https://schemas.wp.org/trunk/theme.json",
	"version": 2,
	"title": "Rust",
	"settings": {
		"color": {
			"duotone": [
				{
					"colors": [
						"#A62B0C",
						"#F3F0E7"
					],
					"slug": "duotone-1",
					"name": "Dark rust to beige"
				}
			],
			"gradients": [
				{
					"slug": "gradient-1",
					"gradient": "linear-gradient(to bottom, #A62A0C42 0%, #F3F0E7 100%)",
					"name": "Vertical transparent rust to beige"
				},
				{
					"slug": "gradient-7",
					"gradient": "linear-gradient(to bottom, #A62A0C42 50%, #F3F0E7 50%)",
					"name": "Vertical hard transparent rust to beige"
				},
				{
					"slug": "gradient-2",
					"gradient": "linear-gradient(to bottom, #A62B0C 0%, #F3F0E7 100%)",
					"name": "Vertical rust to beige"
				},
				{
					"slug": "gradient-8",
					"gradient": "linear-gradient(to bottom, #A62B0C 50%, #F3F0E7 50%)",
					"name": "Vertical hard rust to beige"
				}
			],
			"palette": [
				{
					"color": "#F3F0E7",
					"name": "Base",
					"slug": "base"
				},
				{
					"color": "#ECEADF",
					"name": "Base / 2",
					"slug": "base-2"
				},
				{
					"color": "#A62B0C",
					"name": "Contrast",
					"slug": "contrast"
				}
			]
		}
	},
	"styles": {
		"blocks": {
			"core/calendar": {
				"css": ".wp-block-calendar table:where(:not(.has-text-color)) th{background-color:var(--wp--preset--color--contrast);color:var(--wp--preset--color--base);border-color:var(--wp--preset--color--contrast)} & table:where(:not(.has-text-color)) td{border-color:var(--wp--preset--color--contrast)}"
			},
			"core/comment-date": {
				"color": {
					"text": "var(--wp--preset--color--contrast)"
				},
				"elements": {
					"link": {
						"color": {
							"text": "var(--wp--preset--color--contrast)"
						}
					}
				}
			},
			"core/comment-edit-link": {
				"elements": {
					"link": {
						"color": {
							"text": "var(--wp--preset--color--contrast)"
						}
					}
				}
			},
			"core/comment-reply-link": {
				"elements": {
					"link": {
						"color": {
							"text": "var(--wp--preset--color--contrast)"
						}
					}
				}
			},
			"core/post-date": {
				"color": {
					"text": "var(--wp--preset--color--contrast)"
				},
				"elements": {
					"link": {
						"color": {
							"text": "var(--wp--preset--color--contrast)"
						}
					}
				}
			},
			"core/post-terms": {
				"css":"& .wp-block-post-terms__prefix{color: var(--wp--preset--color--contrast);}"
			},
			"core/quote": {
				"color": {
					"background": "var(--wp--preset--color--base)"
				}
			},
			"core/site-tagline": {
				"color": {
					"text": "var(--wp--preset--color--contrast)"
				}
			}
		},
		"elements": {
			"button": {
				":focus": {
					"color": {
						"background": "var(--wp--preset--color--contrast)"
					},
					"border": {
						"color": "var(--wp--preset--color--contrast)"
					}
				},
				":hover": {
					"color": {
						"background": "var(--wp--preset--color--contrast)"
					},
					"border": {
						"color": "var(--wp--preset--color--contrast)"
					}
				}
			},
			"caption": {
				"color": {
					"text": "var(--wp--preset--color--contrast)"
				}
			}
		}
	}
}