@polyxd/ds-terminal 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": "Terminal primitives shared by both modes: type, spacing, radii, borders, motion. Original template by Polyxd; every value here is yours to change.",
3
+ "terminal": {
4
+ "font": {
5
+ "$type": "fontFamily",
6
+ "display": {
7
+ "$value": "'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace",
8
+ "$type": "fontFamily"
9
+ },
10
+ "body": {
11
+ "$value": "'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace",
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": 22,
28
+ "unit": "px"
29
+ }
30
+ },
31
+ "title-section": {
32
+ "$value": {
33
+ "value": 17,
34
+ "unit": "px"
35
+ }
36
+ },
37
+ "title-item": {
38
+ "$value": {
39
+ "value": 15,
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": 13,
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": 11,
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
+ "700": {
83
+ "$value": 700
84
+ }
85
+ },
86
+ "space": {
87
+ "$type": "dimension",
88
+ "inset": {
89
+ "compact": {
90
+ "$value": {
91
+ "value": 6,
92
+ "unit": "px"
93
+ }
94
+ },
95
+ "default": {
96
+ "$value": {
97
+ "value": 10,
98
+ "unit": "px"
99
+ }
100
+ },
101
+ "comfortable": {
102
+ "$value": {
103
+ "value": 16,
104
+ "unit": "px"
105
+ }
106
+ }
107
+ },
108
+ "stack": {
109
+ "tight": {
110
+ "$value": {
111
+ "value": 2,
112
+ "unit": "px"
113
+ }
114
+ },
115
+ "default": {
116
+ "$value": {
117
+ "value": 6,
118
+ "unit": "px"
119
+ }
120
+ },
121
+ "loose": {
122
+ "$value": {
123
+ "value": 10,
124
+ "unit": "px"
125
+ }
126
+ },
127
+ "section": {
128
+ "$value": {
129
+ "value": 24,
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": 12,
150
+ "unit": "px"
151
+ }
152
+ }
153
+ }
154
+ },
155
+ "size": {
156
+ "$type": "dimension",
157
+ "target": {
158
+ "$value": {
159
+ "value": 36,
160
+ "unit": "px"
161
+ }
162
+ },
163
+ "icon-small": {
164
+ "$value": {
165
+ "value": 14,
166
+ "unit": "px"
167
+ }
168
+ },
169
+ "icon-default": {
170
+ "$value": {
171
+ "value": 18,
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": 2,
187
+ "unit": "px"
188
+ }
189
+ },
190
+ "default": {
191
+ "$value": {
192
+ "value": 2,
193
+ "unit": "px"
194
+ }
195
+ },
196
+ "large": {
197
+ "$value": {
198
+ "value": 4,
199
+ "unit": "px"
200
+ }
201
+ },
202
+ "full": {
203
+ "$value": {
204
+ "value": 4,
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": 1,
235
+ "unit": "px"
236
+ }
237
+ }
238
+ },
239
+ "measure": {
240
+ "$value": 75,
241
+ "$type": "number"
242
+ },
243
+ "opacity": {
244
+ "$type": "number",
245
+ "hover": {
246
+ "$value": 0.08
247
+ },
248
+ "pressed": {
249
+ "$value": 0.16
250
+ },
251
+ "focus": {
252
+ "$value": 0.16
253
+ },
254
+ "disabled": {
255
+ "$value": 0.45
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": 60,
269
+ "unit": "ms"
270
+ }
271
+ },
272
+ "medium": {
273
+ "$value": {
274
+ "value": 100,
275
+ "unit": "ms"
276
+ }
277
+ },
278
+ "long": {
279
+ "$value": {
280
+ "value": 150,
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,266 @@
1
+ {
2
+ "$description": "Terminal, 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
+ "terminal": {
4
+ "palette": {
5
+ "$type": "color",
6
+ "bg": {
7
+ "$value": "#f4f7f2"
8
+ },
9
+ "bg-1": {
10
+ "$value": "#e8eee5"
11
+ },
12
+ "bg-2": {
13
+ "$value": "#fbfcfa"
14
+ },
15
+ "bg-3": {
16
+ "$value": "#ffffff"
17
+ },
18
+ "fg": {
19
+ "$value": "#0f1a12"
20
+ },
21
+ "fg-dim": {
22
+ "$value": "#4c6650"
23
+ },
24
+ "line": {
25
+ "$value": "#c5d1c6"
26
+ },
27
+ "line-strong": {
28
+ "$value": "#5f7a63"
29
+ },
30
+ "green": {
31
+ "$value": "#1f7a30"
32
+ },
33
+ "green-deep": {
34
+ "$value": "#12501e"
35
+ },
36
+ "green-wash": {
37
+ "$value": "#d9f0dc"
38
+ },
39
+ "amber": {
40
+ "$value": "#8a5a00"
41
+ },
42
+ "amber-deep": {
43
+ "$value": "#5c3d00"
44
+ },
45
+ "amber-wash": {
46
+ "$value": "#fbeccc"
47
+ },
48
+ "red": {
49
+ "$value": "#b3261e"
50
+ },
51
+ "red-deep": {
52
+ "$value": "#7a1c16"
53
+ },
54
+ "red-wash": {
55
+ "$value": "#f7dcd9"
56
+ },
57
+ "cyan": {
58
+ "$value": "#0e6f8a"
59
+ },
60
+ "cyan-deep": {
61
+ "$value": "#0f4a5c"
62
+ },
63
+ "cyan-wash": {
64
+ "$value": "#dceef5"
65
+ },
66
+ "magenta": {
67
+ "$value": "#6b3fa0"
68
+ },
69
+ "grey": {
70
+ "$value": "#3d3d3d"
71
+ },
72
+ "white": {
73
+ "$value": "#ffffff"
74
+ }
75
+ },
76
+ "sys": {
77
+ "$type": "color",
78
+ "surface-default": {
79
+ "$value": "{terminal.palette.bg}",
80
+ "$description": "Main page background"
81
+ },
82
+ "surface-subtle": {
83
+ "$value": "{terminal.palette.bg-1}",
84
+ "$description": "Grouping background: table headers, wells"
85
+ },
86
+ "surface-raised": {
87
+ "$value": "{terminal.palette.bg-2}",
88
+ "$description": "Cards and sheets"
89
+ },
90
+ "surface-overlay": {
91
+ "$value": "{terminal.palette.bg-3}",
92
+ "$description": "Dialogs and popovers"
93
+ },
94
+ "surface-inverse": {
95
+ "$value": "{terminal.palette.fg}",
96
+ "$description": "Snackbars and tooltips"
97
+ },
98
+ "scrim": {
99
+ "$value": "rgba(15, 26, 18, 0.5)"
100
+ },
101
+ "text-default": {
102
+ "$value": "{terminal.palette.fg}"
103
+ },
104
+ "text-muted": {
105
+ "$value": "{terminal.palette.fg-dim}"
106
+ },
107
+ "text-inverse": {
108
+ "$value": "{terminal.palette.bg}"
109
+ },
110
+ "text-link": {
111
+ "$value": "{terminal.palette.green}",
112
+ "$description": "Inline links"
113
+ },
114
+ "border-default": {
115
+ "$value": "{terminal.palette.line}"
116
+ },
117
+ "border-strong": {
118
+ "$value": "{terminal.palette.line-strong}",
119
+ "$description": "Input outlines (3:1 on the page)"
120
+ },
121
+ "border-focus": {
122
+ "$value": "{terminal.palette.amber}",
123
+ "$description": "Keyboard focus ring (3:1 on the page)"
124
+ },
125
+ "action-primary-background": {
126
+ "$value": "{terminal.palette.green}"
127
+ },
128
+ "action-primary-foreground": {
129
+ "$value": "{terminal.palette.white}"
130
+ },
131
+ "action-secondary-background": {
132
+ "$value": "{terminal.palette.bg}"
133
+ },
134
+ "action-secondary-foreground": {
135
+ "$value": "{terminal.palette.fg}"
136
+ },
137
+ "action-secondary-border": {
138
+ "$value": "{terminal.palette.line-strong}"
139
+ },
140
+ "action-danger-background": {
141
+ "$value": "{terminal.palette.red}"
142
+ },
143
+ "action-danger-foreground": {
144
+ "$value": "{terminal.palette.white}"
145
+ },
146
+ "selection-background": {
147
+ "$value": "{terminal.palette.green-wash}"
148
+ },
149
+ "selection-foreground": {
150
+ "$value": "{terminal.palette.green-deep}"
151
+ },
152
+ "status-info-background": {
153
+ "$value": "{terminal.palette.cyan-wash}"
154
+ },
155
+ "status-info-foreground": {
156
+ "$value": "{terminal.palette.cyan-deep}"
157
+ },
158
+ "status-info-emphasis": {
159
+ "$value": "{terminal.palette.cyan}"
160
+ },
161
+ "status-success-background": {
162
+ "$value": "{terminal.palette.green-wash}"
163
+ },
164
+ "status-success-foreground": {
165
+ "$value": "{terminal.palette.green-deep}"
166
+ },
167
+ "status-success-emphasis": {
168
+ "$value": "{terminal.palette.green}"
169
+ },
170
+ "status-warning-background": {
171
+ "$value": "{terminal.palette.amber-wash}"
172
+ },
173
+ "status-warning-foreground": {
174
+ "$value": "{terminal.palette.amber-deep}"
175
+ },
176
+ "status-warning-emphasis": {
177
+ "$value": "{terminal.palette.amber}"
178
+ },
179
+ "status-danger-background": {
180
+ "$value": "{terminal.palette.red-wash}"
181
+ },
182
+ "status-danger-foreground": {
183
+ "$value": "{terminal.palette.red-deep}"
184
+ },
185
+ "status-danger-emphasis": {
186
+ "$value": "{terminal.palette.red}"
187
+ },
188
+ "data-1": {
189
+ "$value": "{terminal.palette.green}"
190
+ },
191
+ "data-2": {
192
+ "$value": "{terminal.palette.amber}"
193
+ },
194
+ "data-3": {
195
+ "$value": "{terminal.palette.cyan}"
196
+ },
197
+ "data-4": {
198
+ "$value": "{terminal.palette.red}"
199
+ },
200
+ "data-5": {
201
+ "$value": "{terminal.palette.magenta}"
202
+ },
203
+ "data-6": {
204
+ "$value": "{terminal.palette.grey}"
205
+ },
206
+ "data-positive": {
207
+ "$value": "{terminal.palette.green}"
208
+ },
209
+ "data-negative": {
210
+ "$value": "{terminal.palette.red}"
211
+ },
212
+ "data-neutral": {
213
+ "$value": "{terminal.palette.line-strong}"
214
+ }
215
+ },
216
+ "shadow": {
217
+ "$type": "shadow",
218
+ "raised": {
219
+ "$value": [
220
+ {
221
+ "offsetX": {
222
+ "value": 0,
223
+ "unit": "px"
224
+ },
225
+ "offsetY": {
226
+ "value": 0,
227
+ "unit": "px"
228
+ },
229
+ "blur": {
230
+ "value": 0,
231
+ "unit": "px"
232
+ },
233
+ "spread": {
234
+ "value": 0,
235
+ "unit": "px"
236
+ },
237
+ "color": "rgba(0, 0, 0, 0)"
238
+ }
239
+ ]
240
+ },
241
+ "overlay": {
242
+ "$value": [
243
+ {
244
+ "offsetX": {
245
+ "value": 0,
246
+ "unit": "px"
247
+ },
248
+ "offsetY": {
249
+ "value": 0,
250
+ "unit": "px"
251
+ },
252
+ "blur": {
253
+ "value": 0,
254
+ "unit": "px"
255
+ },
256
+ "spread": {
257
+ "value": 1,
258
+ "unit": "px"
259
+ },
260
+ "color": "#5f7a63"
261
+ }
262
+ ]
263
+ }
264
+ }
265
+ }
266
+ }