app.witchsky.theme.colors
Schema Diff
+2 -14
Compatibility Analysis
Breaking Changes Detected
5 breaking changes, 7 non-breaking changes.
Breaking Changes (5)
- RequiredEdgeRemoved RequiredEdgeRemoved { vertex_id: "app.witchsky.theme.colors#materialYou", src: "app.witchsky.theme.colors#materialYou", tgt: "app.witchsky.theme.colors#materialYou.accent", kind: "prop", name: Some("accent") }
- RemovedVertex RemovedVertex { vertex_id: "app.witchsky.theme.colors#materialYou" }
- RemovedVertex RemovedVertex { vertex_id: "app.witchsky.theme.colors#materialYou.accent" }
- RemovedEdge RemovedEdge { src: "app.witchsky.theme.colors:body.special", tgt: "app.witchsky.theme.colors:body.special:variant0", kind: "variant", name: Some("#materialYou") }
- RemovedEdge RemovedEdge { src: "app.witchsky.theme.colors:body.special:variant0", tgt: "app.witchsky.theme.colors#materialYou", kind: "ref", name: None }
Non-Breaking Changes (7)
- AddedVertex AddedVertex { vertex_id: "app.witchsky.theme.colors:body.special:variant1" }
- AddedVertex AddedVertex { vertex_id: "app.witchsky.theme.defs#hue" }
- AddedVertex AddedVertex { vertex_id: "app.witchsky.theme.defs#materialYou" }
- AddedEdge AddedEdge { src: "app.witchsky.theme.colors:body.special", tgt: "app.witchsky.theme.colors:body.special:variant0", kind: "variant", name: Some("app.witchsky.theme.defs#materialYou") }
- AddedEdge AddedEdge { src: "app.witchsky.theme.colors:body.special", tgt: "app.witchsky.theme.colors:body.special:variant1", kind: "variant", name: Some("app.witchsky.theme.defs#hue") }
- AddedEdge AddedEdge { src: "app.witchsky.theme.colors:body.special:variant0", tgt: "app.witchsky.theme.defs#materialYou", kind: "ref", name: None }
- AddedEdge AddedEdge { src: "app.witchsky.theme.colors:body.special:variant1", tgt: "app.witchsky.theme.defs#hue", kind: "ref", name: None }
Migration Guidance
Removed Elements
RemovedVertex { vertex_id: "app.witchsky.theme.colors#materialYou" }RemovedVertex { vertex_id: "app.witchsky.theme.colors#materialYou.accent" }
Added Elements
AddedVertex { vertex_id: "app.witchsky.theme.colors:body.special:variant1" }AddedVertex { vertex_id: "app.witchsky.theme.defs#hue" }AddedVertex { vertex_id: "app.witchsky.theme.defs#materialYou" }
Additional Notes
- Breaking: RequiredEdgeRemoved { vertex_id: "app.witchsky.theme.colors#materialYou", src: "app.witchsky.theme.colors#materialYou", tgt: "app.witchsky.theme.colors#materialYou.accent", kind: "prop", name: Some("accent") }
- Breaking: RemovedEdge { src: "app.witchsky.theme.colors:body.special", tgt: "app.witchsky.theme.colors:body.special:variant0", kind: "variant", name: Some("#materialYou") }
- Breaking: RemovedEdge { src: "app.witchsky.theme.colors:body.special:variant0", tgt: "app.witchsky.theme.colors#materialYou", kind: "ref", name: None }
- Non-breaking: AddedEdge { src: "app.witchsky.theme.colors:body.special", tgt: "app.witchsky.theme.colors:body.special:variant0", kind: "variant", name: Some("app.witchsky.theme.defs#materialYou") }
- Non-breaking: AddedEdge { src: "app.witchsky.theme.colors:body.special", tgt: "app.witchsky.theme.colors:body.special:variant1", kind: "variant", name: Some("app.witchsky.theme.defs#hue") }
- Non-breaking: AddedEdge { src: "app.witchsky.theme.colors:body.special:variant0", tgt: "app.witchsky.theme.defs#materialYou", kind: "ref", name: None }
- Non-breaking: AddedEdge { src: "app.witchsky.theme.colors:body.special:variant1", tgt: "app.witchsky.theme.defs#hue", kind: "ref", name: None }
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"colorSet": {
5
5
"properties": {
6
6
"colors": {
7
7
"ref": "#semanticColors",
8
8
"type": "ref"
9
9
},
10
10
"name": {
11
11
"maxGraphemes": 32,
12
12
"maxLength": 48,
13
13
"type": "string"
14
14
}
15
15
},
16
16
"required": [
17
17
"name",
18
18
"colors"
19
19
],
20
20
"type": "object"
21
21
},
22
22
"main": {
23
23
"key": "tid",
24
24
"record": {
25
25
"properties": {
26
26
"base": {
27
27
"ref": "#colorSet",
28
28
"type": "ref"
29
29
},
30
30
"createdAt": {
31
31
"format": "datetime",
32
32
"type": "string"
33
33
},
34
34
"description": {
35
35
"maxGraphemes": 300,
36
36
"maxLength": 300,
37
37
"type": "string"
38
38
},
39
39
"mode": {
40
40
"knownValues": [
41
41
"light",
42
42
"dark"
43
43
],
44
44
"type": "string"
45
45
},
46
46
"name": {
47
47
"maxGraphemes": 48,
48
48
"maxLength": 64,
49
49
"type": "string"
50
50
},
51
51
"recommendedPair": {
52
52
"description": "Theme recommended for the opposite appearance mode.",
53
53
"format": "at-uri",
54
54
"type": "string"
55
55
},
56
56
"special": {
57
57
"closed": false,
58
58
"description": "Generator metadata requiring special client support. Unsupported union variants may be hidden.",
59
59
"refs": [
60
-
"#materialYou"
60
+
"app.witchsky.theme.defs#materialYou",
61
+
"app.witchsky.theme.defs#hue"
61
62
],
62
63
"type": "union"
63
64
},
64
65
"updatedAt": {
65
66
"format": "datetime",
66
67
"type": "string"
67
68
},
68
69
"variants": {
69
70
"items": {
70
71
"ref": "#variant",
71
72
"type": "ref"
72
73
},
73
74
"maxLength": 11,
74
75
"type": "array"
75
76
}
76
77
},
77
78
"required": [
78
79
"name",
79
80
"mode",
80
81
"base",
81
82
"createdAt"
82
83
],
83
84
"type": "object"
84
85
},
85
86
"type": "record"
86
-
},
87
-
"materialYou": {
88
-
"properties": {
89
-
"accent": {
90
-
"description": "Hex accent used to generate this Material You example on clients without a system palette.",
91
-
"maxLength": 7,
92
-
"type": "string"
93
-
}
94
-
},
95
-
"required": [
96
-
"accent"
97
-
],
98
-
"type": "object"
99
87
},
100
88
"semanticColorOverrides": {
101
89
"properties": {
102
90
"accent": {
103
91
"description": "Links, selected controls, and primary actions.",
104
92
"type": "string"
105
93
},
106
94
"accentSoft": {
107
95
"description": "Subtle selected and accent backgrounds.",
108
96
"type": "string"
109
97
},
110
98
"border": {
111
99
"description": "Dividers and control outlines.",
112
100
"type": "string"
113
101
},
114
102
"canvas": {
115
103
"description": "App background.",
116
104
"type": "string"
117
105
},
118
106
"critical": {
119
107
"description": "Errors and destructive actions.",
120
108
"type": "string"
121
109
},
122
110
"favorite": {
123
111
"description": "Like and favorite actions.",
124
112
"type": "string"
125
113
},
126
114
"onAccent": {
127
115
"description": "Content drawn on the accent color.",
128
116
"type": "string"
129
117
},
130
118
"positive": {
131
119
"description": "Success and confirmation states.",
132
120
"type": "string"
133
121
},
134
122
"surface": {
135
123
"description": "Cards, sheets, and controls.",
136
124
"type": "string"
137
125
},
138
126
"surfaceRaised": {
139
127
"description": "Menus and elevated surfaces.",
140
128
"type": "string"
141
129
},
142
130
"text": {
143
131
"description": "Primary content text.",
144
132
"type": "string"
145
133
},
146
134
"textMuted": {
147
135
"description": "Secondary labels and metadata.",
148
136
"type": "string"
149
137
},
150
138
"warning": {
151
139
"description": "Caution states.",
152
140
"type": "string"
153
141
}
154
142
},
155
143
"type": "object"
156
144
},
157
145
"semanticColors": {
158
146
"properties": {
159
147
"accent": {
160
148
"description": "Links, selected controls, and primary actions.",
161
149
"type": "string"
162
150
},
163
151
"accentSoft": {
164
152
"description": "Subtle selected and accent backgrounds.",
165
153
"type": "string"
166
154
},
167
155
"border": {
168
156
"description": "Dividers and control outlines.",
169
157
"type": "string"
170
158
},
171
159
"canvas": {
172
160
"description": "App background.",
173
161
"type": "string"
174
162
},
175
163
"critical": {
176
164
"description": "Errors and destructive actions.",
177
165
"type": "string"
178
166
},
179
167
"favorite": {
180
168
"description": "Like and favorite actions.",
181
169
"type": "string"
182
170
},
183
171
"onAccent": {
184
172
"description": "Content drawn on the accent color.",
185
173
"type": "string"
186
174
},
187
175
"positive": {
188
176
"description": "Success and confirmation states.",
189
177
"type": "string"
190
178
},
191
179
"surface": {
192
180
"description": "Cards, sheets, and controls.",
193
181
"type": "string"
194
182
},
195
183
"surfaceRaised": {
196
184
"description": "Menus and elevated surfaces.",
197
185
"type": "string"
198
186
},
199
187
"text": {
200
188
"description": "Primary content text.",
201
189
"type": "string"
202
190
},
203
191
"textMuted": {
204
192
"description": "Secondary labels and metadata.",
205
193
"type": "string"
206
194
},
207
195
"warning": {
208
196
"description": "Caution states.",
209
197
"type": "string"
210
198
}
211
199
},
212
200
"required": [
213
201
"canvas",
214
202
"surface",
215
203
"surfaceRaised",
216
204
"text",
217
205
"textMuted",
218
206
"border",
219
207
"accent",
220
208
"accentSoft",
221
209
"onAccent",
222
210
"positive",
223
211
"warning",
224
212
"critical",
225
213
"favorite"
226
214
],
227
215
"type": "object"
228
216
},
229
217
"variant": {
230
218
"properties": {
231
219
"colors": {
232
220
"ref": "#semanticColorOverrides",
233
221
"type": "ref"
234
222
},
235
223
"name": {
236
224
"maxGraphemes": 32,
237
225
"maxLength": 48,
238
226
"type": "string"
239
227
}
240
228
},
241
229
"required": [
242
230
"name"
243
231
],
244
232
"type": "object"
245
233
}
246
234
},
247
235
"id": "app.witchsky.theme.colors",
248
236
"lexicon": 1
249
237
}