@polyxd/ds-wireframe 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,313 @@
1
+ {
2
+ "$description": "Wireframe primitives shared by both modes: type, spacing, radii, borders, motion. Original template by Polyxd; every value here is yours to change.",
3
+ "wireframe": {
4
+ "font": {
5
+ "$type": "fontFamily",
6
+ "display": {
7
+ "$value": "system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif",
8
+ "$type": "fontFamily"
9
+ },
10
+ "body": {
11
+ "$value": "system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif",
12
+ "$type": "fontFamily"
13
+ },
14
+ "label": {
15
+ "$value": "'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace",
16
+ "$type": "fontFamily"
17
+ },
18
+ "mono": {
19
+ "$value": "'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace",
20
+ "$type": "fontFamily"
21
+ }
22
+ },
23
+ "text": {
24
+ "$type": "dimension",
25
+ "title-page": {
26
+ "$value": {
27
+ "value": 28,
28
+ "unit": "px"
29
+ }
30
+ },
31
+ "title-section": {
32
+ "$value": {
33
+ "value": 20,
34
+ "unit": "px"
35
+ }
36
+ },
37
+ "title-item": {
38
+ "$value": {
39
+ "value": 16,
40
+ "unit": "px"
41
+ }
42
+ },
43
+ "body-default": {
44
+ "$value": {
45
+ "value": 16,
46
+ "unit": "px"
47
+ }
48
+ },
49
+ "body-small": {
50
+ "$value": {
51
+ "value": 14,
52
+ "unit": "px"
53
+ }
54
+ },
55
+ "label-default": {
56
+ "$value": {
57
+ "value": 13,
58
+ "unit": "px"
59
+ }
60
+ },
61
+ "label-small": {
62
+ "$value": {
63
+ "value": 12,
64
+ "unit": "px"
65
+ }
66
+ },
67
+ "numeric-display": {
68
+ "$value": {
69
+ "value": 26,
70
+ "unit": "px"
71
+ }
72
+ }
73
+ },
74
+ "weight": {
75
+ "$type": "number",
76
+ "400": {
77
+ "$value": 400
78
+ },
79
+ "500": {
80
+ "$value": 500
81
+ },
82
+ "600": {
83
+ "$value": 600
84
+ }
85
+ },
86
+ "space": {
87
+ "$type": "dimension",
88
+ "inset": {
89
+ "compact": {
90
+ "$value": {
91
+ "value": 8,
92
+ "unit": "px"
93
+ }
94
+ },
95
+ "default": {
96
+ "$value": {
97
+ "value": 16,
98
+ "unit": "px"
99
+ }
100
+ },
101
+ "comfortable": {
102
+ "$value": {
103
+ "value": 24,
104
+ "unit": "px"
105
+ }
106
+ }
107
+ },
108
+ "stack": {
109
+ "tight": {
110
+ "$value": {
111
+ "value": 4,
112
+ "unit": "px"
113
+ }
114
+ },
115
+ "default": {
116
+ "$value": {
117
+ "value": 8,
118
+ "unit": "px"
119
+ }
120
+ },
121
+ "loose": {
122
+ "$value": {
123
+ "value": 16,
124
+ "unit": "px"
125
+ }
126
+ },
127
+ "section": {
128
+ "$value": {
129
+ "value": 32,
130
+ "unit": "px"
131
+ }
132
+ }
133
+ },
134
+ "inline": {
135
+ "tight": {
136
+ "$value": {
137
+ "value": 4,
138
+ "unit": "px"
139
+ }
140
+ },
141
+ "default": {
142
+ "$value": {
143
+ "value": 8,
144
+ "unit": "px"
145
+ }
146
+ },
147
+ "loose": {
148
+ "$value": {
149
+ "value": 16,
150
+ "unit": "px"
151
+ }
152
+ }
153
+ }
154
+ },
155
+ "size": {
156
+ "$type": "dimension",
157
+ "target": {
158
+ "$value": {
159
+ "value": 44,
160
+ "unit": "px"
161
+ }
162
+ },
163
+ "icon-small": {
164
+ "$value": {
165
+ "value": 16,
166
+ "unit": "px"
167
+ }
168
+ },
169
+ "icon-default": {
170
+ "$value": {
171
+ "value": 20,
172
+ "unit": "px"
173
+ }
174
+ }
175
+ },
176
+ "radius": {
177
+ "$type": "dimension",
178
+ "small": {
179
+ "$value": {
180
+ "value": 2,
181
+ "unit": "px"
182
+ }
183
+ },
184
+ "control": {
185
+ "$value": {
186
+ "value": 4,
187
+ "unit": "px"
188
+ }
189
+ },
190
+ "default": {
191
+ "$value": {
192
+ "value": 4,
193
+ "unit": "px"
194
+ }
195
+ },
196
+ "large": {
197
+ "$value": {
198
+ "value": 6,
199
+ "unit": "px"
200
+ }
201
+ },
202
+ "full": {
203
+ "$value": {
204
+ "value": 999,
205
+ "unit": "px"
206
+ }
207
+ }
208
+ },
209
+ "border": {
210
+ "$type": "dimension",
211
+ "default": {
212
+ "$value": {
213
+ "value": 1,
214
+ "unit": "px"
215
+ }
216
+ },
217
+ "strong": {
218
+ "$value": {
219
+ "value": 2,
220
+ "unit": "px"
221
+ }
222
+ }
223
+ },
224
+ "focus": {
225
+ "$type": "dimension",
226
+ "width": {
227
+ "$value": {
228
+ "value": 2,
229
+ "unit": "px"
230
+ }
231
+ },
232
+ "offset": {
233
+ "$value": {
234
+ "value": 2,
235
+ "unit": "px"
236
+ }
237
+ }
238
+ },
239
+ "measure": {
240
+ "$value": 65,
241
+ "$type": "number"
242
+ },
243
+ "opacity": {
244
+ "$type": "number",
245
+ "hover": {
246
+ "$value": 0.06
247
+ },
248
+ "pressed": {
249
+ "$value": 0.12
250
+ },
251
+ "focus": {
252
+ "$value": 0.12
253
+ },
254
+ "disabled": {
255
+ "$value": 0.4
256
+ }
257
+ },
258
+ "duration": {
259
+ "$type": "duration",
260
+ "instant": {
261
+ "$value": {
262
+ "value": 0,
263
+ "unit": "ms"
264
+ }
265
+ },
266
+ "short": {
267
+ "$value": {
268
+ "value": 0,
269
+ "unit": "ms"
270
+ }
271
+ },
272
+ "medium": {
273
+ "$value": {
274
+ "value": 0,
275
+ "unit": "ms"
276
+ }
277
+ },
278
+ "long": {
279
+ "$value": {
280
+ "value": 0,
281
+ "unit": "ms"
282
+ }
283
+ }
284
+ },
285
+ "ease": {
286
+ "$type": "cubicBezier",
287
+ "standard": {
288
+ "$value": [
289
+ 0.4,
290
+ 0,
291
+ 0.2,
292
+ 1
293
+ ]
294
+ },
295
+ "enter": {
296
+ "$value": [
297
+ 0,
298
+ 0,
299
+ 0.2,
300
+ 1
301
+ ]
302
+ },
303
+ "exit": {
304
+ "$value": [
305
+ 0.4,
306
+ 0,
307
+ 1,
308
+ 1
309
+ ]
310
+ }
311
+ }
312
+ }
313
+ }
@@ -0,0 +1,233 @@
1
+ {
2
+ "$description": "Wireframe, light mode: the palette (named colours) and the roles that pick from it. Change a palette entry to recolour every role that uses it; point a role at a different entry to change one thing.",
3
+ "wireframe": {
4
+ "palette": {
5
+ "$type": "color",
6
+ "white": {
7
+ "$value": "#ffffff"
8
+ },
9
+ "grey-50": {
10
+ "$value": "#f4f4f4"
11
+ },
12
+ "grey-100": {
13
+ "$value": "#e6e6e6"
14
+ },
15
+ "grey-300": {
16
+ "$value": "#9c9c9c"
17
+ },
18
+ "grey-500": {
19
+ "$value": "#767676"
20
+ },
21
+ "grey-600": {
22
+ "$value": "#5e5e5e"
23
+ },
24
+ "grey-700": {
25
+ "$value": "#474747"
26
+ },
27
+ "grey-800": {
28
+ "$value": "#333333"
29
+ },
30
+ "grey-900": {
31
+ "$value": "#222222"
32
+ },
33
+ "blue": {
34
+ "$value": "#1a5fd6"
35
+ },
36
+ "blue-deep": {
37
+ "$value": "#183f8a"
38
+ },
39
+ "blue-wash": {
40
+ "$value": "#e8f0fc"
41
+ }
42
+ },
43
+ "sys": {
44
+ "$type": "color",
45
+ "surface-default": {
46
+ "$value": "{wireframe.palette.white}",
47
+ "$description": "Main page background"
48
+ },
49
+ "surface-subtle": {
50
+ "$value": "{wireframe.palette.grey-50}",
51
+ "$description": "Grouping background: table headers, wells"
52
+ },
53
+ "surface-raised": {
54
+ "$value": "{wireframe.palette.white}",
55
+ "$description": "Cards and sheets"
56
+ },
57
+ "surface-overlay": {
58
+ "$value": "{wireframe.palette.white}",
59
+ "$description": "Dialogs and popovers"
60
+ },
61
+ "surface-inverse": {
62
+ "$value": "{wireframe.palette.grey-800}",
63
+ "$description": "Snackbars and tooltips"
64
+ },
65
+ "scrim": {
66
+ "$value": "rgba(0, 0, 0, 0.4)"
67
+ },
68
+ "text-default": {
69
+ "$value": "{wireframe.palette.grey-900}"
70
+ },
71
+ "text-muted": {
72
+ "$value": "{wireframe.palette.grey-600}"
73
+ },
74
+ "text-inverse": {
75
+ "$value": "{wireframe.palette.white}"
76
+ },
77
+ "text-link": {
78
+ "$value": "{wireframe.palette.blue}",
79
+ "$description": "Inline links"
80
+ },
81
+ "border-default": {
82
+ "$value": "{wireframe.palette.grey-300}"
83
+ },
84
+ "border-strong": {
85
+ "$value": "{wireframe.palette.grey-500}",
86
+ "$description": "Input outlines (3:1 on the page)"
87
+ },
88
+ "border-focus": {
89
+ "$value": "{wireframe.palette.blue}",
90
+ "$description": "Keyboard focus ring (3:1 on the page)"
91
+ },
92
+ "action-primary-background": {
93
+ "$value": "{wireframe.palette.blue}"
94
+ },
95
+ "action-primary-foreground": {
96
+ "$value": "{wireframe.palette.white}"
97
+ },
98
+ "action-secondary-background": {
99
+ "$value": "{wireframe.palette.white}"
100
+ },
101
+ "action-secondary-foreground": {
102
+ "$value": "{wireframe.palette.grey-900}"
103
+ },
104
+ "action-secondary-border": {
105
+ "$value": "{wireframe.palette.grey-500}"
106
+ },
107
+ "action-danger-background": {
108
+ "$value": "{wireframe.palette.grey-800}"
109
+ },
110
+ "action-danger-foreground": {
111
+ "$value": "{wireframe.palette.white}"
112
+ },
113
+ "selection-background": {
114
+ "$value": "{wireframe.palette.blue-wash}"
115
+ },
116
+ "selection-foreground": {
117
+ "$value": "{wireframe.palette.blue-deep}"
118
+ },
119
+ "status-info-background": {
120
+ "$value": "{wireframe.palette.blue-wash}"
121
+ },
122
+ "status-info-foreground": {
123
+ "$value": "{wireframe.palette.blue-deep}"
124
+ },
125
+ "status-info-emphasis": {
126
+ "$value": "{wireframe.palette.blue}"
127
+ },
128
+ "status-success-background": {
129
+ "$value": "{wireframe.palette.grey-50}"
130
+ },
131
+ "status-success-foreground": {
132
+ "$value": "{wireframe.palette.grey-900}"
133
+ },
134
+ "status-success-emphasis": {
135
+ "$value": "{wireframe.palette.grey-700}"
136
+ },
137
+ "status-warning-background": {
138
+ "$value": "{wireframe.palette.grey-100}"
139
+ },
140
+ "status-warning-foreground": {
141
+ "$value": "{wireframe.palette.grey-900}"
142
+ },
143
+ "status-warning-emphasis": {
144
+ "$value": "{wireframe.palette.grey-500}"
145
+ },
146
+ "status-danger-background": {
147
+ "$value": "{wireframe.palette.grey-100}"
148
+ },
149
+ "status-danger-foreground": {
150
+ "$value": "{wireframe.palette.grey-900}"
151
+ },
152
+ "status-danger-emphasis": {
153
+ "$value": "{wireframe.palette.grey-800}"
154
+ },
155
+ "data-1": {
156
+ "$value": "{wireframe.palette.blue}"
157
+ },
158
+ "data-2": {
159
+ "$value": "{wireframe.palette.grey-900}"
160
+ },
161
+ "data-3": {
162
+ "$value": "{wireframe.palette.grey-700}"
163
+ },
164
+ "data-4": {
165
+ "$value": "{wireframe.palette.grey-600}"
166
+ },
167
+ "data-5": {
168
+ "$value": "{wireframe.palette.grey-500}"
169
+ },
170
+ "data-6": {
171
+ "$value": "{wireframe.palette.blue-deep}"
172
+ },
173
+ "data-positive": {
174
+ "$value": "{wireframe.palette.grey-800}"
175
+ },
176
+ "data-negative": {
177
+ "$value": "{wireframe.palette.blue}"
178
+ },
179
+ "data-neutral": {
180
+ "$value": "{wireframe.palette.grey-500}"
181
+ }
182
+ },
183
+ "shadow": {
184
+ "$type": "shadow",
185
+ "raised": {
186
+ "$value": [
187
+ {
188
+ "offsetX": {
189
+ "value": 0,
190
+ "unit": "px"
191
+ },
192
+ "offsetY": {
193
+ "value": 0,
194
+ "unit": "px"
195
+ },
196
+ "blur": {
197
+ "value": 0,
198
+ "unit": "px"
199
+ },
200
+ "spread": {
201
+ "value": 0,
202
+ "unit": "px"
203
+ },
204
+ "color": "rgba(0, 0, 0, 0)"
205
+ }
206
+ ]
207
+ },
208
+ "overlay": {
209
+ "$value": [
210
+ {
211
+ "offsetX": {
212
+ "value": 0,
213
+ "unit": "px"
214
+ },
215
+ "offsetY": {
216
+ "value": 0,
217
+ "unit": "px"
218
+ },
219
+ "blur": {
220
+ "value": 0,
221
+ "unit": "px"
222
+ },
223
+ "spread": {
224
+ "value": 0,
225
+ "unit": "px"
226
+ },
227
+ "color": "rgba(0, 0, 0, 0)"
228
+ }
229
+ ]
230
+ }
231
+ }
232
+ }
233
+ }