@xoxno/sdk-js 0.0.1 → 0.0.2-alpha

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.
Files changed (111) hide show
  1. package/.github/workflows/npm-publish.yml +33 -0
  2. package/README.md +22 -0
  3. package/dist/xoxno.min.js +1 -0
  4. package/package.json +1 -1
  5. package/src/launchpad/__tests__/market.test.ts +25 -0
  6. package/src/launchpad/index.ts +166 -0
  7. package/coverage/clover.xml +0 -280
  8. package/coverage/coverage-final.json +0 -12
  9. package/coverage/lcov-report/base.css +0 -224
  10. package/coverage/lcov-report/block-navigation.js +0 -87
  11. package/coverage/lcov-report/collection/index.html +0 -116
  12. package/coverage/lcov-report/collection/index.ts.html +0 -559
  13. package/coverage/lcov-report/favicon.png +0 -0
  14. package/coverage/lcov-report/index.html +0 -161
  15. package/coverage/lcov-report/interactions/index.html +0 -116
  16. package/coverage/lcov-report/interactions/index.ts.html +0 -775
  17. package/coverage/lcov-report/nft/index.html +0 -116
  18. package/coverage/lcov-report/nft/index.ts.html +0 -379
  19. package/coverage/lcov-report/prettify.css +0 -1
  20. package/coverage/lcov-report/prettify.js +0 -2
  21. package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  22. package/coverage/lcov-report/sorter.js +0 -196
  23. package/coverage/lcov-report/utils/SmartContractAbis.ts.html +0 -331
  24. package/coverage/lcov-report/utils/SmartContractService.ts.html +0 -136
  25. package/coverage/lcov-report/utils/api.ts.html +0 -484
  26. package/coverage/lcov-report/utils/const.ts.html +0 -163
  27. package/coverage/lcov-report/utils/getActivity.ts.html +0 -250
  28. package/coverage/lcov-report/utils/helpers.ts.html +0 -127
  29. package/coverage/lcov-report/utils/index.html +0 -221
  30. package/coverage/lcov-report/utils/regex.ts.html +0 -106
  31. package/coverage/lcov-report/utils/scCalls.ts.html +0 -229
  32. package/coverage/lcov.info +0 -525
  33. package/docs/.nojekyll +0 -1
  34. package/docs/assets/highlight.css +0 -64
  35. package/docs/assets/main.js +0 -58
  36. package/docs/assets/search.js +0 -1
  37. package/docs/assets/style.css +0 -1279
  38. package/docs/classes/collection.CollectionModule.html +0 -232
  39. package/docs/classes/interactions.SCInteraction.html +0 -370
  40. package/docs/classes/nft.NFTModule.html +0 -208
  41. package/docs/classes/utils_SmartContractAbis.SmartContractAbis.html +0 -198
  42. package/docs/classes/utils_api.APIClient.html +0 -212
  43. package/docs/classes/utils_scCalls.ContractQueryRunner.html +0 -129
  44. package/docs/enums/types_collection.FieldsToSelect.html +0 -186
  45. package/docs/enums/types_collection.Marketplace.html +0 -102
  46. package/docs/enums/types_collection.SearchOrderBy.html +0 -130
  47. package/docs/enums/types_trading.OrderByTradingActivity.html +0 -102
  48. package/docs/enums/types_trading.SelectFieldsTradingActivity.html +0 -144
  49. package/docs/enums/utils_api.Chain.html +0 -88
  50. package/docs/functions/utils_SmartContractService.getSmartContract.html +0 -77
  51. package/docs/functions/utils_getActivity.getActivity.html +0 -89
  52. package/docs/functions/utils_helpers.getIdentifierFromColAndNonce.html +0 -76
  53. package/docs/functions/utils_helpers.nonceToHex.html +0 -74
  54. package/docs/functions/utils_regex.isValidCollectionTicker.html +0 -74
  55. package/docs/functions/utils_regex.isValidNftIdentifier.html +0 -74
  56. package/docs/index.html +0 -55
  57. package/docs/interfaces/types_collection.AttributeData.html +0 -99
  58. package/docs/interfaces/types_collection.Filter.html +0 -157
  59. package/docs/interfaces/types_collection.GlobalOffer.html +0 -176
  60. package/docs/interfaces/types_collection.ICollectionAttributes.html +0 -85
  61. package/docs/interfaces/types_collection.ICollectionProfile.html +0 -263
  62. package/docs/interfaces/types_collection.IMintInfo.html +0 -155
  63. package/docs/interfaces/types_collection.ISocials.html +0 -127
  64. package/docs/interfaces/types_collection.MetadataAttribute.html +0 -92
  65. package/docs/interfaces/types_collection.SearchNFTs.html +0 -127
  66. package/docs/interfaces/types_collection.SearchNFTsArgs.html +0 -225
  67. package/docs/interfaces/types_collection.SearchNFTsResponse.html +0 -132
  68. package/docs/interfaces/types_collection.TradingActivity.html +0 -232
  69. package/docs/interfaces/types_collection.TraitValues.html +0 -85
  70. package/docs/interfaces/types_nft.GameData.html +0 -92
  71. package/docs/interfaces/types_nft.NFTAttribute.html +0 -127
  72. package/docs/interfaces/types_nft.NFTMetadata.html +0 -104
  73. package/docs/interfaces/types_nft.NftData.html +0 -253
  74. package/docs/interfaces/types_nft.NftValue.html +0 -106
  75. package/docs/interfaces/types_nft.OffersInfo.html +0 -169
  76. package/docs/interfaces/types_nft.OriginalMedia.html +0 -92
  77. package/docs/interfaces/types_nft.SaleInfoNft.html +0 -211
  78. package/docs/interfaces/types_trading.TradincActivityArgs.html +0 -225
  79. package/docs/interfaces/types_trading.TradingActivityQueryFilter.html +0 -151
  80. package/docs/interfaces/types_trading.TradingActivityResponse.html +0 -106
  81. package/docs/modules/collection.html +0 -71
  82. package/docs/modules/interactions.html +0 -71
  83. package/docs/modules/nft.html +0 -71
  84. package/docs/modules/types.html +0 -189
  85. package/docs/modules/types_collection.html +0 -104
  86. package/docs/modules/types_interactions.html +0 -69
  87. package/docs/modules/types_nft.html +0 -85
  88. package/docs/modules/types_trading.html +0 -82
  89. package/docs/modules/utils_SmartContractAbis.html +0 -71
  90. package/docs/modules/utils_SmartContractService.html +0 -71
  91. package/docs/modules/utils_api.html +0 -76
  92. package/docs/modules/utils_const.html +0 -95
  93. package/docs/modules/utils_getActivity.html +0 -71
  94. package/docs/modules/utils_helpers.html +0 -73
  95. package/docs/modules/utils_regex.html +0 -73
  96. package/docs/modules/utils_scCalls.html +0 -71
  97. package/docs/modules.html +0 -76
  98. package/docs/types/types_interactions.Offer.html +0 -89
  99. package/docs/variables/utils_const.API_URL.html +0 -76
  100. package/docs/variables/utils_const.API_URL_DEV.html +0 -76
  101. package/docs/variables/utils_const.DR_SC.html +0 -76
  102. package/docs/variables/utils_const.FM_SC.html +0 -76
  103. package/docs/variables/utils_const.KG_SC.html +0 -76
  104. package/docs/variables/utils_const.Manager_SC.html +0 -76
  105. package/docs/variables/utils_const.Manager_SC_DEV.html +0 -76
  106. package/docs/variables/utils_const.P2P_SC.html +0 -76
  107. package/docs/variables/utils_const.P2P_SC_DEV.html +0 -76
  108. package/docs/variables/utils_const.Staking_SC.html +0 -76
  109. package/docs/variables/utils_const.Staking_SC_DEV.html +0 -76
  110. package/docs/variables/utils_const.XOXNO_SC.html +0 -76
  111. package/docs/variables/utils_const.XOXNO_SC_DEV.html +0 -76
@@ -1,525 +0,0 @@
1
- TN:
2
- SF:src/collection/index.ts
3
- FN:24,(anonymous_0)
4
- FN:34,(anonymous_1)
5
- FN:53,(anonymous_2)
6
- FN:72,(anonymous_3)
7
- FN:90,(anonymous_4)
8
- FN:153,(anonymous_5)
9
- FNF:6
10
- FNH:6
11
- FNDA:2,(anonymous_0)
12
- FNDA:1,(anonymous_1)
13
- FNDA:1,(anonymous_2)
14
- FNDA:1,(anonymous_3)
15
- FNDA:2,(anonymous_4)
16
- FNDA:2,(anonymous_5)
17
- DA:9,1
18
- DA:10,1
19
- DA:11,1
20
- DA:22,1
21
- DA:25,2
22
- DA:34,2
23
- DA:37,1
24
- DA:38,0
25
- DA:40,1
26
- DA:43,1
27
- DA:53,2
28
- DA:57,1
29
- DA:58,0
30
- DA:60,1
31
- DA:63,1
32
- DA:72,2
33
- DA:75,1
34
- DA:76,0
35
- DA:78,1
36
- DA:81,1
37
- DA:90,2
38
- DA:93,2
39
- DA:94,0
40
- DA:97,2
41
- DA:98,0
42
- DA:101,2
43
- DA:131,2
44
- DA:132,2
45
- DA:135,2
46
- DA:153,2
47
- DA:156,2
48
- LF:31
49
- LH:26
50
- BRDA:37,0,0,0
51
- BRDA:55,1,0,1
52
- BRDA:57,2,0,0
53
- BRDA:75,3,0,0
54
- BRDA:93,4,0,0
55
- BRDA:97,5,0,0
56
- BRDA:97,6,0,2
57
- BRDA:97,6,1,2
58
- BRDA:103,7,0,2
59
- BRDA:103,7,1,0
60
- BRDA:104,8,0,2
61
- BRDA:104,8,1,2
62
- BRDA:105,9,0,2
63
- BRDA:105,9,1,0
64
- BRDA:106,10,0,0
65
- BRDA:106,10,1,2
66
- BRDA:110,11,0,2
67
- BRDA:110,11,1,2
68
- BRDA:111,12,0,2
69
- BRDA:111,12,1,2
70
- BRDA:112,13,0,0
71
- BRDA:112,13,1,2
72
- BRDA:115,14,0,0
73
- BRDA:115,14,1,0
74
- BRDA:120,15,0,2
75
- BRDA:120,15,1,2
76
- BRDA:121,16,0,2
77
- BRDA:121,16,1,2
78
- BRDA:123,17,0,2
79
- BRDA:123,17,1,2
80
- BRDA:124,18,0,2
81
- BRDA:124,18,1,2
82
- BRDA:126,19,0,2
83
- BRDA:126,19,1,0
84
- BRDA:127,20,0,2
85
- BRDA:127,20,1,0
86
- BRDA:128,21,0,2
87
- BRDA:128,21,1,1
88
- BRDA:139,22,0,2
89
- BRDA:139,22,1,1
90
- BRDA:139,23,0,2
91
- BRDA:139,23,1,0
92
- BRDA:142,24,0,2
93
- BRDA:142,24,1,1
94
- BRDA:142,25,0,2
95
- BRDA:142,25,1,0
96
- BRF:46
97
- BRH:31
98
- end_of_record
99
- TN:
100
- SF:src/interactions/index.ts
101
- FN:16,(anonymous_0)
102
- FN:21,(anonymous_1)
103
- FN:33,(anonymous_2)
104
- FN:42,(anonymous_3)
105
- FN:52,(anonymous_4)
106
- FN:63,(anonymous_5)
107
- FN:66,(anonymous_6)
108
- FN:76,(anonymous_7)
109
- FN:96,(anonymous_8)
110
- FN:108,(anonymous_9)
111
- FN:153,(anonymous_10)
112
- FN:162,(anonymous_11)
113
- FN:171,(anonymous_12)
114
- FN:180,(anonymous_13)
115
- FN:192,(anonymous_14)
116
- FN:205,(anonymous_15)
117
- FN:221,(anonymous_16)
118
- FN:227,(anonymous_17)
119
- FNF:18
120
- FNH:17
121
- FNDA:1,(anonymous_0)
122
- FNDA:1,(anonymous_1)
123
- FNDA:14,(anonymous_2)
124
- FNDA:1,(anonymous_3)
125
- FNDA:1,(anonymous_4)
126
- FNDA:2,(anonymous_5)
127
- FNDA:5072,(anonymous_6)
128
- FNDA:1,(anonymous_7)
129
- FNDA:0,(anonymous_8)
130
- FNDA:2,(anonymous_9)
131
- FNDA:1,(anonymous_10)
132
- FNDA:1,(anonymous_11)
133
- FNDA:1,(anonymous_12)
134
- FNDA:1,(anonymous_13)
135
- FNDA:1,(anonymous_14)
136
- FNDA:1,(anonymous_15)
137
- FNDA:1,(anonymous_16)
138
- FNDA:755,(anonymous_17)
139
- DA:1,1
140
- DA:6,1
141
- DA:8,1
142
- DA:9,1
143
- DA:10,1
144
- DA:11,1
145
- DA:13,1
146
- DA:17,1
147
- DA:18,1
148
- DA:22,1
149
- DA:23,1
150
- DA:24,1
151
- DA:30,1
152
- DA:34,14
153
- DA:42,1
154
- DA:43,1
155
- DA:44,1
156
- DA:45,1
157
- DA:52,1
158
- DA:53,1
159
- DA:54,1
160
- DA:55,1
161
- DA:63,1
162
- DA:64,2
163
- DA:65,2
164
- DA:66,5072
165
- DA:81,1
166
- DA:85,1
167
- DA:86,0
168
- DA:88,1
169
- DA:97,0
170
- DA:108,1
171
- DA:111,2
172
- DA:112,2
173
- DA:113,2
174
- DA:114,2
175
- DA:115,2
176
- DA:116,2
177
- DA:119,2
178
- DA:120,2
179
- DA:121,2
180
- DA:122,2
181
- DA:123,0
182
- DA:132,2
183
- DA:134,2
184
- DA:135,2
185
- DA:136,2
186
- DA:138,2
187
- DA:139,2
188
- DA:140,2
189
- DA:141,0
190
- DA:147,2
191
- DA:154,1
192
- DA:155,1
193
- DA:156,1
194
- DA:163,1
195
- DA:164,1
196
- DA:165,1
197
- DA:172,1
198
- DA:173,1
199
- DA:174,1
200
- DA:181,1
201
- DA:182,1
202
- DA:183,1
203
- DA:193,1
204
- DA:196,1
205
- DA:208,1
206
- DA:211,1
207
- DA:224,1
208
- DA:227,755
209
- DA:228,1
210
- LF:71
211
- LH:67
212
- BRDA:85,0,0,0
213
- BRDA:122,1,0,0
214
- BRDA:122,1,1,2
215
- BRDA:140,2,0,0
216
- BRF:4
217
- BRH:1
218
- end_of_record
219
- TN:
220
- SF:src/nft/index.ts
221
- FN:19,(anonymous_0)
222
- FN:28,(anonymous_1)
223
- FN:45,(anonymous_2)
224
- FN:67,(anonymous_3)
225
- FN:93,(anonymous_4)
226
- FNF:5
227
- FNH:5
228
- FNDA:1,(anonymous_0)
229
- FNDA:1,(anonymous_1)
230
- FNDA:1,(anonymous_2)
231
- FNDA:1,(anonymous_3)
232
- FNDA:2,(anonymous_4)
233
- DA:3,1
234
- DA:4,1
235
- DA:5,1
236
- DA:6,1
237
- DA:17,1
238
- DA:20,1
239
- DA:28,1
240
- DA:29,1
241
- DA:30,0
242
- DA:32,1
243
- DA:35,1
244
- DA:45,1
245
- DA:49,1
246
- DA:50,0
247
- DA:53,1
248
- DA:56,1
249
- DA:67,1
250
- DA:72,1
251
- DA:73,0
252
- DA:76,1
253
- DA:77,0
254
- DA:80,1
255
- DA:83,1
256
- DA:93,1
257
- DA:96,2
258
- LF:25
259
- LH:21
260
- BRDA:29,0,0,0
261
- BRDA:49,1,0,0
262
- BRDA:72,2,0,0
263
- BRDA:76,3,0,0
264
- BRF:4
265
- BRH:0
266
- end_of_record
267
- TN:
268
- SF:src/utils/SmartContractAbis.ts
269
- FN:12,(anonymous_1)
270
- FN:23,(anonymous_2)
271
- FN:35,(anonymous_3)
272
- FN:47,(anonymous_4)
273
- FN:59,(anonymous_5)
274
- FN:71,(anonymous_6)
275
- FNF:6
276
- FNH:1
277
- FNDA:1,(anonymous_1)
278
- FNDA:0,(anonymous_2)
279
- FNDA:0,(anonymous_3)
280
- FNDA:0,(anonymous_4)
281
- FNDA:0,(anonymous_5)
282
- FNDA:0,(anonymous_6)
283
- DA:1,1
284
- DA:2,1
285
- DA:4,1
286
- DA:13,1
287
- DA:14,1
288
- DA:17,1
289
- DA:18,1
290
- DA:21,1
291
- DA:24,0
292
- DA:25,0
293
- DA:28,0
294
- DA:29,0
295
- DA:32,0
296
- DA:36,0
297
- DA:37,0
298
- DA:40,0
299
- DA:41,0
300
- DA:44,0
301
- DA:48,0
302
- DA:49,0
303
- DA:52,0
304
- DA:53,0
305
- DA:56,0
306
- DA:60,0
307
- DA:61,0
308
- DA:64,0
309
- DA:65,0
310
- DA:68,0
311
- DA:72,0
312
- DA:73,0
313
- DA:76,0
314
- DA:77,0
315
- DA:80,0
316
- LF:33
317
- LH:8
318
- BRDA:13,0,0,1
319
- BRDA:24,1,0,0
320
- BRDA:36,2,0,0
321
- BRDA:48,3,0,0
322
- BRDA:60,4,0,0
323
- BRDA:72,5,0,0
324
- BRF:6
325
- BRH:1
326
- end_of_record
327
- TN:
328
- SF:src/utils/SmartContractService.ts
329
- FN:8,(anonymous_0)
330
- FNF:1
331
- FNH:1
332
- FNDA:1,(anonymous_0)
333
- DA:1,1
334
- DA:8,1
335
- DA:13,1
336
- LF:3
337
- LH:3
338
- BRF:0
339
- BRH:0
340
- end_of_record
341
- TN:
342
- SF:src/utils/api.ts
343
- FN:35,(anonymous_1)
344
- FN:61,(anonymous_2)
345
- FN:72,(anonymous_3)
346
- FN:79,(anonymous_4)
347
- FN:102,(anonymous_5)
348
- FNF:5
349
- FNH:4
350
- FNDA:3,(anonymous_1)
351
- FNDA:3,(anonymous_2)
352
- FNDA:5,(anonymous_3)
353
- FNDA:12,(anonymous_4)
354
- FNDA:0,(anonymous_5)
355
- DA:1,3
356
- DA:2,3
357
- DA:20,3
358
- DA:36,3
359
- DA:37,3
360
- DA:38,3
361
- DA:39,3
362
- DA:66,3
363
- DA:67,3
364
- DA:69,3
365
- DA:73,5
366
- DA:74,0
367
- DA:76,5
368
- DA:79,3
369
- DA:84,12
370
- DA:86,12
371
- DA:96,12
372
- DA:97,12
373
- DA:103,0
374
- DA:118,12
375
- DA:120,12
376
- DA:122,0
377
- LF:22
378
- LH:19
379
- BRDA:40,0,0,3
380
- BRDA:40,0,1,0
381
- BRDA:62,1,0,2
382
- BRDA:63,2,0,2
383
- BRDA:64,3,0,3
384
- BRDA:66,4,0,3
385
- BRDA:73,5,0,0
386
- BRDA:81,6,0,12
387
- BRDA:82,7,0,12
388
- BRDA:91,8,0,0
389
- BRDA:91,8,1,12
390
- BRDA:94,9,0,12
391
- BRDA:94,9,1,12
392
- BRDA:99,10,0,0
393
- BRDA:99,10,1,12
394
- BRDA:113,11,0,12
395
- BRDA:113,11,1,0
396
- BRDA:114,12,0,12
397
- BRDA:114,12,1,12
398
- BRF:19
399
- BRH:14
400
- end_of_record
401
- TN:
402
- SF:src/utils/const.ts
403
- FNF:0
404
- FNH:0
405
- DA:1,3
406
- DA:2,3
407
- DA:4,3
408
- DA:6,3
409
- DA:8,3
410
- DA:10,3
411
- DA:12,3
412
- DA:14,3
413
- DA:16,3
414
- DA:19,3
415
- DA:21,3
416
- DA:23,3
417
- DA:25,3
418
- LF:13
419
- LH:13
420
- BRF:0
421
- BRH:0
422
- end_of_record
423
- TN:
424
- SF:src/utils/getActivity.ts
425
- FN:15,(anonymous_0)
426
- FNF:1
427
- FNH:1
428
- FNDA:4,(anonymous_0)
429
- DA:15,2
430
- DA:19,4
431
- DA:20,0
432
- DA:23,4
433
- DA:42,4
434
- DA:43,4
435
- DA:47,4
436
- LF:7
437
- LH:6
438
- BRDA:19,0,0,0
439
- BRDA:19,1,0,4
440
- BRDA:19,1,1,3
441
- BRDA:26,2,0,4
442
- BRDA:26,2,1,2
443
- BRDA:27,3,0,4
444
- BRDA:27,3,1,4
445
- BRDA:28,4,0,4
446
- BRDA:28,4,1,4
447
- BRDA:29,5,0,4
448
- BRDA:29,5,1,4
449
- BRDA:30,6,0,4
450
- BRDA:30,6,1,4
451
- BRDA:38,7,0,4
452
- BRDA:38,7,1,1
453
- BRDA:39,8,0,4
454
- BRDA:39,8,1,3
455
- BRDA:51,9,0,4
456
- BRDA:51,9,1,3
457
- BRDA:51,10,0,4
458
- BRDA:51,10,1,1
459
- BRF:21
460
- BRH:20
461
- end_of_record
462
- TN:
463
- SF:src/utils/helpers.ts
464
- FN:1,(anonymous_0)
465
- FN:9,(anonymous_1)
466
- FNF:2
467
- FNH:2
468
- FNDA:1,(anonymous_0)
469
- FNDA:1,(anonymous_1)
470
- DA:1,1
471
- DA:2,1
472
- DA:3,1
473
- DA:4,1
474
- DA:6,1
475
- DA:9,1
476
- DA:13,1
477
- LF:7
478
- LH:7
479
- BRDA:3,0,0,1
480
- BRF:1
481
- BRH:1
482
- end_of_record
483
- TN:
484
- SF:src/utils/regex.ts
485
- FN:1,(anonymous_0)
486
- FN:5,(anonymous_1)
487
- FNF:2
488
- FNH:2
489
- FNDA:7,(anonymous_0)
490
- FNDA:1,(anonymous_1)
491
- DA:1,2
492
- DA:2,7
493
- DA:5,2
494
- DA:6,1
495
- LF:4
496
- LH:4
497
- BRF:0
498
- BRH:0
499
- end_of_record
500
- TN:
501
- SF:src/utils/scCalls.ts
502
- FN:18,(anonymous_0)
503
- FN:25,(anonymous_1)
504
- FNF:2
505
- FNH:2
506
- FNDA:1,(anonymous_0)
507
- FNDA:14,(anonymous_1)
508
- DA:1,1
509
- DA:6,1
510
- DA:12,1
511
- DA:14,1
512
- DA:16,1
513
- DA:19,1
514
- DA:20,1
515
- DA:29,14
516
- DA:31,14
517
- DA:33,14
518
- DA:38,0
519
- DA:43,0
520
- DA:45,0
521
- LF:13
522
- LH:10
523
- BRF:0
524
- BRH:0
525
- end_of_record
package/docs/.nojekyll DELETED
@@ -1 +0,0 @@
1
- TypeDoc added this file to prevent GitHub Pages from using Jekyll. You can turn off this behavior by setting the `githubPages` option to false.
@@ -1,64 +0,0 @@
1
- :root {
2
- --light-hl-0: #0000FF;
3
- --dark-hl-0: #569CD6;
4
- --light-hl-1: #000000;
5
- --dark-hl-1: #D4D4D4;
6
- --light-hl-2: #0070C1;
7
- --dark-hl-2: #4FC1FF;
8
- --light-hl-3: #795E26;
9
- --dark-hl-3: #DCDCAA;
10
- --light-hl-4: #001080;
11
- --dark-hl-4: #9CDCFE;
12
- --light-hl-5: #A31515;
13
- --dark-hl-5: #CE9178;
14
- --light-code-background: #FFFFFF;
15
- --dark-code-background: #1E1E1E;
16
- }
17
-
18
- @media (prefers-color-scheme: light) { :root {
19
- --hl-0: var(--light-hl-0);
20
- --hl-1: var(--light-hl-1);
21
- --hl-2: var(--light-hl-2);
22
- --hl-3: var(--light-hl-3);
23
- --hl-4: var(--light-hl-4);
24
- --hl-5: var(--light-hl-5);
25
- --code-background: var(--light-code-background);
26
- } }
27
-
28
- @media (prefers-color-scheme: dark) { :root {
29
- --hl-0: var(--dark-hl-0);
30
- --hl-1: var(--dark-hl-1);
31
- --hl-2: var(--dark-hl-2);
32
- --hl-3: var(--dark-hl-3);
33
- --hl-4: var(--dark-hl-4);
34
- --hl-5: var(--dark-hl-5);
35
- --code-background: var(--dark-code-background);
36
- } }
37
-
38
- :root[data-theme='light'] {
39
- --hl-0: var(--light-hl-0);
40
- --hl-1: var(--light-hl-1);
41
- --hl-2: var(--light-hl-2);
42
- --hl-3: var(--light-hl-3);
43
- --hl-4: var(--light-hl-4);
44
- --hl-5: var(--light-hl-5);
45
- --code-background: var(--light-code-background);
46
- }
47
-
48
- :root[data-theme='dark'] {
49
- --hl-0: var(--dark-hl-0);
50
- --hl-1: var(--dark-hl-1);
51
- --hl-2: var(--dark-hl-2);
52
- --hl-3: var(--dark-hl-3);
53
- --hl-4: var(--dark-hl-4);
54
- --hl-5: var(--dark-hl-5);
55
- --code-background: var(--dark-code-background);
56
- }
57
-
58
- .hl-0 { color: var(--hl-0); }
59
- .hl-1 { color: var(--hl-1); }
60
- .hl-2 { color: var(--hl-2); }
61
- .hl-3 { color: var(--hl-3); }
62
- .hl-4 { color: var(--hl-4); }
63
- .hl-5 { color: var(--hl-5); }
64
- pre, code { background: var(--code-background); }