@filipgutica/design-system 1.0.21 → 1.0.23
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.
- package/dist/tokens.d.ts +17 -0
- package/dist/tokens.js +272 -0
- package/dist/tokens.json +272 -0
- package/language/DESIGN.md +2 -1
- package/language/components.html +37 -8
- package/language/components.md +15 -2
- package/language/decisions.md +3 -0
- package/language/reference.html +17 -0
- package/language/tokens.css +18 -1
- package/package.json +1 -1
- package/theme-mapper/core.js +18 -1
- package/theme-mapper/engine.js +6 -0
package/dist/tokens.d.ts
CHANGED
|
@@ -49,6 +49,23 @@ export type TokenName =
|
|
|
49
49
|
| 'color-terminal-caption'
|
|
50
50
|
| 'color-terminal-caption-text'
|
|
51
51
|
| 'shadow-nav-current-dark'
|
|
52
|
+
| 'color-terminal-ansi-0'
|
|
53
|
+
| 'color-terminal-ansi-1'
|
|
54
|
+
| 'color-terminal-ansi-2'
|
|
55
|
+
| 'color-terminal-ansi-3'
|
|
56
|
+
| 'color-terminal-ansi-4'
|
|
57
|
+
| 'color-terminal-ansi-5'
|
|
58
|
+
| 'color-terminal-ansi-6'
|
|
59
|
+
| 'color-terminal-ansi-7'
|
|
60
|
+
| 'color-terminal-ansi-8'
|
|
61
|
+
| 'color-terminal-ansi-9'
|
|
62
|
+
| 'color-terminal-ansi-10'
|
|
63
|
+
| 'color-terminal-ansi-11'
|
|
64
|
+
| 'color-terminal-ansi-12'
|
|
65
|
+
| 'color-terminal-ansi-13'
|
|
66
|
+
| 'color-terminal-ansi-14'
|
|
67
|
+
| 'color-terminal-ansi-15'
|
|
68
|
+
| 'color-terminal-ansi-4-bg'
|
|
52
69
|
| 'color-code'
|
|
53
70
|
| 'color-code-text'
|
|
54
71
|
| 'color-syntax-keyword'
|
package/dist/tokens.js
CHANGED
|
@@ -51,6 +51,23 @@ export const tokens = {
|
|
|
51
51
|
"color-terminal-caption": "#13171a",
|
|
52
52
|
"color-terminal-caption-text": "#c9d0d6",
|
|
53
53
|
"shadow-nav-current-dark": "0 1px 2px rgb(0 0 0 / 25%)",
|
|
54
|
+
"color-terminal-ansi-0": "#2b2b31",
|
|
55
|
+
"color-terminal-ansi-1": "#f0776c",
|
|
56
|
+
"color-terminal-ansi-2": "#4cc38a",
|
|
57
|
+
"color-terminal-ansi-3": "#e2a54b",
|
|
58
|
+
"color-terminal-ansi-4": "#7d97ff",
|
|
59
|
+
"color-terminal-ansi-5": "#c792ea",
|
|
60
|
+
"color-terminal-ansi-6": "#5fd3d9",
|
|
61
|
+
"color-terminal-ansi-7": "#c8c8d0",
|
|
62
|
+
"color-terminal-ansi-8": "#a0a0ab",
|
|
63
|
+
"color-terminal-ansi-9": "#ff8f85",
|
|
64
|
+
"color-terminal-ansi-10": "#6fd3a0",
|
|
65
|
+
"color-terminal-ansi-11": "#e8b56a",
|
|
66
|
+
"color-terminal-ansi-12": "#7d97ff",
|
|
67
|
+
"color-terminal-ansi-13": "#d9a8f0",
|
|
68
|
+
"color-terminal-ansi-14": "#8ee3e8",
|
|
69
|
+
"color-terminal-ansi-15": "#ffffff",
|
|
70
|
+
"color-terminal-ansi-4-bg": "#3354c4",
|
|
54
71
|
"color-code": "#e9ebed",
|
|
55
72
|
"color-code-text": "#101315",
|
|
56
73
|
"color-syntax-keyword": "#715b42",
|
|
@@ -165,6 +182,23 @@ export const tokens = {
|
|
|
165
182
|
"color-terminal-caption": "#13171a",
|
|
166
183
|
"color-terminal-caption-text": "#c9d0d6",
|
|
167
184
|
"shadow-nav-current-dark": "0 1px 2px rgb(0 0 0 / 25%)",
|
|
185
|
+
"color-terminal-ansi-0": "#2b2b31",
|
|
186
|
+
"color-terminal-ansi-1": "#f0776c",
|
|
187
|
+
"color-terminal-ansi-2": "#4cc38a",
|
|
188
|
+
"color-terminal-ansi-3": "#e2a54b",
|
|
189
|
+
"color-terminal-ansi-4": "#7d97ff",
|
|
190
|
+
"color-terminal-ansi-5": "#c792ea",
|
|
191
|
+
"color-terminal-ansi-6": "#5fd3d9",
|
|
192
|
+
"color-terminal-ansi-7": "#c8c8d0",
|
|
193
|
+
"color-terminal-ansi-8": "#a0a0ab",
|
|
194
|
+
"color-terminal-ansi-9": "#ff8f85",
|
|
195
|
+
"color-terminal-ansi-10": "#6fd3a0",
|
|
196
|
+
"color-terminal-ansi-11": "#e8b56a",
|
|
197
|
+
"color-terminal-ansi-12": "#7d97ff",
|
|
198
|
+
"color-terminal-ansi-13": "#d9a8f0",
|
|
199
|
+
"color-terminal-ansi-14": "#8ee3e8",
|
|
200
|
+
"color-terminal-ansi-15": "#ffffff",
|
|
201
|
+
"color-terminal-ansi-4-bg": "#3354c4",
|
|
168
202
|
"color-code": "#13171a",
|
|
169
203
|
"color-code-text": "#e6e9eb",
|
|
170
204
|
"color-syntax-keyword": "#d8c2a5",
|
|
@@ -281,6 +315,23 @@ export const tokens = {
|
|
|
281
315
|
"color-terminal-caption": "#13171a",
|
|
282
316
|
"color-terminal-caption-text": "#c9d0d6",
|
|
283
317
|
"shadow-nav-current-dark": "0 1px 2px rgb(0 0 0 / 25%)",
|
|
318
|
+
"color-terminal-ansi-0": "#2b2b31",
|
|
319
|
+
"color-terminal-ansi-1": "#f0776c",
|
|
320
|
+
"color-terminal-ansi-2": "#4cc38a",
|
|
321
|
+
"color-terminal-ansi-3": "#e2a54b",
|
|
322
|
+
"color-terminal-ansi-4": "#7d97ff",
|
|
323
|
+
"color-terminal-ansi-5": "#c792ea",
|
|
324
|
+
"color-terminal-ansi-6": "#5fd3d9",
|
|
325
|
+
"color-terminal-ansi-7": "#c8c8d0",
|
|
326
|
+
"color-terminal-ansi-8": "#a0a0ab",
|
|
327
|
+
"color-terminal-ansi-9": "#ff8f85",
|
|
328
|
+
"color-terminal-ansi-10": "#6fd3a0",
|
|
329
|
+
"color-terminal-ansi-11": "#e8b56a",
|
|
330
|
+
"color-terminal-ansi-12": "#7d97ff",
|
|
331
|
+
"color-terminal-ansi-13": "#d9a8f0",
|
|
332
|
+
"color-terminal-ansi-14": "#8ee3e8",
|
|
333
|
+
"color-terminal-ansi-15": "#ffffff",
|
|
334
|
+
"color-terminal-ansi-4-bg": "#3354c4",
|
|
284
335
|
"color-code": "#e6e9ef",
|
|
285
336
|
"color-code-text": "#4c4f69",
|
|
286
337
|
"color-syntax-keyword": "#715b42",
|
|
@@ -395,6 +446,23 @@ export const tokens = {
|
|
|
395
446
|
"color-terminal-caption": "#13171a",
|
|
396
447
|
"color-terminal-caption-text": "#c9d0d6",
|
|
397
448
|
"shadow-nav-current-dark": "0 1px 2px rgb(0 0 0 / 25%)",
|
|
449
|
+
"color-terminal-ansi-0": "#2b2b31",
|
|
450
|
+
"color-terminal-ansi-1": "#f0776c",
|
|
451
|
+
"color-terminal-ansi-2": "#4cc38a",
|
|
452
|
+
"color-terminal-ansi-3": "#e2a54b",
|
|
453
|
+
"color-terminal-ansi-4": "#7d97ff",
|
|
454
|
+
"color-terminal-ansi-5": "#c792ea",
|
|
455
|
+
"color-terminal-ansi-6": "#5fd3d9",
|
|
456
|
+
"color-terminal-ansi-7": "#c8c8d0",
|
|
457
|
+
"color-terminal-ansi-8": "#a0a0ab",
|
|
458
|
+
"color-terminal-ansi-9": "#ff8f85",
|
|
459
|
+
"color-terminal-ansi-10": "#6fd3a0",
|
|
460
|
+
"color-terminal-ansi-11": "#e8b56a",
|
|
461
|
+
"color-terminal-ansi-12": "#7d97ff",
|
|
462
|
+
"color-terminal-ansi-13": "#d9a8f0",
|
|
463
|
+
"color-terminal-ansi-14": "#8ee3e8",
|
|
464
|
+
"color-terminal-ansi-15": "#ffffff",
|
|
465
|
+
"color-terminal-ansi-4-bg": "#3354c4",
|
|
398
466
|
"color-code": "#181825",
|
|
399
467
|
"color-code-text": "#cdd6f4",
|
|
400
468
|
"color-syntax-keyword": "#d8c2a5",
|
|
@@ -511,6 +579,23 @@ export const tokens = {
|
|
|
511
579
|
"color-terminal-caption": "#13171a",
|
|
512
580
|
"color-terminal-caption-text": "#c9d0d6",
|
|
513
581
|
"shadow-nav-current-dark": "0 1px 2px rgb(0 0 0 / 25%)",
|
|
582
|
+
"color-terminal-ansi-0": "#2b2b31",
|
|
583
|
+
"color-terminal-ansi-1": "#f0776c",
|
|
584
|
+
"color-terminal-ansi-2": "#4cc38a",
|
|
585
|
+
"color-terminal-ansi-3": "#e2a54b",
|
|
586
|
+
"color-terminal-ansi-4": "#7d97ff",
|
|
587
|
+
"color-terminal-ansi-5": "#c792ea",
|
|
588
|
+
"color-terminal-ansi-6": "#5fd3d9",
|
|
589
|
+
"color-terminal-ansi-7": "#c8c8d0",
|
|
590
|
+
"color-terminal-ansi-8": "#a0a0ab",
|
|
591
|
+
"color-terminal-ansi-9": "#ff8f85",
|
|
592
|
+
"color-terminal-ansi-10": "#6fd3a0",
|
|
593
|
+
"color-terminal-ansi-11": "#e8b56a",
|
|
594
|
+
"color-terminal-ansi-12": "#7d97ff",
|
|
595
|
+
"color-terminal-ansi-13": "#d9a8f0",
|
|
596
|
+
"color-terminal-ansi-14": "#8ee3e8",
|
|
597
|
+
"color-terminal-ansi-15": "#ffffff",
|
|
598
|
+
"color-terminal-ansi-4-bg": "#3354c4",
|
|
514
599
|
"color-code": "#e9ebed",
|
|
515
600
|
"color-code-text": "#101315",
|
|
516
601
|
"color-syntax-keyword": "#715b42",
|
|
@@ -625,6 +710,23 @@ export const tokens = {
|
|
|
625
710
|
"color-terminal-caption": "#13171a",
|
|
626
711
|
"color-terminal-caption-text": "#c9d0d6",
|
|
627
712
|
"shadow-nav-current-dark": "0 1px 2px rgb(0 0 0 / 25%)",
|
|
713
|
+
"color-terminal-ansi-0": "#2b2b31",
|
|
714
|
+
"color-terminal-ansi-1": "#f0776c",
|
|
715
|
+
"color-terminal-ansi-2": "#4cc38a",
|
|
716
|
+
"color-terminal-ansi-3": "#e2a54b",
|
|
717
|
+
"color-terminal-ansi-4": "#7d97ff",
|
|
718
|
+
"color-terminal-ansi-5": "#c792ea",
|
|
719
|
+
"color-terminal-ansi-6": "#5fd3d9",
|
|
720
|
+
"color-terminal-ansi-7": "#c8c8d0",
|
|
721
|
+
"color-terminal-ansi-8": "#a0a0ab",
|
|
722
|
+
"color-terminal-ansi-9": "#ff8f85",
|
|
723
|
+
"color-terminal-ansi-10": "#6fd3a0",
|
|
724
|
+
"color-terminal-ansi-11": "#e8b56a",
|
|
725
|
+
"color-terminal-ansi-12": "#7d97ff",
|
|
726
|
+
"color-terminal-ansi-13": "#d9a8f0",
|
|
727
|
+
"color-terminal-ansi-14": "#8ee3e8",
|
|
728
|
+
"color-terminal-ansi-15": "#ffffff",
|
|
729
|
+
"color-terminal-ansi-4-bg": "#3354c4",
|
|
628
730
|
"color-code": "#13171a",
|
|
629
731
|
"color-code-text": "#e6e9eb",
|
|
630
732
|
"color-syntax-keyword": "#d8c2a5",
|
|
@@ -741,6 +843,23 @@ export const tokens = {
|
|
|
741
843
|
"color-terminal-caption": "#13171a",
|
|
742
844
|
"color-terminal-caption-text": "#c9d0d6",
|
|
743
845
|
"shadow-nav-current-dark": "0 1px 2px rgb(0 0 0 / 25%)",
|
|
846
|
+
"color-terminal-ansi-0": "#2b2b31",
|
|
847
|
+
"color-terminal-ansi-1": "#f0776c",
|
|
848
|
+
"color-terminal-ansi-2": "#4cc38a",
|
|
849
|
+
"color-terminal-ansi-3": "#e2a54b",
|
|
850
|
+
"color-terminal-ansi-4": "#7d97ff",
|
|
851
|
+
"color-terminal-ansi-5": "#c792ea",
|
|
852
|
+
"color-terminal-ansi-6": "#5fd3d9",
|
|
853
|
+
"color-terminal-ansi-7": "#c8c8d0",
|
|
854
|
+
"color-terminal-ansi-8": "#a0a0ab",
|
|
855
|
+
"color-terminal-ansi-9": "#ff8f85",
|
|
856
|
+
"color-terminal-ansi-10": "#6fd3a0",
|
|
857
|
+
"color-terminal-ansi-11": "#e8b56a",
|
|
858
|
+
"color-terminal-ansi-12": "#7d97ff",
|
|
859
|
+
"color-terminal-ansi-13": "#d9a8f0",
|
|
860
|
+
"color-terminal-ansi-14": "#8ee3e8",
|
|
861
|
+
"color-terminal-ansi-15": "#ffffff",
|
|
862
|
+
"color-terminal-ansi-4-bg": "#3354c4",
|
|
744
863
|
"color-code": "#e9ebed",
|
|
745
864
|
"color-code-text": "#101315",
|
|
746
865
|
"color-syntax-keyword": "#715b42",
|
|
@@ -855,6 +974,23 @@ export const tokens = {
|
|
|
855
974
|
"color-terminal-caption": "#13171a",
|
|
856
975
|
"color-terminal-caption-text": "#c9d0d6",
|
|
857
976
|
"shadow-nav-current-dark": "0 1px 2px rgb(0 0 0 / 25%)",
|
|
977
|
+
"color-terminal-ansi-0": "#2b2b31",
|
|
978
|
+
"color-terminal-ansi-1": "#f0776c",
|
|
979
|
+
"color-terminal-ansi-2": "#4cc38a",
|
|
980
|
+
"color-terminal-ansi-3": "#e2a54b",
|
|
981
|
+
"color-terminal-ansi-4": "#7d97ff",
|
|
982
|
+
"color-terminal-ansi-5": "#c792ea",
|
|
983
|
+
"color-terminal-ansi-6": "#5fd3d9",
|
|
984
|
+
"color-terminal-ansi-7": "#c8c8d0",
|
|
985
|
+
"color-terminal-ansi-8": "#a0a0ab",
|
|
986
|
+
"color-terminal-ansi-9": "#ff8f85",
|
|
987
|
+
"color-terminal-ansi-10": "#6fd3a0",
|
|
988
|
+
"color-terminal-ansi-11": "#e8b56a",
|
|
989
|
+
"color-terminal-ansi-12": "#7d97ff",
|
|
990
|
+
"color-terminal-ansi-13": "#d9a8f0",
|
|
991
|
+
"color-terminal-ansi-14": "#8ee3e8",
|
|
992
|
+
"color-terminal-ansi-15": "#ffffff",
|
|
993
|
+
"color-terminal-ansi-4-bg": "#3354c4",
|
|
858
994
|
"color-code": "#13171a",
|
|
859
995
|
"color-code-text": "#e6e9eb",
|
|
860
996
|
"color-syntax-keyword": "#d8c2a5",
|
|
@@ -971,6 +1107,23 @@ export const tokens = {
|
|
|
971
1107
|
"color-terminal-caption": "#13171a",
|
|
972
1108
|
"color-terminal-caption-text": "#c9d0d6",
|
|
973
1109
|
"shadow-nav-current-dark": "0 1px 2px rgb(0 0 0 / 25%)",
|
|
1110
|
+
"color-terminal-ansi-0": "#2b2b31",
|
|
1111
|
+
"color-terminal-ansi-1": "#f0776c",
|
|
1112
|
+
"color-terminal-ansi-2": "#4cc38a",
|
|
1113
|
+
"color-terminal-ansi-3": "#e2a54b",
|
|
1114
|
+
"color-terminal-ansi-4": "#7d97ff",
|
|
1115
|
+
"color-terminal-ansi-5": "#c792ea",
|
|
1116
|
+
"color-terminal-ansi-6": "#5fd3d9",
|
|
1117
|
+
"color-terminal-ansi-7": "#c8c8d0",
|
|
1118
|
+
"color-terminal-ansi-8": "#a0a0ab",
|
|
1119
|
+
"color-terminal-ansi-9": "#ff8f85",
|
|
1120
|
+
"color-terminal-ansi-10": "#6fd3a0",
|
|
1121
|
+
"color-terminal-ansi-11": "#e8b56a",
|
|
1122
|
+
"color-terminal-ansi-12": "#7d97ff",
|
|
1123
|
+
"color-terminal-ansi-13": "#d9a8f0",
|
|
1124
|
+
"color-terminal-ansi-14": "#8ee3e8",
|
|
1125
|
+
"color-terminal-ansi-15": "#ffffff",
|
|
1126
|
+
"color-terminal-ansi-4-bg": "#3354c4",
|
|
974
1127
|
"color-code": "#f6f8fa",
|
|
975
1128
|
"color-code-text": "#1f2328",
|
|
976
1129
|
"color-syntax-keyword": "#715b42",
|
|
@@ -1085,6 +1238,23 @@ export const tokens = {
|
|
|
1085
1238
|
"color-terminal-caption": "#13171a",
|
|
1086
1239
|
"color-terminal-caption-text": "#c9d0d6",
|
|
1087
1240
|
"shadow-nav-current-dark": "0 1px 2px rgb(0 0 0 / 25%)",
|
|
1241
|
+
"color-terminal-ansi-0": "#2b2b31",
|
|
1242
|
+
"color-terminal-ansi-1": "#f0776c",
|
|
1243
|
+
"color-terminal-ansi-2": "#4cc38a",
|
|
1244
|
+
"color-terminal-ansi-3": "#e2a54b",
|
|
1245
|
+
"color-terminal-ansi-4": "#7d97ff",
|
|
1246
|
+
"color-terminal-ansi-5": "#c792ea",
|
|
1247
|
+
"color-terminal-ansi-6": "#5fd3d9",
|
|
1248
|
+
"color-terminal-ansi-7": "#c8c8d0",
|
|
1249
|
+
"color-terminal-ansi-8": "#a0a0ab",
|
|
1250
|
+
"color-terminal-ansi-9": "#ff8f85",
|
|
1251
|
+
"color-terminal-ansi-10": "#6fd3a0",
|
|
1252
|
+
"color-terminal-ansi-11": "#e8b56a",
|
|
1253
|
+
"color-terminal-ansi-12": "#7d97ff",
|
|
1254
|
+
"color-terminal-ansi-13": "#d9a8f0",
|
|
1255
|
+
"color-terminal-ansi-14": "#8ee3e8",
|
|
1256
|
+
"color-terminal-ansi-15": "#ffffff",
|
|
1257
|
+
"color-terminal-ansi-4-bg": "#3354c4",
|
|
1088
1258
|
"color-code": "#151b23",
|
|
1089
1259
|
"color-code-text": "#f0f6fc",
|
|
1090
1260
|
"color-syntax-keyword": "#d8c2a5",
|
|
@@ -1201,6 +1371,23 @@ export const tokens = {
|
|
|
1201
1371
|
"color-terminal-caption": "#13171a",
|
|
1202
1372
|
"color-terminal-caption-text": "#c9d0d6",
|
|
1203
1373
|
"shadow-nav-current-dark": "0 1px 2px rgb(0 0 0 / 25%)",
|
|
1374
|
+
"color-terminal-ansi-0": "#2b2b31",
|
|
1375
|
+
"color-terminal-ansi-1": "#f0776c",
|
|
1376
|
+
"color-terminal-ansi-2": "#4cc38a",
|
|
1377
|
+
"color-terminal-ansi-3": "#e2a54b",
|
|
1378
|
+
"color-terminal-ansi-4": "#7d97ff",
|
|
1379
|
+
"color-terminal-ansi-5": "#c792ea",
|
|
1380
|
+
"color-terminal-ansi-6": "#5fd3d9",
|
|
1381
|
+
"color-terminal-ansi-7": "#c8c8d0",
|
|
1382
|
+
"color-terminal-ansi-8": "#a0a0ab",
|
|
1383
|
+
"color-terminal-ansi-9": "#ff8f85",
|
|
1384
|
+
"color-terminal-ansi-10": "#6fd3a0",
|
|
1385
|
+
"color-terminal-ansi-11": "#e8b56a",
|
|
1386
|
+
"color-terminal-ansi-12": "#7d97ff",
|
|
1387
|
+
"color-terminal-ansi-13": "#d9a8f0",
|
|
1388
|
+
"color-terminal-ansi-14": "#8ee3e8",
|
|
1389
|
+
"color-terminal-ansi-15": "#ffffff",
|
|
1390
|
+
"color-terminal-ansi-4-bg": "#3354c4",
|
|
1204
1391
|
"color-code": "#e9ebed",
|
|
1205
1392
|
"color-code-text": "#101315",
|
|
1206
1393
|
"color-syntax-keyword": "#715b42",
|
|
@@ -1315,6 +1502,23 @@ export const tokens = {
|
|
|
1315
1502
|
"color-terminal-caption": "#13171a",
|
|
1316
1503
|
"color-terminal-caption-text": "#c9d0d6",
|
|
1317
1504
|
"shadow-nav-current-dark": "0 1px 2px rgb(0 0 0 / 25%)",
|
|
1505
|
+
"color-terminal-ansi-0": "#2b2b31",
|
|
1506
|
+
"color-terminal-ansi-1": "#f0776c",
|
|
1507
|
+
"color-terminal-ansi-2": "#4cc38a",
|
|
1508
|
+
"color-terminal-ansi-3": "#e2a54b",
|
|
1509
|
+
"color-terminal-ansi-4": "#7d97ff",
|
|
1510
|
+
"color-terminal-ansi-5": "#c792ea",
|
|
1511
|
+
"color-terminal-ansi-6": "#5fd3d9",
|
|
1512
|
+
"color-terminal-ansi-7": "#c8c8d0",
|
|
1513
|
+
"color-terminal-ansi-8": "#a0a0ab",
|
|
1514
|
+
"color-terminal-ansi-9": "#ff8f85",
|
|
1515
|
+
"color-terminal-ansi-10": "#6fd3a0",
|
|
1516
|
+
"color-terminal-ansi-11": "#e8b56a",
|
|
1517
|
+
"color-terminal-ansi-12": "#7d97ff",
|
|
1518
|
+
"color-terminal-ansi-13": "#d9a8f0",
|
|
1519
|
+
"color-terminal-ansi-14": "#8ee3e8",
|
|
1520
|
+
"color-terminal-ansi-15": "#ffffff",
|
|
1521
|
+
"color-terminal-ansi-4-bg": "#3354c4",
|
|
1318
1522
|
"color-code": "#13171a",
|
|
1319
1523
|
"color-code-text": "#e6e9eb",
|
|
1320
1524
|
"color-syntax-keyword": "#d8c2a5",
|
|
@@ -1431,6 +1635,23 @@ export const tokens = {
|
|
|
1431
1635
|
"color-terminal-caption": "#13171a",
|
|
1432
1636
|
"color-terminal-caption-text": "#c9d0d6",
|
|
1433
1637
|
"shadow-nav-current-dark": "0 1px 2px rgb(0 0 0 / 25%)",
|
|
1638
|
+
"color-terminal-ansi-0": "#2b2b31",
|
|
1639
|
+
"color-terminal-ansi-1": "#f0776c",
|
|
1640
|
+
"color-terminal-ansi-2": "#4cc38a",
|
|
1641
|
+
"color-terminal-ansi-3": "#e2a54b",
|
|
1642
|
+
"color-terminal-ansi-4": "#7d97ff",
|
|
1643
|
+
"color-terminal-ansi-5": "#c792ea",
|
|
1644
|
+
"color-terminal-ansi-6": "#5fd3d9",
|
|
1645
|
+
"color-terminal-ansi-7": "#c8c8d0",
|
|
1646
|
+
"color-terminal-ansi-8": "#a0a0ab",
|
|
1647
|
+
"color-terminal-ansi-9": "#ff8f85",
|
|
1648
|
+
"color-terminal-ansi-10": "#6fd3a0",
|
|
1649
|
+
"color-terminal-ansi-11": "#e8b56a",
|
|
1650
|
+
"color-terminal-ansi-12": "#7d97ff",
|
|
1651
|
+
"color-terminal-ansi-13": "#d9a8f0",
|
|
1652
|
+
"color-terminal-ansi-14": "#8ee3e8",
|
|
1653
|
+
"color-terminal-ansi-15": "#ffffff",
|
|
1654
|
+
"color-terminal-ansi-4-bg": "#3354c4",
|
|
1434
1655
|
"color-code": "#e9ebed",
|
|
1435
1656
|
"color-code-text": "#101315",
|
|
1436
1657
|
"color-syntax-keyword": "#715b42",
|
|
@@ -1545,6 +1766,23 @@ export const tokens = {
|
|
|
1545
1766
|
"color-terminal-caption": "#13171a",
|
|
1546
1767
|
"color-terminal-caption-text": "#c9d0d6",
|
|
1547
1768
|
"shadow-nav-current-dark": "0 1px 2px rgb(0 0 0 / 25%)",
|
|
1769
|
+
"color-terminal-ansi-0": "#2b2b31",
|
|
1770
|
+
"color-terminal-ansi-1": "#f0776c",
|
|
1771
|
+
"color-terminal-ansi-2": "#4cc38a",
|
|
1772
|
+
"color-terminal-ansi-3": "#e2a54b",
|
|
1773
|
+
"color-terminal-ansi-4": "#7d97ff",
|
|
1774
|
+
"color-terminal-ansi-5": "#c792ea",
|
|
1775
|
+
"color-terminal-ansi-6": "#5fd3d9",
|
|
1776
|
+
"color-terminal-ansi-7": "#c8c8d0",
|
|
1777
|
+
"color-terminal-ansi-8": "#a0a0ab",
|
|
1778
|
+
"color-terminal-ansi-9": "#ff8f85",
|
|
1779
|
+
"color-terminal-ansi-10": "#6fd3a0",
|
|
1780
|
+
"color-terminal-ansi-11": "#e8b56a",
|
|
1781
|
+
"color-terminal-ansi-12": "#7d97ff",
|
|
1782
|
+
"color-terminal-ansi-13": "#d9a8f0",
|
|
1783
|
+
"color-terminal-ansi-14": "#8ee3e8",
|
|
1784
|
+
"color-terminal-ansi-15": "#ffffff",
|
|
1785
|
+
"color-terminal-ansi-4-bg": "#3354c4",
|
|
1548
1786
|
"color-code": "#13171a",
|
|
1549
1787
|
"color-code-text": "#e6e9eb",
|
|
1550
1788
|
"color-syntax-keyword": "#d8c2a5",
|
|
@@ -1661,6 +1899,23 @@ export const tokens = {
|
|
|
1661
1899
|
"color-terminal-caption": "#13171a",
|
|
1662
1900
|
"color-terminal-caption-text": "#c9d0d6",
|
|
1663
1901
|
"shadow-nav-current-dark": "0 1px 2px rgb(0 0 0 / 25%)",
|
|
1902
|
+
"color-terminal-ansi-0": "#2b2b31",
|
|
1903
|
+
"color-terminal-ansi-1": "#f0776c",
|
|
1904
|
+
"color-terminal-ansi-2": "#4cc38a",
|
|
1905
|
+
"color-terminal-ansi-3": "#e2a54b",
|
|
1906
|
+
"color-terminal-ansi-4": "#7d97ff",
|
|
1907
|
+
"color-terminal-ansi-5": "#c792ea",
|
|
1908
|
+
"color-terminal-ansi-6": "#5fd3d9",
|
|
1909
|
+
"color-terminal-ansi-7": "#c8c8d0",
|
|
1910
|
+
"color-terminal-ansi-8": "#a0a0ab",
|
|
1911
|
+
"color-terminal-ansi-9": "#ff8f85",
|
|
1912
|
+
"color-terminal-ansi-10": "#6fd3a0",
|
|
1913
|
+
"color-terminal-ansi-11": "#e8b56a",
|
|
1914
|
+
"color-terminal-ansi-12": "#7d97ff",
|
|
1915
|
+
"color-terminal-ansi-13": "#d9a8f0",
|
|
1916
|
+
"color-terminal-ansi-14": "#8ee3e8",
|
|
1917
|
+
"color-terminal-ansi-15": "#ffffff",
|
|
1918
|
+
"color-terminal-ansi-4-bg": "#3354c4",
|
|
1664
1919
|
"color-code": "#e9ebed",
|
|
1665
1920
|
"color-code-text": "#101315",
|
|
1666
1921
|
"color-syntax-keyword": "#715b42",
|
|
@@ -1775,6 +2030,23 @@ export const tokens = {
|
|
|
1775
2030
|
"color-terminal-caption": "#13171a",
|
|
1776
2031
|
"color-terminal-caption-text": "#c9d0d6",
|
|
1777
2032
|
"shadow-nav-current-dark": "0 1px 2px rgb(0 0 0 / 25%)",
|
|
2033
|
+
"color-terminal-ansi-0": "#2b2b31",
|
|
2034
|
+
"color-terminal-ansi-1": "#f0776c",
|
|
2035
|
+
"color-terminal-ansi-2": "#4cc38a",
|
|
2036
|
+
"color-terminal-ansi-3": "#e2a54b",
|
|
2037
|
+
"color-terminal-ansi-4": "#7d97ff",
|
|
2038
|
+
"color-terminal-ansi-5": "#c792ea",
|
|
2039
|
+
"color-terminal-ansi-6": "#5fd3d9",
|
|
2040
|
+
"color-terminal-ansi-7": "#c8c8d0",
|
|
2041
|
+
"color-terminal-ansi-8": "#a0a0ab",
|
|
2042
|
+
"color-terminal-ansi-9": "#ff8f85",
|
|
2043
|
+
"color-terminal-ansi-10": "#6fd3a0",
|
|
2044
|
+
"color-terminal-ansi-11": "#e8b56a",
|
|
2045
|
+
"color-terminal-ansi-12": "#7d97ff",
|
|
2046
|
+
"color-terminal-ansi-13": "#d9a8f0",
|
|
2047
|
+
"color-terminal-ansi-14": "#8ee3e8",
|
|
2048
|
+
"color-terminal-ansi-15": "#ffffff",
|
|
2049
|
+
"color-terminal-ansi-4-bg": "#3354c4",
|
|
1778
2050
|
"color-code": "#13171a",
|
|
1779
2051
|
"color-code-text": "#e6e9eb",
|
|
1780
2052
|
"color-syntax-keyword": "#d8c2a5",
|
package/dist/tokens.json
CHANGED
|
@@ -50,6 +50,23 @@
|
|
|
50
50
|
"color-terminal-caption": "#13171a",
|
|
51
51
|
"color-terminal-caption-text": "#c9d0d6",
|
|
52
52
|
"shadow-nav-current-dark": "0 1px 2px rgb(0 0 0 / 25%)",
|
|
53
|
+
"color-terminal-ansi-0": "#2b2b31",
|
|
54
|
+
"color-terminal-ansi-1": "#f0776c",
|
|
55
|
+
"color-terminal-ansi-2": "#4cc38a",
|
|
56
|
+
"color-terminal-ansi-3": "#e2a54b",
|
|
57
|
+
"color-terminal-ansi-4": "#7d97ff",
|
|
58
|
+
"color-terminal-ansi-5": "#c792ea",
|
|
59
|
+
"color-terminal-ansi-6": "#5fd3d9",
|
|
60
|
+
"color-terminal-ansi-7": "#c8c8d0",
|
|
61
|
+
"color-terminal-ansi-8": "#a0a0ab",
|
|
62
|
+
"color-terminal-ansi-9": "#ff8f85",
|
|
63
|
+
"color-terminal-ansi-10": "#6fd3a0",
|
|
64
|
+
"color-terminal-ansi-11": "#e8b56a",
|
|
65
|
+
"color-terminal-ansi-12": "#7d97ff",
|
|
66
|
+
"color-terminal-ansi-13": "#d9a8f0",
|
|
67
|
+
"color-terminal-ansi-14": "#8ee3e8",
|
|
68
|
+
"color-terminal-ansi-15": "#ffffff",
|
|
69
|
+
"color-terminal-ansi-4-bg": "#3354c4",
|
|
53
70
|
"color-code": "#e9ebed",
|
|
54
71
|
"color-code-text": "#101315",
|
|
55
72
|
"color-syntax-keyword": "#715b42",
|
|
@@ -164,6 +181,23 @@
|
|
|
164
181
|
"color-terminal-caption": "#13171a",
|
|
165
182
|
"color-terminal-caption-text": "#c9d0d6",
|
|
166
183
|
"shadow-nav-current-dark": "0 1px 2px rgb(0 0 0 / 25%)",
|
|
184
|
+
"color-terminal-ansi-0": "#2b2b31",
|
|
185
|
+
"color-terminal-ansi-1": "#f0776c",
|
|
186
|
+
"color-terminal-ansi-2": "#4cc38a",
|
|
187
|
+
"color-terminal-ansi-3": "#e2a54b",
|
|
188
|
+
"color-terminal-ansi-4": "#7d97ff",
|
|
189
|
+
"color-terminal-ansi-5": "#c792ea",
|
|
190
|
+
"color-terminal-ansi-6": "#5fd3d9",
|
|
191
|
+
"color-terminal-ansi-7": "#c8c8d0",
|
|
192
|
+
"color-terminal-ansi-8": "#a0a0ab",
|
|
193
|
+
"color-terminal-ansi-9": "#ff8f85",
|
|
194
|
+
"color-terminal-ansi-10": "#6fd3a0",
|
|
195
|
+
"color-terminal-ansi-11": "#e8b56a",
|
|
196
|
+
"color-terminal-ansi-12": "#7d97ff",
|
|
197
|
+
"color-terminal-ansi-13": "#d9a8f0",
|
|
198
|
+
"color-terminal-ansi-14": "#8ee3e8",
|
|
199
|
+
"color-terminal-ansi-15": "#ffffff",
|
|
200
|
+
"color-terminal-ansi-4-bg": "#3354c4",
|
|
167
201
|
"color-code": "#13171a",
|
|
168
202
|
"color-code-text": "#e6e9eb",
|
|
169
203
|
"color-syntax-keyword": "#d8c2a5",
|
|
@@ -280,6 +314,23 @@
|
|
|
280
314
|
"color-terminal-caption": "#13171a",
|
|
281
315
|
"color-terminal-caption-text": "#c9d0d6",
|
|
282
316
|
"shadow-nav-current-dark": "0 1px 2px rgb(0 0 0 / 25%)",
|
|
317
|
+
"color-terminal-ansi-0": "#2b2b31",
|
|
318
|
+
"color-terminal-ansi-1": "#f0776c",
|
|
319
|
+
"color-terminal-ansi-2": "#4cc38a",
|
|
320
|
+
"color-terminal-ansi-3": "#e2a54b",
|
|
321
|
+
"color-terminal-ansi-4": "#7d97ff",
|
|
322
|
+
"color-terminal-ansi-5": "#c792ea",
|
|
323
|
+
"color-terminal-ansi-6": "#5fd3d9",
|
|
324
|
+
"color-terminal-ansi-7": "#c8c8d0",
|
|
325
|
+
"color-terminal-ansi-8": "#a0a0ab",
|
|
326
|
+
"color-terminal-ansi-9": "#ff8f85",
|
|
327
|
+
"color-terminal-ansi-10": "#6fd3a0",
|
|
328
|
+
"color-terminal-ansi-11": "#e8b56a",
|
|
329
|
+
"color-terminal-ansi-12": "#7d97ff",
|
|
330
|
+
"color-terminal-ansi-13": "#d9a8f0",
|
|
331
|
+
"color-terminal-ansi-14": "#8ee3e8",
|
|
332
|
+
"color-terminal-ansi-15": "#ffffff",
|
|
333
|
+
"color-terminal-ansi-4-bg": "#3354c4",
|
|
283
334
|
"color-code": "#e6e9ef",
|
|
284
335
|
"color-code-text": "#4c4f69",
|
|
285
336
|
"color-syntax-keyword": "#715b42",
|
|
@@ -394,6 +445,23 @@
|
|
|
394
445
|
"color-terminal-caption": "#13171a",
|
|
395
446
|
"color-terminal-caption-text": "#c9d0d6",
|
|
396
447
|
"shadow-nav-current-dark": "0 1px 2px rgb(0 0 0 / 25%)",
|
|
448
|
+
"color-terminal-ansi-0": "#2b2b31",
|
|
449
|
+
"color-terminal-ansi-1": "#f0776c",
|
|
450
|
+
"color-terminal-ansi-2": "#4cc38a",
|
|
451
|
+
"color-terminal-ansi-3": "#e2a54b",
|
|
452
|
+
"color-terminal-ansi-4": "#7d97ff",
|
|
453
|
+
"color-terminal-ansi-5": "#c792ea",
|
|
454
|
+
"color-terminal-ansi-6": "#5fd3d9",
|
|
455
|
+
"color-terminal-ansi-7": "#c8c8d0",
|
|
456
|
+
"color-terminal-ansi-8": "#a0a0ab",
|
|
457
|
+
"color-terminal-ansi-9": "#ff8f85",
|
|
458
|
+
"color-terminal-ansi-10": "#6fd3a0",
|
|
459
|
+
"color-terminal-ansi-11": "#e8b56a",
|
|
460
|
+
"color-terminal-ansi-12": "#7d97ff",
|
|
461
|
+
"color-terminal-ansi-13": "#d9a8f0",
|
|
462
|
+
"color-terminal-ansi-14": "#8ee3e8",
|
|
463
|
+
"color-terminal-ansi-15": "#ffffff",
|
|
464
|
+
"color-terminal-ansi-4-bg": "#3354c4",
|
|
397
465
|
"color-code": "#181825",
|
|
398
466
|
"color-code-text": "#cdd6f4",
|
|
399
467
|
"color-syntax-keyword": "#d8c2a5",
|
|
@@ -510,6 +578,23 @@
|
|
|
510
578
|
"color-terminal-caption": "#13171a",
|
|
511
579
|
"color-terminal-caption-text": "#c9d0d6",
|
|
512
580
|
"shadow-nav-current-dark": "0 1px 2px rgb(0 0 0 / 25%)",
|
|
581
|
+
"color-terminal-ansi-0": "#2b2b31",
|
|
582
|
+
"color-terminal-ansi-1": "#f0776c",
|
|
583
|
+
"color-terminal-ansi-2": "#4cc38a",
|
|
584
|
+
"color-terminal-ansi-3": "#e2a54b",
|
|
585
|
+
"color-terminal-ansi-4": "#7d97ff",
|
|
586
|
+
"color-terminal-ansi-5": "#c792ea",
|
|
587
|
+
"color-terminal-ansi-6": "#5fd3d9",
|
|
588
|
+
"color-terminal-ansi-7": "#c8c8d0",
|
|
589
|
+
"color-terminal-ansi-8": "#a0a0ab",
|
|
590
|
+
"color-terminal-ansi-9": "#ff8f85",
|
|
591
|
+
"color-terminal-ansi-10": "#6fd3a0",
|
|
592
|
+
"color-terminal-ansi-11": "#e8b56a",
|
|
593
|
+
"color-terminal-ansi-12": "#7d97ff",
|
|
594
|
+
"color-terminal-ansi-13": "#d9a8f0",
|
|
595
|
+
"color-terminal-ansi-14": "#8ee3e8",
|
|
596
|
+
"color-terminal-ansi-15": "#ffffff",
|
|
597
|
+
"color-terminal-ansi-4-bg": "#3354c4",
|
|
513
598
|
"color-code": "#e9ebed",
|
|
514
599
|
"color-code-text": "#101315",
|
|
515
600
|
"color-syntax-keyword": "#715b42",
|
|
@@ -624,6 +709,23 @@
|
|
|
624
709
|
"color-terminal-caption": "#13171a",
|
|
625
710
|
"color-terminal-caption-text": "#c9d0d6",
|
|
626
711
|
"shadow-nav-current-dark": "0 1px 2px rgb(0 0 0 / 25%)",
|
|
712
|
+
"color-terminal-ansi-0": "#2b2b31",
|
|
713
|
+
"color-terminal-ansi-1": "#f0776c",
|
|
714
|
+
"color-terminal-ansi-2": "#4cc38a",
|
|
715
|
+
"color-terminal-ansi-3": "#e2a54b",
|
|
716
|
+
"color-terminal-ansi-4": "#7d97ff",
|
|
717
|
+
"color-terminal-ansi-5": "#c792ea",
|
|
718
|
+
"color-terminal-ansi-6": "#5fd3d9",
|
|
719
|
+
"color-terminal-ansi-7": "#c8c8d0",
|
|
720
|
+
"color-terminal-ansi-8": "#a0a0ab",
|
|
721
|
+
"color-terminal-ansi-9": "#ff8f85",
|
|
722
|
+
"color-terminal-ansi-10": "#6fd3a0",
|
|
723
|
+
"color-terminal-ansi-11": "#e8b56a",
|
|
724
|
+
"color-terminal-ansi-12": "#7d97ff",
|
|
725
|
+
"color-terminal-ansi-13": "#d9a8f0",
|
|
726
|
+
"color-terminal-ansi-14": "#8ee3e8",
|
|
727
|
+
"color-terminal-ansi-15": "#ffffff",
|
|
728
|
+
"color-terminal-ansi-4-bg": "#3354c4",
|
|
627
729
|
"color-code": "#13171a",
|
|
628
730
|
"color-code-text": "#e6e9eb",
|
|
629
731
|
"color-syntax-keyword": "#d8c2a5",
|
|
@@ -740,6 +842,23 @@
|
|
|
740
842
|
"color-terminal-caption": "#13171a",
|
|
741
843
|
"color-terminal-caption-text": "#c9d0d6",
|
|
742
844
|
"shadow-nav-current-dark": "0 1px 2px rgb(0 0 0 / 25%)",
|
|
845
|
+
"color-terminal-ansi-0": "#2b2b31",
|
|
846
|
+
"color-terminal-ansi-1": "#f0776c",
|
|
847
|
+
"color-terminal-ansi-2": "#4cc38a",
|
|
848
|
+
"color-terminal-ansi-3": "#e2a54b",
|
|
849
|
+
"color-terminal-ansi-4": "#7d97ff",
|
|
850
|
+
"color-terminal-ansi-5": "#c792ea",
|
|
851
|
+
"color-terminal-ansi-6": "#5fd3d9",
|
|
852
|
+
"color-terminal-ansi-7": "#c8c8d0",
|
|
853
|
+
"color-terminal-ansi-8": "#a0a0ab",
|
|
854
|
+
"color-terminal-ansi-9": "#ff8f85",
|
|
855
|
+
"color-terminal-ansi-10": "#6fd3a0",
|
|
856
|
+
"color-terminal-ansi-11": "#e8b56a",
|
|
857
|
+
"color-terminal-ansi-12": "#7d97ff",
|
|
858
|
+
"color-terminal-ansi-13": "#d9a8f0",
|
|
859
|
+
"color-terminal-ansi-14": "#8ee3e8",
|
|
860
|
+
"color-terminal-ansi-15": "#ffffff",
|
|
861
|
+
"color-terminal-ansi-4-bg": "#3354c4",
|
|
743
862
|
"color-code": "#e9ebed",
|
|
744
863
|
"color-code-text": "#101315",
|
|
745
864
|
"color-syntax-keyword": "#715b42",
|
|
@@ -854,6 +973,23 @@
|
|
|
854
973
|
"color-terminal-caption": "#13171a",
|
|
855
974
|
"color-terminal-caption-text": "#c9d0d6",
|
|
856
975
|
"shadow-nav-current-dark": "0 1px 2px rgb(0 0 0 / 25%)",
|
|
976
|
+
"color-terminal-ansi-0": "#2b2b31",
|
|
977
|
+
"color-terminal-ansi-1": "#f0776c",
|
|
978
|
+
"color-terminal-ansi-2": "#4cc38a",
|
|
979
|
+
"color-terminal-ansi-3": "#e2a54b",
|
|
980
|
+
"color-terminal-ansi-4": "#7d97ff",
|
|
981
|
+
"color-terminal-ansi-5": "#c792ea",
|
|
982
|
+
"color-terminal-ansi-6": "#5fd3d9",
|
|
983
|
+
"color-terminal-ansi-7": "#c8c8d0",
|
|
984
|
+
"color-terminal-ansi-8": "#a0a0ab",
|
|
985
|
+
"color-terminal-ansi-9": "#ff8f85",
|
|
986
|
+
"color-terminal-ansi-10": "#6fd3a0",
|
|
987
|
+
"color-terminal-ansi-11": "#e8b56a",
|
|
988
|
+
"color-terminal-ansi-12": "#7d97ff",
|
|
989
|
+
"color-terminal-ansi-13": "#d9a8f0",
|
|
990
|
+
"color-terminal-ansi-14": "#8ee3e8",
|
|
991
|
+
"color-terminal-ansi-15": "#ffffff",
|
|
992
|
+
"color-terminal-ansi-4-bg": "#3354c4",
|
|
857
993
|
"color-code": "#13171a",
|
|
858
994
|
"color-code-text": "#e6e9eb",
|
|
859
995
|
"color-syntax-keyword": "#d8c2a5",
|
|
@@ -970,6 +1106,23 @@
|
|
|
970
1106
|
"color-terminal-caption": "#13171a",
|
|
971
1107
|
"color-terminal-caption-text": "#c9d0d6",
|
|
972
1108
|
"shadow-nav-current-dark": "0 1px 2px rgb(0 0 0 / 25%)",
|
|
1109
|
+
"color-terminal-ansi-0": "#2b2b31",
|
|
1110
|
+
"color-terminal-ansi-1": "#f0776c",
|
|
1111
|
+
"color-terminal-ansi-2": "#4cc38a",
|
|
1112
|
+
"color-terminal-ansi-3": "#e2a54b",
|
|
1113
|
+
"color-terminal-ansi-4": "#7d97ff",
|
|
1114
|
+
"color-terminal-ansi-5": "#c792ea",
|
|
1115
|
+
"color-terminal-ansi-6": "#5fd3d9",
|
|
1116
|
+
"color-terminal-ansi-7": "#c8c8d0",
|
|
1117
|
+
"color-terminal-ansi-8": "#a0a0ab",
|
|
1118
|
+
"color-terminal-ansi-9": "#ff8f85",
|
|
1119
|
+
"color-terminal-ansi-10": "#6fd3a0",
|
|
1120
|
+
"color-terminal-ansi-11": "#e8b56a",
|
|
1121
|
+
"color-terminal-ansi-12": "#7d97ff",
|
|
1122
|
+
"color-terminal-ansi-13": "#d9a8f0",
|
|
1123
|
+
"color-terminal-ansi-14": "#8ee3e8",
|
|
1124
|
+
"color-terminal-ansi-15": "#ffffff",
|
|
1125
|
+
"color-terminal-ansi-4-bg": "#3354c4",
|
|
973
1126
|
"color-code": "#f6f8fa",
|
|
974
1127
|
"color-code-text": "#1f2328",
|
|
975
1128
|
"color-syntax-keyword": "#715b42",
|
|
@@ -1084,6 +1237,23 @@
|
|
|
1084
1237
|
"color-terminal-caption": "#13171a",
|
|
1085
1238
|
"color-terminal-caption-text": "#c9d0d6",
|
|
1086
1239
|
"shadow-nav-current-dark": "0 1px 2px rgb(0 0 0 / 25%)",
|
|
1240
|
+
"color-terminal-ansi-0": "#2b2b31",
|
|
1241
|
+
"color-terminal-ansi-1": "#f0776c",
|
|
1242
|
+
"color-terminal-ansi-2": "#4cc38a",
|
|
1243
|
+
"color-terminal-ansi-3": "#e2a54b",
|
|
1244
|
+
"color-terminal-ansi-4": "#7d97ff",
|
|
1245
|
+
"color-terminal-ansi-5": "#c792ea",
|
|
1246
|
+
"color-terminal-ansi-6": "#5fd3d9",
|
|
1247
|
+
"color-terminal-ansi-7": "#c8c8d0",
|
|
1248
|
+
"color-terminal-ansi-8": "#a0a0ab",
|
|
1249
|
+
"color-terminal-ansi-9": "#ff8f85",
|
|
1250
|
+
"color-terminal-ansi-10": "#6fd3a0",
|
|
1251
|
+
"color-terminal-ansi-11": "#e8b56a",
|
|
1252
|
+
"color-terminal-ansi-12": "#7d97ff",
|
|
1253
|
+
"color-terminal-ansi-13": "#d9a8f0",
|
|
1254
|
+
"color-terminal-ansi-14": "#8ee3e8",
|
|
1255
|
+
"color-terminal-ansi-15": "#ffffff",
|
|
1256
|
+
"color-terminal-ansi-4-bg": "#3354c4",
|
|
1087
1257
|
"color-code": "#151b23",
|
|
1088
1258
|
"color-code-text": "#f0f6fc",
|
|
1089
1259
|
"color-syntax-keyword": "#d8c2a5",
|
|
@@ -1200,6 +1370,23 @@
|
|
|
1200
1370
|
"color-terminal-caption": "#13171a",
|
|
1201
1371
|
"color-terminal-caption-text": "#c9d0d6",
|
|
1202
1372
|
"shadow-nav-current-dark": "0 1px 2px rgb(0 0 0 / 25%)",
|
|
1373
|
+
"color-terminal-ansi-0": "#2b2b31",
|
|
1374
|
+
"color-terminal-ansi-1": "#f0776c",
|
|
1375
|
+
"color-terminal-ansi-2": "#4cc38a",
|
|
1376
|
+
"color-terminal-ansi-3": "#e2a54b",
|
|
1377
|
+
"color-terminal-ansi-4": "#7d97ff",
|
|
1378
|
+
"color-terminal-ansi-5": "#c792ea",
|
|
1379
|
+
"color-terminal-ansi-6": "#5fd3d9",
|
|
1380
|
+
"color-terminal-ansi-7": "#c8c8d0",
|
|
1381
|
+
"color-terminal-ansi-8": "#a0a0ab",
|
|
1382
|
+
"color-terminal-ansi-9": "#ff8f85",
|
|
1383
|
+
"color-terminal-ansi-10": "#6fd3a0",
|
|
1384
|
+
"color-terminal-ansi-11": "#e8b56a",
|
|
1385
|
+
"color-terminal-ansi-12": "#7d97ff",
|
|
1386
|
+
"color-terminal-ansi-13": "#d9a8f0",
|
|
1387
|
+
"color-terminal-ansi-14": "#8ee3e8",
|
|
1388
|
+
"color-terminal-ansi-15": "#ffffff",
|
|
1389
|
+
"color-terminal-ansi-4-bg": "#3354c4",
|
|
1203
1390
|
"color-code": "#e9ebed",
|
|
1204
1391
|
"color-code-text": "#101315",
|
|
1205
1392
|
"color-syntax-keyword": "#715b42",
|
|
@@ -1314,6 +1501,23 @@
|
|
|
1314
1501
|
"color-terminal-caption": "#13171a",
|
|
1315
1502
|
"color-terminal-caption-text": "#c9d0d6",
|
|
1316
1503
|
"shadow-nav-current-dark": "0 1px 2px rgb(0 0 0 / 25%)",
|
|
1504
|
+
"color-terminal-ansi-0": "#2b2b31",
|
|
1505
|
+
"color-terminal-ansi-1": "#f0776c",
|
|
1506
|
+
"color-terminal-ansi-2": "#4cc38a",
|
|
1507
|
+
"color-terminal-ansi-3": "#e2a54b",
|
|
1508
|
+
"color-terminal-ansi-4": "#7d97ff",
|
|
1509
|
+
"color-terminal-ansi-5": "#c792ea",
|
|
1510
|
+
"color-terminal-ansi-6": "#5fd3d9",
|
|
1511
|
+
"color-terminal-ansi-7": "#c8c8d0",
|
|
1512
|
+
"color-terminal-ansi-8": "#a0a0ab",
|
|
1513
|
+
"color-terminal-ansi-9": "#ff8f85",
|
|
1514
|
+
"color-terminal-ansi-10": "#6fd3a0",
|
|
1515
|
+
"color-terminal-ansi-11": "#e8b56a",
|
|
1516
|
+
"color-terminal-ansi-12": "#7d97ff",
|
|
1517
|
+
"color-terminal-ansi-13": "#d9a8f0",
|
|
1518
|
+
"color-terminal-ansi-14": "#8ee3e8",
|
|
1519
|
+
"color-terminal-ansi-15": "#ffffff",
|
|
1520
|
+
"color-terminal-ansi-4-bg": "#3354c4",
|
|
1317
1521
|
"color-code": "#13171a",
|
|
1318
1522
|
"color-code-text": "#e6e9eb",
|
|
1319
1523
|
"color-syntax-keyword": "#d8c2a5",
|
|
@@ -1430,6 +1634,23 @@
|
|
|
1430
1634
|
"color-terminal-caption": "#13171a",
|
|
1431
1635
|
"color-terminal-caption-text": "#c9d0d6",
|
|
1432
1636
|
"shadow-nav-current-dark": "0 1px 2px rgb(0 0 0 / 25%)",
|
|
1637
|
+
"color-terminal-ansi-0": "#2b2b31",
|
|
1638
|
+
"color-terminal-ansi-1": "#f0776c",
|
|
1639
|
+
"color-terminal-ansi-2": "#4cc38a",
|
|
1640
|
+
"color-terminal-ansi-3": "#e2a54b",
|
|
1641
|
+
"color-terminal-ansi-4": "#7d97ff",
|
|
1642
|
+
"color-terminal-ansi-5": "#c792ea",
|
|
1643
|
+
"color-terminal-ansi-6": "#5fd3d9",
|
|
1644
|
+
"color-terminal-ansi-7": "#c8c8d0",
|
|
1645
|
+
"color-terminal-ansi-8": "#a0a0ab",
|
|
1646
|
+
"color-terminal-ansi-9": "#ff8f85",
|
|
1647
|
+
"color-terminal-ansi-10": "#6fd3a0",
|
|
1648
|
+
"color-terminal-ansi-11": "#e8b56a",
|
|
1649
|
+
"color-terminal-ansi-12": "#7d97ff",
|
|
1650
|
+
"color-terminal-ansi-13": "#d9a8f0",
|
|
1651
|
+
"color-terminal-ansi-14": "#8ee3e8",
|
|
1652
|
+
"color-terminal-ansi-15": "#ffffff",
|
|
1653
|
+
"color-terminal-ansi-4-bg": "#3354c4",
|
|
1433
1654
|
"color-code": "#e9ebed",
|
|
1434
1655
|
"color-code-text": "#101315",
|
|
1435
1656
|
"color-syntax-keyword": "#715b42",
|
|
@@ -1544,6 +1765,23 @@
|
|
|
1544
1765
|
"color-terminal-caption": "#13171a",
|
|
1545
1766
|
"color-terminal-caption-text": "#c9d0d6",
|
|
1546
1767
|
"shadow-nav-current-dark": "0 1px 2px rgb(0 0 0 / 25%)",
|
|
1768
|
+
"color-terminal-ansi-0": "#2b2b31",
|
|
1769
|
+
"color-terminal-ansi-1": "#f0776c",
|
|
1770
|
+
"color-terminal-ansi-2": "#4cc38a",
|
|
1771
|
+
"color-terminal-ansi-3": "#e2a54b",
|
|
1772
|
+
"color-terminal-ansi-4": "#7d97ff",
|
|
1773
|
+
"color-terminal-ansi-5": "#c792ea",
|
|
1774
|
+
"color-terminal-ansi-6": "#5fd3d9",
|
|
1775
|
+
"color-terminal-ansi-7": "#c8c8d0",
|
|
1776
|
+
"color-terminal-ansi-8": "#a0a0ab",
|
|
1777
|
+
"color-terminal-ansi-9": "#ff8f85",
|
|
1778
|
+
"color-terminal-ansi-10": "#6fd3a0",
|
|
1779
|
+
"color-terminal-ansi-11": "#e8b56a",
|
|
1780
|
+
"color-terminal-ansi-12": "#7d97ff",
|
|
1781
|
+
"color-terminal-ansi-13": "#d9a8f0",
|
|
1782
|
+
"color-terminal-ansi-14": "#8ee3e8",
|
|
1783
|
+
"color-terminal-ansi-15": "#ffffff",
|
|
1784
|
+
"color-terminal-ansi-4-bg": "#3354c4",
|
|
1547
1785
|
"color-code": "#13171a",
|
|
1548
1786
|
"color-code-text": "#e6e9eb",
|
|
1549
1787
|
"color-syntax-keyword": "#d8c2a5",
|
|
@@ -1660,6 +1898,23 @@
|
|
|
1660
1898
|
"color-terminal-caption": "#13171a",
|
|
1661
1899
|
"color-terminal-caption-text": "#c9d0d6",
|
|
1662
1900
|
"shadow-nav-current-dark": "0 1px 2px rgb(0 0 0 / 25%)",
|
|
1901
|
+
"color-terminal-ansi-0": "#2b2b31",
|
|
1902
|
+
"color-terminal-ansi-1": "#f0776c",
|
|
1903
|
+
"color-terminal-ansi-2": "#4cc38a",
|
|
1904
|
+
"color-terminal-ansi-3": "#e2a54b",
|
|
1905
|
+
"color-terminal-ansi-4": "#7d97ff",
|
|
1906
|
+
"color-terminal-ansi-5": "#c792ea",
|
|
1907
|
+
"color-terminal-ansi-6": "#5fd3d9",
|
|
1908
|
+
"color-terminal-ansi-7": "#c8c8d0",
|
|
1909
|
+
"color-terminal-ansi-8": "#a0a0ab",
|
|
1910
|
+
"color-terminal-ansi-9": "#ff8f85",
|
|
1911
|
+
"color-terminal-ansi-10": "#6fd3a0",
|
|
1912
|
+
"color-terminal-ansi-11": "#e8b56a",
|
|
1913
|
+
"color-terminal-ansi-12": "#7d97ff",
|
|
1914
|
+
"color-terminal-ansi-13": "#d9a8f0",
|
|
1915
|
+
"color-terminal-ansi-14": "#8ee3e8",
|
|
1916
|
+
"color-terminal-ansi-15": "#ffffff",
|
|
1917
|
+
"color-terminal-ansi-4-bg": "#3354c4",
|
|
1663
1918
|
"color-code": "#e9ebed",
|
|
1664
1919
|
"color-code-text": "#101315",
|
|
1665
1920
|
"color-syntax-keyword": "#715b42",
|
|
@@ -1774,6 +2029,23 @@
|
|
|
1774
2029
|
"color-terminal-caption": "#13171a",
|
|
1775
2030
|
"color-terminal-caption-text": "#c9d0d6",
|
|
1776
2031
|
"shadow-nav-current-dark": "0 1px 2px rgb(0 0 0 / 25%)",
|
|
2032
|
+
"color-terminal-ansi-0": "#2b2b31",
|
|
2033
|
+
"color-terminal-ansi-1": "#f0776c",
|
|
2034
|
+
"color-terminal-ansi-2": "#4cc38a",
|
|
2035
|
+
"color-terminal-ansi-3": "#e2a54b",
|
|
2036
|
+
"color-terminal-ansi-4": "#7d97ff",
|
|
2037
|
+
"color-terminal-ansi-5": "#c792ea",
|
|
2038
|
+
"color-terminal-ansi-6": "#5fd3d9",
|
|
2039
|
+
"color-terminal-ansi-7": "#c8c8d0",
|
|
2040
|
+
"color-terminal-ansi-8": "#a0a0ab",
|
|
2041
|
+
"color-terminal-ansi-9": "#ff8f85",
|
|
2042
|
+
"color-terminal-ansi-10": "#6fd3a0",
|
|
2043
|
+
"color-terminal-ansi-11": "#e8b56a",
|
|
2044
|
+
"color-terminal-ansi-12": "#7d97ff",
|
|
2045
|
+
"color-terminal-ansi-13": "#d9a8f0",
|
|
2046
|
+
"color-terminal-ansi-14": "#8ee3e8",
|
|
2047
|
+
"color-terminal-ansi-15": "#ffffff",
|
|
2048
|
+
"color-terminal-ansi-4-bg": "#3354c4",
|
|
1777
2049
|
"color-code": "#13171a",
|
|
1778
2050
|
"color-code-text": "#e6e9eb",
|
|
1779
2051
|
"color-syntax-keyword": "#d8c2a5",
|
package/language/DESIGN.md
CHANGED
|
@@ -159,6 +159,7 @@ Each depth tier has one token. [`tokens.css`](tokens.css) holds every shadow val
|
|
|
159
159
|
[`components.md`](components.md) specifies each component and [`components.html`](components.html) shows its states. These composition rules apply across them:
|
|
160
160
|
|
|
161
161
|
- Build each control from the owning library's component or class, and style a link that acts as a button with the button's classes. A page adds layout only: size, spacing, and position. A local copy of a control drifts from the library, even when it uses the same tokens.
|
|
162
|
+
- A page's own element rules, such as its heading, paragraph, and image type, go in `@layer base`, so a component's rules outrank them. An unlayered `h2` rule outranks every layered rule and restyles the title of a dialog, drawer, or viewer as a page heading.
|
|
162
163
|
- One clearly primary action per visible decision group, filled with the hue. Other actions are secondary, ghost, or text buttons.
|
|
163
164
|
- Use a segmented control for two to five short options that apply at once, a select for longer lists, and radio cards for options that need descriptions.
|
|
164
165
|
- Callouts carry a real caveat, not decorative emphasis.
|
|
@@ -166,7 +167,7 @@ Each depth tier has one token. [`tokens.css`](tokens.css) holds every shadow val
|
|
|
166
167
|
- Figures: number them when the prose refers to any of them, and then number them all. Place a figure beside the paragraph that explains it, once the terms it uses have been introduced.
|
|
167
168
|
- Source code sits in a theme-matched panel with syntax colours, inset in the code block's frame; multiline samples may have a small descriptive header and Copy action. Put useful setup context above a command; omit repeated language labels.
|
|
168
169
|
- Examples: show a live component on a stage above its code, in one frame, with Copy in the code's corner. The stage sits on the page background. See [code block with a live example](components.md#with-a-live-example).
|
|
169
|
-
- A screenshot opens at full size when clicked; use a native accessible trigger and restore its focus on close.
|
|
170
|
+
- A screenshot opens at full size in a [viewer](components.md#viewer) when clicked; use a native accessible trigger and restore its focus on close.
|
|
170
171
|
|
|
171
172
|
### Navigation
|
|
172
173
|
|
package/language/components.html
CHANGED
|
@@ -545,15 +545,38 @@
|
|
|
545
545
|
/* Without JavaScript each capture keeps its heading, and panels after the first take a rule. */
|
|
546
546
|
.capture .tabs-heading { margin: 0; padding: var(--space-3) var(--space-4); font-family: var(--font-mono); font-size: var(--text-sm); }
|
|
547
547
|
.capture:not([data-enhanced]) .tabpanel + .tabpanel { border-top: 1px solid var(--color-border-subtle); }
|
|
548
|
-
|
|
549
|
-
.
|
|
550
|
-
.
|
|
548
|
+
/* A viewer is as wide and tall as its content allows, and its body scrolls both ways. */
|
|
549
|
+
dialog.viewer { width: fit-content; max-width: calc(100% - var(--space-8)); max-height: calc(100dvh - var(--space-8)); }
|
|
550
|
+
.viewer .dialog-head { align-items: center; }
|
|
551
|
+
.viewer .dialog-body { overscroll-behavior: contain; }
|
|
552
|
+
/* Inset: the dialog clips the body's edges. */
|
|
553
|
+
.viewer .dialog-body:is(:focus-visible, .is-focus) { outline-offset: calc(var(--focus-width) * -1); }
|
|
554
|
+
/* The plate grows with its text, so the body scrolls the dark background with it. */
|
|
555
|
+
.viewer .screen { width: max-content; min-width: 100%; overflow: visible; }
|
|
551
556
|
/* The full-size viewer clones the screen outside .capture, so it carries its own plate focus. */
|
|
552
557
|
.screen { --color-focus: var(--color-project-dark); margin: 0; padding: var(--space-4); overflow-x: auto; background: var(--color-terminal); color: var(--color-terminal-text); font-size: var(--text-code); line-height: 1.5; }
|
|
553
558
|
/* Inset: the capture and the viewer body clip the screen's edges. */
|
|
554
559
|
.screen:is(:focus-visible, .is-focus) { outline-offset: calc(var(--focus-width) * -1); }
|
|
555
560
|
.screen .hi { color: var(--color-project-dark); }
|
|
556
561
|
.screen .dim { color: var(--color-terminal-caption-text); }
|
|
562
|
+
/* ANSI output: the classes a capture converter emits for the 16 colours. Black is a background only. */
|
|
563
|
+
.screen .tf1 { color: var(--color-terminal-ansi-1); }
|
|
564
|
+
.screen .tf2 { color: var(--color-terminal-ansi-2); }
|
|
565
|
+
.screen .tf3 { color: var(--color-terminal-ansi-3); }
|
|
566
|
+
.screen .tf4 { color: var(--color-terminal-ansi-4); }
|
|
567
|
+
.screen .tf5 { color: var(--color-terminal-ansi-5); }
|
|
568
|
+
.screen .tf6 { color: var(--color-terminal-ansi-6); }
|
|
569
|
+
.screen .tf7 { color: var(--color-terminal-ansi-7); }
|
|
570
|
+
.screen .tf8 { color: var(--color-terminal-ansi-8); }
|
|
571
|
+
.screen .tf9 { color: var(--color-terminal-ansi-9); }
|
|
572
|
+
.screen .tf10 { color: var(--color-terminal-ansi-10); }
|
|
573
|
+
.screen .tf11 { color: var(--color-terminal-ansi-11); }
|
|
574
|
+
.screen .tf12 { color: var(--color-terminal-ansi-12); }
|
|
575
|
+
.screen .tf13 { color: var(--color-terminal-ansi-13); }
|
|
576
|
+
.screen .tf14 { color: var(--color-terminal-ansi-14); }
|
|
577
|
+
.screen .tf15 { color: var(--color-terminal-ansi-15); }
|
|
578
|
+
.screen .tb0 { background: var(--color-terminal-ansi-0); }
|
|
579
|
+
.screen .tb4 { background: var(--color-terminal-ansi-4-bg); }
|
|
557
580
|
.capture-caption { padding: var(--space-1) var(--space-4); background: var(--color-terminal-caption); color: var(--color-terminal-caption-text); font: var(--text-xs) / var(--leading) var(--font-mono); overflow-wrap: anywhere; }
|
|
558
581
|
|
|
559
582
|
/* Site header */
|
|
@@ -809,6 +832,7 @@
|
|
|
809
832
|
@media (max-width: 640px) {
|
|
810
833
|
/* Phones: a dialog becomes a bottom sheet with rounded top corners. */
|
|
811
834
|
dialog.dialog { width: 100%; max-width: none; margin: auto 0 0; border-radius: var(--radius-panel) var(--radius-panel) 0 0; }
|
|
835
|
+
dialog.viewer { max-height: calc(100dvh - var(--space-4)); }
|
|
812
836
|
/* A trail of three or more crumbs shows only the parent, as a back link; a two-crumb trail fits in full. */
|
|
813
837
|
.crumbs ol:has(> li:nth-child(3)) > li:not(:nth-last-child(2)) { display: none; }
|
|
814
838
|
.crumbs ol:has(> li:nth-child(3)) > li::before { content: none; }
|
|
@@ -1447,7 +1471,11 @@
|
|
|
1447
1471
|
<div class="capture-head" hidden><button class="quiet-action full" type="button" data-full-size><svg class="icon" aria-hidden="true"><use href="#i-expand"/></svg>Full size</button></div>
|
|
1448
1472
|
<section class="tabpanel" id="cap-status" aria-labelledby="cap-status-heading"><h4 class="tabs-heading" id="cap-status-heading">status</h4><pre class="screen" tabindex="0" role="region" aria-label="status capture"><span class="hi">●</span> host-config <span class="dim">3 targets current</span>
|
|
1449
1473
|
<span class="hi">●</span> field-guide <span class="dim">synced 2 minutes ago</span></pre><p class="capture-caption">~/code/filip-stack · main</p></section>
|
|
1450
|
-
<section class="tabpanel" id="cap-diff" aria-labelledby="cap-diff-heading"><h4 class="tabs-heading" id="cap-diff-heading">diff</h4><pre class="screen" tabindex="0" role="region" aria-label="diff capture"><span class="dim">tokens.css</span>
|
|
1474
|
+
<section class="tabpanel" id="cap-diff" aria-labelledby="cap-diff-heading"><h4 class="tabs-heading" id="cap-diff-heading">diff</h4><pre class="screen" tabindex="0" role="region" aria-label="diff capture"><span class="dim">tokens.css</span> <span class="tf2">+12</span> <span class="tf1">−4</span></pre><p class="capture-caption">~/code/filip-stack · docs/design-catalogue</p></section>
|
|
1475
|
+
<section class="tabpanel" id="cap-colours" aria-labelledby="cap-colours-heading"><h4 class="tabs-heading" id="cap-colours-heading">colours</h4><pre class="screen" tabindex="0" role="region" aria-label="colours capture"><span class="tb0"> </span> <span class="tf1">███</span> <span class="tf2">███</span> <span class="tf3">███</span> <span class="tf4">███</span> <span class="tf5">███</span> <span class="tf6">███</span> <span class="tf7">███</span>
|
|
1476
|
+
<span class="tf8">███</span> <span class="tf9">███</span> <span class="tf10">███</span> <span class="tf11">███</span> <span class="tf12">███</span> <span class="tf13">███</span> <span class="tf14">███</span> <span class="tf15">███</span>
|
|
1477
|
+
<span class="tb4">> tokens.css </span>
|
|
1478
|
+
components.md</pre><p class="capture-caption">~/code/filip-stack · main</p></section>
|
|
1451
1479
|
</div>
|
|
1452
1480
|
</section>
|
|
1453
1481
|
|
|
@@ -1528,9 +1556,9 @@
|
|
|
1528
1556
|
<div class="dialog-body">API p95 latency stops alerting at once. Escape closes this dialog and returns focus to its trigger.</div>
|
|
1529
1557
|
<form class="dialog-foot" method="dialog"><button class="btn secondary" type="submit">Cancel</button><button class="btn danger" type="submit">Delete</button></form>
|
|
1530
1558
|
</dialog>
|
|
1531
|
-
<dialog class="dialog
|
|
1559
|
+
<dialog class="dialog viewer" id="capture-viewer" aria-labelledby="capture-viewer-title">
|
|
1532
1560
|
<div class="dialog-head"><h4 id="capture-viewer-title">Capture</h4><form method="dialog"><button class="quiet-action close" type="submit" aria-label="Close full size capture"><svg class="icon" aria-hidden="true"><use href="#i-close"/></svg></button></form></div>
|
|
1533
|
-
<div class="dialog-body" id="capture-viewer-body"></div>
|
|
1561
|
+
<div class="dialog-body" id="capture-viewer-body" tabindex="0" role="region" aria-labelledby="capture-viewer-title"></div>
|
|
1534
1562
|
</dialog>
|
|
1535
1563
|
<dialog class="drawer" id="live-drawer" aria-labelledby="live-drawer-title">
|
|
1536
1564
|
<div class="drawer-head"><h4 id="live-drawer-title">Contents</h4><form method="dialog"><button class="quiet-action close" type="submit" aria-label="Close drawer"><svg class="icon" aria-hidden="true"><use href="#i-close"/></svg></button></form></div>
|
|
@@ -1708,9 +1736,10 @@
|
|
|
1708
1736
|
document.querySelectorAll('[data-full-size]').forEach((button) => button.addEventListener('click', () => {
|
|
1709
1737
|
const panel = button.closest('.capture').querySelector('.tabpanel:not([hidden])');
|
|
1710
1738
|
const name = panel.querySelector('.tabs-heading').textContent;
|
|
1711
|
-
document.getElementById('capture-viewer-title').textContent = `${name} capture
|
|
1739
|
+
document.getElementById('capture-viewer-title').textContent = `${name} capture`;
|
|
1740
|
+
// The viewer's body is the scroll region, so the copy drops the screen's own.
|
|
1712
1741
|
const screen = panel.querySelector('.screen').cloneNode(true);
|
|
1713
|
-
|
|
1742
|
+
['tabindex', 'role', 'aria-label'].forEach((name) => screen.removeAttribute(name));
|
|
1714
1743
|
document.getElementById('capture-viewer-body').replaceChildren(screen, panel.querySelector('.capture-caption').cloneNode(true));
|
|
1715
1744
|
button.focus({ preventScroll: true });
|
|
1716
1745
|
viewer.showModal();
|
package/language/components.md
CHANGED
|
@@ -283,6 +283,17 @@ Layer: Core.
|
|
|
283
283
|
- **Motion.** None: it opens and closes at once. Only the drawer slides, because it enters from an edge.
|
|
284
284
|
- **Forced colors.** The shadow drops and the transparent border draws as the system edge, so the dialog keeps its outline over the page.
|
|
285
285
|
|
|
286
|
+
### Viewer
|
|
287
|
+
|
|
288
|
+
- **Anatomy.** A dialog that shows one screenshot, terminal capture, or figure at full size. It is a named exception to the dialog's task rule: the reader opened it to look, so it has no footer, and its header's close button, Escape, and the backdrop close it. The header holds only the title, in the dialog's 18px semibold `--font-ui` type, centred on the close button. The body is one scroll region with `--space-4` padding. The viewer is as wide as its content, up to the viewport minus `--space-8`, and as tall, up to the dynamic viewport height (`dvh`) minus `--space-8`.
|
|
289
|
+
- **Size.** Full size is the content's own CSS size, such as a 2x screenshot at half its pixel width. The content scales down to fit the body's width only while it keeps at least 70% of that size; below 70% its text is too small to read, so it stays at full size and the body scrolls in both directions. A terminal capture follows the same 70% rule in its panel.
|
|
290
|
+
- **Title.** The short name of what it shows, such as "Ticket screenshot" or "Build capture", not the image's alt text. The alt text stays on the image.
|
|
291
|
+
- **Do.** Open every screenshot, capture, or figure that the page shows smaller than its full size in a viewer, from a native button or link, so all of them open the same way.
|
|
292
|
+
- **Don't.** A footer with a Close button, a long alt text as the title, or a phone viewer that shrinks a screenshot to the screen's width so that its text cannot be read.
|
|
293
|
+
- **Keyboard and screen reader.** As for the dialog. The scroll region is focusable and named by the title, so the arrow keys scroll it; its focus ring is inset, because the body clips it. Focus returns to the trigger on close.
|
|
294
|
+
- **Phones.** At `max-width: 640px` it is the dialog's bottom sheet at full width, up to the dynamic viewport height minus `--space-4`. The scroll region contains its overscroll, so a pan that reaches the edge does not scroll the page behind.
|
|
295
|
+
- **Motion.** None: as for the dialog.
|
|
296
|
+
|
|
286
297
|
## Drawer
|
|
287
298
|
|
|
288
299
|
Layer: Core.
|
|
@@ -454,12 +465,14 @@ Layer: Identity.
|
|
|
454
465
|
|
|
455
466
|
Layer: Identity.
|
|
456
467
|
|
|
457
|
-
- **Anatomy.** A panel whose header holds mono tabs (one for each capture) and a Full size [quiet action](#quiet-action) at the end. The screen is the neutral `--color-terminal` plate, and a mono status-line caption sits below it on `--color-terminal-caption` with `--color-terminal-caption-text`. Full size opens the capture in a
|
|
468
|
+
- **Anatomy.** A panel whose header holds mono tabs (one for each capture) and a Full size [quiet action](#quiet-action) at the end. The screen is the neutral `--color-terminal` plate, and a mono status-line caption sits below it on `--color-terminal-caption` with `--color-terminal-caption-text`. Full size opens the capture in a [viewer](#viewer).
|
|
458
469
|
- **States.** Tabs take the tab states in the capture's palette, and Full size takes the quiet action states.
|
|
459
470
|
- **Do.** Use it to show what a command prints, one tab per capture, with the path and branch in the status line.
|
|
460
471
|
- **Don't.** A capture for a screenshot of a graphical app. Use a figure.
|
|
461
|
-
- **Keyboard and screen reader.** Tabs follow the tabs spec. Full size opens the selected capture in a
|
|
472
|
+
- **Keyboard and screen reader.** Tabs follow the tabs spec. Full size opens the selected capture in a [viewer](#viewer) named after it, and focus returns to the button when the viewer closes. Without JavaScript the button is hidden. Focus rings are inset, because the panel clips its content. Without JavaScript, every capture is listed under its own heading.
|
|
462
473
|
- **Header.** The whole panel, header included, is the `--color-terminal` plate in both page appearances, with a 1px `--color-terminal-border` edge. It scopes its own palette so the tabs read on it: current fill `--color-project-dark` at 20% over transparent, with a `--shadow-nav-current-dark` lift, hover `--color-terminal-text` at 4%, selected text, accent, and focus `--color-project-dark`, text `--color-terminal-text`, muted text `--color-terminal-caption-text`, and dividers `--color-terminal-border`. The tab list keeps its 4px block padding, and the Full size control stays centred on the tab row.
|
|
474
|
+
- **ANSI output.** Coloured output reads `--color-terminal-ansi-1` to `-15` as text. Black (`--color-terminal-ansi-0`) is a background only, and a blue background reads `--color-terminal-ansi-4-bg`, which is darker than blue text so `--color-terminal-text` reads on it. Dim text reads `--color-terminal-ansi-8`. A site can still set its own palette over these.
|
|
475
|
+
- **Contrast.** ANSI colours 1 to 15 reach 4.5:1 on `--color-terminal`, and `--color-terminal-text` reaches 4.5:1 on `--color-terminal-ansi-4-bg`.
|
|
463
476
|
- **Motion.** Tabs glide as in the tabs spec; the panel has no motion of its own.
|
|
464
477
|
- **Forced colors.** The plate and the caption drop to the system background and text, the edge draws in the system colour, and the tabs follow the tabs rule.
|
|
465
478
|
|
package/language/decisions.md
CHANGED
|
@@ -15,6 +15,7 @@ Each entry records a choice this language made, the options it rejected, and why
|
|
|
15
15
|
| One source per control | Core | Each control comes from the owning library's component or class, including a link styled as a button. | Local copies built from the same tokens drifted: a docs button had no raise and only faded when pressed. | copied rules unchanged: `tests/design-foundations.test.mjs` "example pages copy the catalogue rules for the shared controls and components they use unchanged" |
|
|
16
16
|
| Section mark | Identity | The `##` mark goes only on the page-level section headings (h2) of documentation, CLI tool, article, and product pages, which are mono with a `--color-border-subtle` rule above. Application and inline-visualization section headings are plain `--font-ui` semibold at `--text-xl` or smaller, with no mark and no rule. h3 and lower never take it. | The mark on every section heading: on a dense screen, such as a metrics dashboard with six sections, it repeated down the page and competed with the data. The mark on h2 and h3: deeper levels repeat more often. A per-page opt-out class: every application page would need to remember it. Dropping the mark: reading pages lose the folio identity that ties them to the `~/name` header. Mono application section headings without the mark: the mono face alone still reads as a document heading among compact sans rows. | No test yet |
|
|
17
17
|
| Command plate | Identity | Owner decision, 2026-11-15: a shell command uses the normal code block and its source well in light and dark, with a CSS-drawn `$ ` prompt in `--color-accent`. Header, Copy, compact layout, and focus follow the code block. Keep `--color-command-bg` and `--color-command-border` as compatibility aliases for `--color-code` and `--color-border-subtle`. Terminal captures stay unchanged. | A: the dark, hue-tinted plate in both modes. On a light page it was the darkest element and looked mismatched beside light source blocks; the owner noticed it on every site. B: a pale hue-tinted plate in light mode. It followed the mode but added a second tinted surface and still differed from source code; the owner preferred one consistent code surface (option C). | `tests/catalogue/catalogue.spec.ts`: "contrast: shell command text on the code well reaches 4.5:1", "contrast: the accent shell prompt on the code well reaches 3:1"; compatibility aliases and DS-1 exceptions: `tests/token-values.test.mjs`; shared code recipes: `tests/design-foundations.test.mjs`; imported-theme failures: `tests/theme-mapper.test.mjs` |
|
|
18
|
+
| Terminal colours | Identity | Owner decision, 2026-11-14: the 16 ANSI colours that terminal captures use are design-system tokens, `--color-terminal-ansi-0` to `-15`, plus `--color-terminal-ansi-4-bg` for a blue background that terminal text reads on. They keep the values `@filipgutica/ui` drew before, so no capture changes. Colours 1 to 15 reach 4.5:1 on `--color-terminal`; black (colour 0) is a background only, and dim text reads colour 8. | Literal defaults in `@filipgutica/ui`: colour data outside the design system, which breaks the rule that the design system owns colours and component libraries only apply them. One token per colour role, such as a success green: terminal programs choose the slot, so the palette must name slots. | contrast: the core `ansi` check in `theme-mapper/engine.js`, which `tests/site/site.spec.ts` "Themes: every contrast check passes" runs for every theme; parity with the 1.x token set: `tests/token-values.test.mjs` |
|
|
18
19
|
| Navigation current row | Core | A quiet lifted fill (`--color-nav-current`, `--shadow-nav-current`) with 6px corners (`--radius-inline`) and accent text. In-page location is a 3×14 accent pip with no fill in strips and contents lists; a section rail's current section takes the current-page fill instead (see Rail current section). In forced colors the current page and a rail's current section take a `Highlight` edge, and the pip redraws in `Highlight`. | A raised pill looked odd. The old 2px inset bar curved away on rounded rows and disappeared in the dark drawer. | accent text contrast: `tests/design-foundations.test.mjs` "accent text on the selected fill reaches 4.5:1 on every surface in both themes"; 6px corners: `tests/catalogue/catalogue.spec.ts` "each component renders the corner radius of its role, and no other part has one"; pip and forced colors: no test yet |
|
|
19
20
|
| Fields | Core | 10px rounded rectangles (`--radius-field`) with a 1px `--color-border-subtle` edge (`--color-field-edge`) in both themes. Light fields take a `--color-surface-raised` fill and no shadow (`--color-field-bg`, `--shadow-field`). Dark fields stay in the sunk `--color-well` well with `--shadow-sink`; the well is about 1.01:1 against the canvas, so the edge carries the shape. A disabled field takes the `--color-well` well and no shadow. `--color-well` itself still fills tracks, pressed buttons, and selected radio cards. | Pill fields, the earlier shape. A grey sunk well with a transparent edge in light: the user said it looked disabled. Without the edge, dark fields disappeared. | 10px corners: `tests/catalogue/catalogue.spec.ts` "each component renders the corner radius of its role, and no other part has one"; edge, fill, and depth: no test yet |
|
|
20
21
|
| Switch | Core | Borderless track, 44×22 with an 18px knob. The off state shows through the track fill. | A visible track border, which was not needed. | No test yet |
|
|
@@ -44,6 +45,8 @@ Each entry records a choice this language made, the options it rejected, and why
|
|
|
44
45
|
| Specimen captions | Core | Every catalogue specimen has a caption that names its state, such as "Disabled" or "Rest, live". The owner chose it at Gate M. | Captions only on some specimens: a disabled or static specimen with no caption could read as broken. | every specimen captioned: `tests/catalogue/catalogue.spec.ts` "every specimen has a caption" |
|
|
45
46
|
| Focus ring | Core | One accent ring for every role but fields: `outline: var(--focus-width) solid var(--color-focus); outline-offset: var(--focus-offset)` (2px, 3px), with no glow, over the control's own shadow. Variants recolour it with `outline-color` only. `--color-focus` is `--color-accent`: 6.26:1 on the page, 5.72:1 on a surface, and 6.61:1 on a raised surface in light; 8.31:1, 7.85:1, and 7.39:1 in dark. Commands use the normal code block ring: the accent on `--color-code` (5.72:1 in light and 7.85:1 in dark). Terminal captures use `--color-project-dark`: 8.53:1 on the terminal plate. Inspired by Astryx `focusDefaults` (`utils/focusOutline.stylex.ts`), which writes the width, accent colour, and offset once from tokens. The user chose it from rendered demos and accepted an accent ring around primary, danger, and selected controls. | The neutral ink ring (`--color-focus: var(--color-text)`, offset 2px), the previous choice; the user preferred the accent ring with a 3px gap in rendered demos. Before that, an accent ring on controls and a `--color-link` ring on links, tabs, and navigation rows: two ring hues, cyan around the purple selected tab and current row. A ring in each control's own tone, such as `--color-error` around the danger button: every role needs its own ring rule, and the ring changes colour from control to control. A 2px ring with a 6px accent halo felt jarring, and a 1.5px ring was hard to see; Chromium drew it 1px at 1x. | one accent ring: `tests/design-foundations.test.mjs` "every focus ring is the one accent ring: no per-role ring colour or hand-written ring on any page or in tokens.css"; ring contrast: `tests/design-foundations.test.mjs` "the accent focus ring reaches 3:1 on --color-bg, --color-surface, and --color-surface-raised in both themes" |
|
|
46
47
|
| Page colours outside the base layer | Core | `tokens.css` sets the body background and text colour unlayered; the rest of the base stays in `@layer base`, so component rules still outrank it. | Everything in the layer: a host that wraps the page in its own unlayered reset, such as an artifact viewer, kept its light body while the tokens switched to dark, so token-coloured text sat near-white on white. A note telling each page to restate the body: every delivered page would need to remember it, and the failure only shows in dark mode. | unlayered page colours: `tests/design-foundations.test.mjs` "keeps the page background and text colour outside the base layer, so a host reset cannot win" |
|
|
48
|
+
| Page element rules in the base layer | Core | A page's own element rules, such as its heading and paragraph type, go in `@layer base`, so every component's rules outrank them. | Unlayered page element rules: an unlayered rule outranks every layered rule whatever its specificity, so a page's mono display `h2` turned the title of a dialog and a drawer into a page heading, and each site patched each title back. | No test yet |
|
|
49
|
+
| Full-size viewer | Core | One viewer for screenshots, terminal captures, and figures: a dialog with no footer, titled with the short name of what it shows, as wide and tall as its content up to the viewport, whose body scrolls both ways. Content fits the width only while it keeps 70% of its full size; below that it stays at full size and scrolls. On phones it is the bottom sheet, up to the dynamic viewport height. | A screenshot fitted to the phone's width: at 390px a 1280px screenshot shrinks to 28%, and its text cannot be read. The image's alt text as the title: four lines of heading above a small image. A Close button in a footer: the header close, Escape, and the backdrop already close it, and the footer took height from the image. A viewer per site: each site sized and titled it differently. | capture viewer: `tests/catalogue/catalogue.spec.ts` "the viewer names the capture, fits the viewport"; 70% rule: no test yet |
|
|
47
50
|
| Field focus | Core | No ring. The 1px edge turns `--color-accent` with a 2px inset line of the accent at 18% (`--shadow-field-focus`; `--shadow-field-focus-invalid` for an invalid field), and the fill does not change in either theme. An invalid field keeps `--color-error` for the edge and the line. Forced colors drop the line, so a focused field there draws a `Highlight` outline 1px inside its edge. Inspired by Astryx `Field/inputStyles.stylex.ts`: a full accent border with an inset muted-accent line, and `Highlight` in forced colors. The user approved it from rendered demos. | The control ring plus a lift out of the well onto the control surface (`--field-focus`, `--color-control-thumb`, `--shadow-raise`), the previous choice, replaced by the edge the user chose from rendered demos. Before that, the lift with a 35% accent edge and no ring, which measured below 3:1 in light, and an accent edge with a halo and an underline, which felt too heavy. | edge contrast of focused inputs (valid and invalid), selects, textareas, and search fields, light and dark: `tests/catalogue/catalogue.spec.ts` "contrast: every focused field edge, on its fill and on the surface around it reaches 3:1"; inset line and forced colors: no test yet |
|
|
48
51
|
| Selected tab | Core | The navigation row's lifted fill (`--color-nav-current`, `--shadow-nav-current`, accent text, 6px corners), with no underline. Navigation and tabs share one selected state. | A 2px accent underline curved at rounded corners and did not match navigation. | rule present: `tests/design-foundations.test.mjs` "every state rule the guard requires exists in the catalogue"; 6px corners: `tests/catalogue/catalogue.spec.ts` "each component renders the corner radius of its role, and no other part has one"; fill recipe: no test yet |
|
|
49
52
|
| Selected text | Core | The first of accent, body text, black, and white that reaches 4.5:1 over the rendered current-row fill, on the page and on a surface (`--color-nav-current-text`). | Accent text everywhere: the accent is validated only at 3:1, so some hues miss 4.5:1 as text on the fill. | accent text at 4.5:1: `tests/design-foundations.test.mjs` "accent text on the selected fill reaches 4.5:1 on every surface in both themes"; fallback order: no test yet |
|
package/language/reference.html
CHANGED
|
@@ -653,6 +653,23 @@
|
|
|
653
653
|
<li class="swatch" data-token="--color-terminal-border"><i class="chip" aria-hidden="true"></i><code>--color-terminal-border</code><span class="value"></span><span class="use">Terminal plate edge</span></li>
|
|
654
654
|
<li class="swatch" data-token="--color-terminal-caption"><i class="chip" aria-hidden="true"></i><code>--color-terminal-caption</code><span class="value"></span><span class="use">Status-line caption under a terminal capture</span></li>
|
|
655
655
|
<li class="swatch" data-token="--color-terminal-caption-text" data-on="--color-terminal-caption" data-min="4.5"><i class="chip" aria-hidden="true"></i><code>--color-terminal-caption-text</code><span class="value"></span><span class="ratio"></span></li>
|
|
656
|
+
<li class="swatch" data-token="--color-terminal-ansi-0"><i class="chip" aria-hidden="true"></i><code>--color-terminal-ansi-0</code><span class="value"></span><span class="use">ANSI colour 0, black, in a terminal capture; too dark for text on the plate, so captures use it as a background</span></li>
|
|
657
|
+
<li class="swatch" data-token="--color-terminal-ansi-1" data-on="--color-terminal" data-min="4.5"><i class="chip" aria-hidden="true"></i><code>--color-terminal-ansi-1</code><span class="value"></span><span class="ratio"></span></li>
|
|
658
|
+
<li class="swatch" data-token="--color-terminal-ansi-2" data-on="--color-terminal" data-min="4.5"><i class="chip" aria-hidden="true"></i><code>--color-terminal-ansi-2</code><span class="value"></span><span class="ratio"></span></li>
|
|
659
|
+
<li class="swatch" data-token="--color-terminal-ansi-3" data-on="--color-terminal" data-min="4.5"><i class="chip" aria-hidden="true"></i><code>--color-terminal-ansi-3</code><span class="value"></span><span class="ratio"></span></li>
|
|
660
|
+
<li class="swatch" data-token="--color-terminal-ansi-4" data-on="--color-terminal" data-min="4.5"><i class="chip" aria-hidden="true"></i><code>--color-terminal-ansi-4</code><span class="value"></span><span class="ratio"></span></li>
|
|
661
|
+
<li class="swatch" data-token="--color-terminal-ansi-5" data-on="--color-terminal" data-min="4.5"><i class="chip" aria-hidden="true"></i><code>--color-terminal-ansi-5</code><span class="value"></span><span class="ratio"></span></li>
|
|
662
|
+
<li class="swatch" data-token="--color-terminal-ansi-6" data-on="--color-terminal" data-min="4.5"><i class="chip" aria-hidden="true"></i><code>--color-terminal-ansi-6</code><span class="value"></span><span class="ratio"></span></li>
|
|
663
|
+
<li class="swatch" data-token="--color-terminal-ansi-7" data-on="--color-terminal" data-min="4.5"><i class="chip" aria-hidden="true"></i><code>--color-terminal-ansi-7</code><span class="value"></span><span class="ratio"></span></li>
|
|
664
|
+
<li class="swatch" data-token="--color-terminal-ansi-8" data-on="--color-terminal" data-min="4.5"><i class="chip" aria-hidden="true"></i><code>--color-terminal-ansi-8</code><span class="value"></span><span class="ratio"></span></li>
|
|
665
|
+
<li class="swatch" data-token="--color-terminal-ansi-9" data-on="--color-terminal" data-min="4.5"><i class="chip" aria-hidden="true"></i><code>--color-terminal-ansi-9</code><span class="value"></span><span class="ratio"></span></li>
|
|
666
|
+
<li class="swatch" data-token="--color-terminal-ansi-10" data-on="--color-terminal" data-min="4.5"><i class="chip" aria-hidden="true"></i><code>--color-terminal-ansi-10</code><span class="value"></span><span class="ratio"></span></li>
|
|
667
|
+
<li class="swatch" data-token="--color-terminal-ansi-11" data-on="--color-terminal" data-min="4.5"><i class="chip" aria-hidden="true"></i><code>--color-terminal-ansi-11</code><span class="value"></span><span class="ratio"></span></li>
|
|
668
|
+
<li class="swatch" data-token="--color-terminal-ansi-12" data-on="--color-terminal" data-min="4.5"><i class="chip" aria-hidden="true"></i><code>--color-terminal-ansi-12</code><span class="value"></span><span class="ratio"></span></li>
|
|
669
|
+
<li class="swatch" data-token="--color-terminal-ansi-13" data-on="--color-terminal" data-min="4.5"><i class="chip" aria-hidden="true"></i><code>--color-terminal-ansi-13</code><span class="value"></span><span class="ratio"></span></li>
|
|
670
|
+
<li class="swatch" data-token="--color-terminal-ansi-14" data-on="--color-terminal" data-min="4.5"><i class="chip" aria-hidden="true"></i><code>--color-terminal-ansi-14</code><span class="value"></span><span class="ratio"></span></li>
|
|
671
|
+
<li class="swatch" data-token="--color-terminal-ansi-15" data-on="--color-terminal" data-min="4.5"><i class="chip" aria-hidden="true"></i><code>--color-terminal-ansi-15</code><span class="value"></span><span class="ratio"></span></li>
|
|
672
|
+
<li class="swatch" data-token="--color-terminal-ansi-4-bg"><i class="chip" aria-hidden="true"></i><code>--color-terminal-ansi-4-bg</code><span class="value"></span><span class="use">ANSI colour 4 as a background, darker than the text colour so terminal text reads on it</span></li>
|
|
656
673
|
</ul>
|
|
657
674
|
</section>
|
|
658
675
|
|
package/language/tokens.css
CHANGED
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
--color-info-surface: #d9e3f2;
|
|
86
86
|
--color-status-ink: black;
|
|
87
87
|
|
|
88
|
-
/* Identity layer: neutral terminal captures in both appearances.
|
|
88
|
+
/* Identity layer: neutral terminal captures in both appearances, with the ANSI colours their output uses.
|
|
89
89
|
Command tokens stay as compatibility aliases for the code well and its edge. */
|
|
90
90
|
--color-command-bg: var(--color-code);
|
|
91
91
|
--color-command-border: var(--color-border-subtle);
|
|
@@ -96,6 +96,23 @@
|
|
|
96
96
|
--color-terminal-caption-text: #c9d0d6;
|
|
97
97
|
/* The terminal capture's header stays dark in both appearances, so its selected tab keeps the dark lift. */
|
|
98
98
|
--shadow-nav-current-dark: 0 1px 2px rgb(0 0 0 / 25%);
|
|
99
|
+
--color-terminal-ansi-0: #2b2b31;
|
|
100
|
+
--color-terminal-ansi-1: #f0776c;
|
|
101
|
+
--color-terminal-ansi-2: #4cc38a;
|
|
102
|
+
--color-terminal-ansi-3: #e2a54b;
|
|
103
|
+
--color-terminal-ansi-4: #7d97ff;
|
|
104
|
+
--color-terminal-ansi-5: #c792ea;
|
|
105
|
+
--color-terminal-ansi-6: #5fd3d9;
|
|
106
|
+
--color-terminal-ansi-7: #c8c8d0;
|
|
107
|
+
--color-terminal-ansi-8: #a0a0ab;
|
|
108
|
+
--color-terminal-ansi-9: #ff8f85;
|
|
109
|
+
--color-terminal-ansi-10: #6fd3a0;
|
|
110
|
+
--color-terminal-ansi-11: #e8b56a;
|
|
111
|
+
--color-terminal-ansi-12: #7d97ff;
|
|
112
|
+
--color-terminal-ansi-13: #d9a8f0;
|
|
113
|
+
--color-terminal-ansi-14: #8ee3e8;
|
|
114
|
+
--color-terminal-ansi-15: #ffffff;
|
|
115
|
+
--color-terminal-ansi-4-bg: #3354c4;
|
|
99
116
|
|
|
100
117
|
/* Source code wells */
|
|
101
118
|
--color-code: var(--color-surface);
|
package/package.json
CHANGED
package/theme-mapper/core.js
CHANGED
|
@@ -143,7 +143,24 @@ export const core = {
|
|
|
143
143
|
"color-terminal-border": "#2a3036",
|
|
144
144
|
"color-terminal-caption": "#13171a",
|
|
145
145
|
"color-terminal-caption-text": "#c9d0d6",
|
|
146
|
-
"shadow-nav-current-dark": "0 1px 2px rgb(0 0 0 / 25%)"
|
|
146
|
+
"shadow-nav-current-dark": "0 1px 2px rgb(0 0 0 / 25%)",
|
|
147
|
+
"color-terminal-ansi-0": "#2b2b31",
|
|
148
|
+
"color-terminal-ansi-1": "#f0776c",
|
|
149
|
+
"color-terminal-ansi-2": "#4cc38a",
|
|
150
|
+
"color-terminal-ansi-3": "#e2a54b",
|
|
151
|
+
"color-terminal-ansi-4": "#7d97ff",
|
|
152
|
+
"color-terminal-ansi-5": "#c792ea",
|
|
153
|
+
"color-terminal-ansi-6": "#5fd3d9",
|
|
154
|
+
"color-terminal-ansi-7": "#c8c8d0",
|
|
155
|
+
"color-terminal-ansi-8": "#a0a0ab",
|
|
156
|
+
"color-terminal-ansi-9": "#ff8f85",
|
|
157
|
+
"color-terminal-ansi-10": "#6fd3a0",
|
|
158
|
+
"color-terminal-ansi-11": "#e8b56a",
|
|
159
|
+
"color-terminal-ansi-12": "#7d97ff",
|
|
160
|
+
"color-terminal-ansi-13": "#d9a8f0",
|
|
161
|
+
"color-terminal-ansi-14": "#8ee3e8",
|
|
162
|
+
"color-terminal-ansi-15": "#ffffff",
|
|
163
|
+
"color-terminal-ansi-4-bg": "#3354c4"
|
|
147
164
|
}
|
|
148
165
|
},
|
|
149
166
|
{
|
package/theme-mapper/engine.js
CHANGED
|
@@ -301,6 +301,12 @@ export const CHECKS = [
|
|
|
301
301
|
// A terminal capture's highlight and its current tab, in the dark hue on the terminal.
|
|
302
302
|
{ id: 'terminal', label: 'Highlighted text in a terminal capture, and its current tab', min: 4.5, kind: 'theme',
|
|
303
303
|
pairs: on(['{color-project-dark}'], ['{color-terminal}', [mix('{color-project-dark}', 20, 'transparent'), '{color-terminal}']]) },
|
|
304
|
+
// ANSI colour 0 is black: captures use it as a background, so only colours 1 to 15 are measured as text.
|
|
305
|
+
{ id: 'ansi', label: 'ANSI text colours on a terminal capture, and its text on the ANSI blue background', min: 4.5, kind: 'core',
|
|
306
|
+
pairs: [
|
|
307
|
+
...on(Array.from({ length: 15 }, (_, slot) => `{color-terminal-ansi-${slot + 1}}`), ['{color-terminal}']),
|
|
308
|
+
...on(['{color-terminal-text}'], ['{color-terminal-ansi-4-bg}']),
|
|
309
|
+
] },
|
|
304
310
|
{ id: 'link', label: 'Link text on the page, a surface, and a raised surface', min: 4.5, kind: 'core',
|
|
305
311
|
pairs: on(['{color-link}'], ON_SURFACES) },
|
|
306
312
|
{ id: 'status', label: 'Status text on the page, a surface, and a raised surface, on its badge, and on a danger button', min: 4.5, kind: 'core',
|