@adea-ai/themes 0.7.0 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (68) hide show
  1. package/README.md +38 -32
  2. package/dist/derive.d.ts.map +1 -1
  3. package/dist/derive.js +28 -2
  4. package/dist/derive.js.map +1 -1
  5. package/dist/generated/metadata.d.ts.map +1 -1
  6. package/dist/generated/metadata.js +92 -66
  7. package/dist/generated/metadata.js.map +1 -1
  8. package/dist/generated/schemes.d.ts.map +1 -1
  9. package/dist/generated/schemes.js +128 -96
  10. package/dist/generated/schemes.js.map +1 -1
  11. package/dist/generated/themes/{github-light-default.d.ts → adea-dark-colorblind.d.ts} +1 -1
  12. package/dist/generated/themes/adea-dark-colorblind.d.ts.map +1 -0
  13. package/dist/generated/themes/adea-dark-colorblind.js +70 -0
  14. package/dist/generated/themes/adea-dark-colorblind.js.map +1 -0
  15. package/dist/generated/themes/{github-dark-high-contrast.d.ts → adea-dark-high-contrast.d.ts} +1 -1
  16. package/dist/generated/themes/adea-dark-high-contrast.d.ts.map +1 -0
  17. package/dist/generated/themes/adea-dark-high-contrast.js +70 -0
  18. package/dist/generated/themes/adea-dark-high-contrast.js.map +1 -0
  19. package/dist/generated/themes/adea-dark.js +17 -17
  20. package/dist/generated/themes/adea-dark.js.map +1 -1
  21. package/dist/generated/themes/{github-light-high-contrast.d.ts → adea-light-colorblind.d.ts} +1 -1
  22. package/dist/generated/themes/adea-light-colorblind.d.ts.map +1 -0
  23. package/dist/generated/themes/adea-light-colorblind.js +71 -0
  24. package/dist/generated/themes/adea-light-colorblind.js.map +1 -0
  25. package/dist/generated/themes/adea-light-high-contrast.d.ts +11 -0
  26. package/dist/generated/themes/adea-light-high-contrast.d.ts.map +1 -0
  27. package/dist/generated/themes/adea-light-high-contrast.js +71 -0
  28. package/dist/generated/themes/adea-light-high-contrast.js.map +1 -0
  29. package/dist/generated/themes/adea-light.js +2 -2
  30. package/dist/generated/themes/adea-light.js.map +1 -1
  31. package/dist/generated/themes.d.ts.map +1 -1
  32. package/dist/generated/themes.js +34 -32
  33. package/dist/generated/themes.js.map +1 -1
  34. package/dist/sources.d.ts +31 -23
  35. package/dist/sources.d.ts.map +1 -1
  36. package/dist/sources.js +298 -65
  37. package/dist/sources.js.map +1 -1
  38. package/package.json +1 -1
  39. package/palettes/adea-dark-colorblind.json +56 -0
  40. package/palettes/adea-dark-high-contrast.json +56 -0
  41. package/palettes/adea-dark.json +3 -3
  42. package/palettes/adea-light-colorblind.json +56 -0
  43. package/palettes/adea-light-high-contrast.json +56 -0
  44. package/src/derive.ts +30 -2
  45. package/src/generated/metadata.ts +92 -66
  46. package/src/generated/schemes.ts +128 -96
  47. package/src/generated/themes/adea-dark-colorblind.ts +72 -0
  48. package/src/generated/themes/{github-dark-high-contrast.ts → adea-dark-high-contrast.ts} +27 -26
  49. package/src/generated/themes/adea-dark.ts +17 -17
  50. package/src/generated/themes/adea-light-colorblind.ts +73 -0
  51. package/src/generated/themes/adea-light-high-contrast.ts +73 -0
  52. package/src/generated/themes/adea-light.ts +2 -2
  53. package/src/generated/themes.ts +34 -32
  54. package/src/sources.ts +309 -68
  55. package/dist/generated/themes/github-dark-high-contrast.d.ts.map +0 -1
  56. package/dist/generated/themes/github-dark-high-contrast.js +0 -69
  57. package/dist/generated/themes/github-dark-high-contrast.js.map +0 -1
  58. package/dist/generated/themes/github-light-default.d.ts.map +0 -1
  59. package/dist/generated/themes/github-light-default.js +0 -70
  60. package/dist/generated/themes/github-light-default.js.map +0 -1
  61. package/dist/generated/themes/github-light-high-contrast.d.ts.map +0 -1
  62. package/dist/generated/themes/github-light-high-contrast.js +0 -69
  63. package/dist/generated/themes/github-light-high-contrast.js.map +0 -1
  64. package/palettes/github-dark-high-contrast.json +0 -38
  65. package/palettes/github-light-default.json +0 -38
  66. package/palettes/github-light-high-contrast.json +0 -38
  67. package/src/generated/themes/github-light-default.ts +0 -72
  68. package/src/generated/themes/github-light-high-contrast.ts +0 -71
package/src/sources.ts CHANGED
@@ -131,6 +131,13 @@ export interface ComposedSource {
131
131
  * pinned to the donor's own values instead.
132
132
  */
133
133
  ansiFromStructure: readonly ('black' | 'brightBlack' | 'white' | 'brightWhite')[]
134
+ /**
135
+ * Corrections to the ANSI greyscale the structure donor pinned, on the same terms
136
+ * as {@link palette}: upstream's bytes with named, reviewed adjustments. The pins
137
+ * keep the donor's greyscale verbatim; these keep a family-wide canvas decision
138
+ * (a less blue, more grey ramp) from stopping at the Base24 slots.
139
+ */
140
+ ansiOverrides?: Partial<Record<'black' | 'brightBlack' | 'white' | 'brightWhite', string>>
134
141
  /** The role supplying the accent, when the family's identity demands one. */
135
142
  accentSlot?: 'blue' | 'magenta' | 'cyan' | 'green'
136
143
  palette?: Partial<Record<Base24Slot, string>>
@@ -149,33 +156,34 @@ export interface ComposedSource {
149
156
  }
150
157
 
151
158
  /**
152
- * Adea's two default themes.
153
- *
154
- * Both are compositions and both were previously authored here — the light one as a
155
- * neutral grey ramp on white with a monochrome accent, the dark one as a neutral grey
156
- * ramp on `#252525`. They replaced those entirely while keeping their names, because
157
- * they are the defaults: the system's own appearance, not a pair of options beside it.
158
- *
159
- * ## Why they are a *pair* rather than two themes
159
+ * Adea's managed family: two appearances × three accessibility variants.
160
160
  *
161
- * They share one hue donor, so a red is the same red and a blue the same blue in both,
162
- * and each borrows its canvas from a palette chosen for the *canvas* rather than for
163
- * its colours:
161
+ * | | canvas | hues | accent |
162
+ * | --- | --- | --- | --- |
163
+ * | Adea Dark | GitHub Dark Default, re-greyed | GitHub Dark Default | its violet |
164
+ * | Adea Dark Colorblind | same re-greyed canvas | GitHub Dark Colorblind | its violet |
165
+ * | Adea Dark High Contrast | GitHub Dark HC, re-greyed | GitHub Dark High Contrast | its violet |
166
+ * | Adea Light | GitHub Light Default `#ffffff` | GitHub Dark Default, transposed | its violet |
167
+ * | Adea Light Colorblind | GitHub Light Colorblind `#ffffff` | GitHub Dark Colorblind, transposed | its violet |
168
+ * | Adea Light High Contrast | GitHub Light High Contrast | GitHub Dark High Contrast, transposed | its violet |
164
169
  *
165
- * | | canvas | hues |
166
- * | --- | --- | --- |
167
- * | Adea Dark | GitHub Dark Default `#0d1117` | GitHub Dark Default |
168
- * | Adea Light | GitHub Light Default `#ffffff` | GitHub Dark Default, transposed |
170
+ * The family started as GitHub's two appearances verbatim and has now taken the
171
+ * step the composition design was waiting for: the canvas greyscale is re-tinted
172
+ * (chroma halved, hue rotated to violet-grey) so the family's violet accent reads
173
+ * against a neutral ground instead of GitHub's blue one, and every variant's own
174
+ * accent is the accent slot — violet/magenta, which GitHub keeps constant across
175
+ * all six of its palettes, colourblind and high-contrast included.
169
176
  *
170
- * The defaults are GitHub's two appearances. The dark theme is GitHub Dark Default
171
- * entire, and the light theme is GitHub's own white canvas carrying the dark theme's
172
- * hues — the same red is the same red in both, and switching appearance changes
173
- * lightness and nothing else about the theme's identity; that claim is asserted in
174
- * `tests/provenance.test.ts` rather than left as intent. Both stay compositions
175
- * rather than vendored copies so that a later customisation is a one-slot diff with
176
- * the donors still named.
177
+ * The accessibility variants are compositions of GitHub's own accessibility
178
+ * variants, not afterthoughts: the colorblind pair adjusts the red/green hues the
179
+ * way GitHub's does, and the high-contrast pair takes GitHub's HC canvases and
180
+ * hues. The light variants keep the family rule that a light theme is the dark
181
+ * theme's hues transposed onto paper, so a red is the same red in both modes of a
182
+ * variant and switching appearance changes lightness and nothing else about the
183
+ * identity. All six stay compositions rather than vendored copies so that a later
184
+ * customisation is a one-slot diff with the donors still named.
177
185
  *
178
- * The light theme is the reason `hueTranspose` exists: GitHub's dark hues measure
186
+ * The light themes are the reason `hueTranspose` exists: GitHub's dark hues measure
179
187
  * between 2.5:1 and 4.1:1 on a light canvas, so the whole hue set is transposed down in
180
188
  * lightness by one common step — hue and chroma intact, relative brightness ordering
181
189
  * intact — rather than repaired hue by hue, which would have collapsed every bright
@@ -189,7 +197,7 @@ export const COMPOSED_SOURCES: readonly ComposedSource[] = Object.freeze([
189
197
  familyLabel: 'Adea',
190
198
  label: 'Dark',
191
199
  description:
192
- "The default dark theme: GitHub Dark Default's canvas and hues, kept as a composition so the default can diverge from it one slot at a time.",
200
+ 'The default dark theme: GitHub Dark Default with the canvas re-greyed to a violet-leaning neutral and the family violet accent, kept as a composition so the default can diverge from it one slot at a time.',
193
201
  appearance: 'dark',
194
202
  tags: ['dark', 'default', 'neutral'],
195
203
  donors: { structure: 'github-dark-default', hues: 'github-dark-default' },
@@ -233,6 +241,31 @@ export const COMPOSED_SOURCES: readonly ComposedSource[] = Object.freeze([
233
241
  base11: ['structure', 'background', { lighten: -0.06 }],
234
242
  },
235
243
  ansiFromStructure: ['black', 'brightBlack', 'white', 'brightWhite'],
244
+ /*
245
+ * The family canvas decision: GitHub's greyscale is cut blue (`h≈258`, chroma
246
+ * 0.014 on the canvas), which is exactly the tint a violet accent has to fight
247
+ * for. Halving the chroma and rotating the greyscale to violet-grey keeps every
248
+ * lightness relationship the ladder was built on and takes the tint out of the
249
+ * way. The hue slots are untouched — the GitHub dark palette stays GitHub's.
250
+ */
251
+ palette: {
252
+ base00: '#111013',
253
+ base01: '#4f4d53',
254
+ base02: '#ecebef',
255
+ base03: '#76747a',
256
+ base04: '#bab8be',
257
+ base05: '#ecebef',
258
+ base10: '#0a0a0c',
259
+ base11: '#050506',
260
+ },
261
+ ansiOverrides: {
262
+ black: '#4f4d53',
263
+ brightBlack: '#76747a',
264
+ white: '#bab8be',
265
+ },
266
+ // The family accent: the donor's violet, which GitHub keeps constant across its
267
+ // colourblind and high-contrast palettes too.
268
+ accentSlot: 'magenta',
236
269
  // AAA rather than AA, because this is a default rather than an imported palette.
237
270
  textFloor: 7,
238
271
  provenance: {
@@ -249,7 +282,7 @@ export const COMPOSED_SOURCES: readonly ComposedSource[] = Object.freeze([
249
282
  familyLabel: 'Adea',
250
283
  label: 'Light',
251
284
  description:
252
- "The default light theme: GitHub's own white canvas carrying the dark theme's hues, transposed to survive on paper.",
285
+ "The default light theme: GitHub's own white canvas carrying the dark theme's hues, transposed to survive on paper, with the family violet accent.",
253
286
  appearance: 'light',
254
287
  tags: ['light', 'default', 'neutral'],
255
288
  donors: { structure: 'github-light-default', hues: 'github-dark-default' },
@@ -288,6 +321,9 @@ export const COMPOSED_SOURCES: readonly ComposedSource[] = Object.freeze([
288
321
  base11: ['structure', 'background', { lighten: 0.06 }],
289
322
  },
290
323
  ansiFromStructure: ['black', 'brightBlack', 'white', 'brightWhite'],
324
+ // The family accent on paper: the transposed violet, dark enough to carry text
325
+ // against the white canvas. See the dark theme for the canvas decision.
326
+ accentSlot: 'magenta',
291
327
  /*
292
328
  * GitHub's hues were drawn for a `#0d1117` canvas. On Nord Light's they measure
293
329
  * between 2.5:1 and 4.1:1, which is legible as an accent and not as terminal text.
@@ -314,6 +350,243 @@ export const COMPOSED_SOURCES: readonly ComposedSource[] = Object.freeze([
314
350
  ],
315
351
  },
316
352
  },
353
+ {
354
+ id: 'adea-dark-colorblind',
355
+ name: 'Adea Dark Colorblind',
356
+ family: 'adea',
357
+ familyLabel: 'Adea',
358
+ label: 'Dark Colorblind',
359
+ description:
360
+ "The colourblind dark variant: GitHub Dark Colorblind's hues on the family's re-greyed canvas, for deuteranopia and protanopia. The violet accent survives the adjustment untouched.",
361
+ appearance: 'dark',
362
+ tags: ['dark', 'default', 'colorblind'],
363
+ donors: { structure: 'github-dark-colorblind', hues: 'github-dark-colorblind' },
364
+ slots: {
365
+ base00: ['structure', 'background'],
366
+ base01: ['structure', 'black'],
367
+ base02: ['structure', 'selection'],
368
+ base03: ['structure', 'brightBlack'],
369
+ base04: ['structure', 'white'],
370
+ base05: ['structure', 'foreground'],
371
+ base06: ['structure', 'brightWhite'],
372
+ base07: ['structure', 'brightWhite'],
373
+ base08: ['hues', 'red'],
374
+ base0A: ['hues', 'yellow'],
375
+ base0B: ['hues', 'green'],
376
+ base0C: ['hues', 'cyan'],
377
+ base0D: ['hues', 'blue'],
378
+ base0E: ['hues', 'purple'],
379
+ base12: ['hues', 'brightRed'],
380
+ base13: ['hues', 'brightYellow'],
381
+ base14: ['hues', 'brightGreen'],
382
+ base15: ['hues', 'brightCyan'],
383
+ base16: ['hues', 'brightBlue'],
384
+ base17: ['hues', 'brightPurple'],
385
+ },
386
+ synthesise: {
387
+ base09: ['hues', 'red', { rotate: 26 }],
388
+ base0F: ['hues', 'yellow', { rotate: -34 }],
389
+ base10: ['structure', 'background', { lighten: -0.03 }],
390
+ base11: ['structure', 'background', { lighten: -0.06 }],
391
+ },
392
+ ansiFromStructure: ['black', 'brightBlack', 'white', 'brightWhite'],
393
+ // The same canvas decision as the default dark theme; the colourblind donor's
394
+ // greyscale is identical to the default donor's, so the corrections match.
395
+ palette: {
396
+ base00: '#111013',
397
+ base01: '#4f4d53',
398
+ base02: '#ecebef',
399
+ base03: '#76747a',
400
+ base04: '#bab8be',
401
+ base05: '#ecebef',
402
+ base10: '#0a0a0c',
403
+ base11: '#050506',
404
+ },
405
+ ansiOverrides: {
406
+ black: '#4f4d53',
407
+ brightBlack: '#76747a',
408
+ white: '#bab8be',
409
+ },
410
+ accentSlot: 'magenta',
411
+ textFloor: 7,
412
+ provenance: {
413
+ project: 'Adea',
414
+ url: 'https://github.com/adea-ai/themes',
415
+ license: 'Apache-2.0',
416
+ bootstrappedFrom: ['GitHub Dark Colorblind (iTerm2-Color-Schemes)'],
417
+ },
418
+ },
419
+ {
420
+ id: 'adea-dark-high-contrast',
421
+ name: 'Adea Dark High Contrast',
422
+ family: 'adea',
423
+ familyLabel: 'Adea',
424
+ label: 'Dark High Contrast',
425
+ description:
426
+ "The high-contrast dark variant: GitHub Dark High Contrast's near-black canvas re-greyed to the family neutral, carrying its own high-contrast hues and violet accent.",
427
+ appearance: 'dark',
428
+ tags: ['dark', 'default', 'high-contrast'],
429
+ donors: { structure: 'github-dark-high-contrast', hues: 'github-dark-high-contrast' },
430
+ slots: {
431
+ base00: ['structure', 'background'],
432
+ base01: ['structure', 'black'],
433
+ base02: ['structure', 'selection'],
434
+ base03: ['structure', 'brightBlack'],
435
+ base04: ['structure', 'white'],
436
+ base05: ['structure', 'foreground'],
437
+ base06: ['structure', 'brightWhite'],
438
+ base07: ['structure', 'brightWhite'],
439
+ base08: ['hues', 'red'],
440
+ base0A: ['hues', 'yellow'],
441
+ base0B: ['hues', 'green'],
442
+ base0C: ['hues', 'cyan'],
443
+ base0D: ['hues', 'blue'],
444
+ base0E: ['hues', 'purple'],
445
+ base12: ['hues', 'brightRed'],
446
+ base13: ['hues', 'brightYellow'],
447
+ base14: ['hues', 'brightGreen'],
448
+ base15: ['hues', 'brightCyan'],
449
+ base16: ['hues', 'brightBlue'],
450
+ base17: ['hues', 'brightPurple'],
451
+ },
452
+ synthesise: {
453
+ base09: ['hues', 'red', { rotate: 26 }],
454
+ base0F: ['hues', 'yellow', { rotate: -34 }],
455
+ base10: ['structure', 'background', { lighten: -0.03 }],
456
+ base11: ['structure', 'background', { lighten: -0.06 }],
457
+ },
458
+ ansiFromStructure: ['black', 'brightBlack', 'white', 'brightWhite'],
459
+ // The HC canvas is already near-black, so the correction is almost entirely
460
+ // de-tinting: the chroma was half the default's to begin with.
461
+ palette: {
462
+ base00: '#0c0c0e',
463
+ base01: '#828087',
464
+ base02: '#f3f2f4',
465
+ base03: '#a7a5ac',
466
+ base04: '#dedde0',
467
+ base05: '#f3f2f4',
468
+ base10: '#060607',
469
+ base11: '#030303',
470
+ },
471
+ ansiOverrides: {
472
+ black: '#828087',
473
+ brightBlack: '#a7a5ac',
474
+ white: '#dedde0',
475
+ },
476
+ accentSlot: 'magenta',
477
+ provenance: {
478
+ project: 'Adea',
479
+ url: 'https://github.com/adea-ai/themes',
480
+ license: 'Apache-2.0',
481
+ bootstrappedFrom: ['GitHub Dark High Contrast (iTerm2-Color-Schemes)'],
482
+ },
483
+ },
484
+ {
485
+ id: 'adea-light-colorblind',
486
+ name: 'Adea Light Colorblind',
487
+ family: 'adea',
488
+ familyLabel: 'Adea',
489
+ label: 'Light Colorblind',
490
+ description:
491
+ "The colourblind light variant: GitHub's white colourblind canvas carrying the dark colourblind hues, transposed to survive on paper — the same red is the same red as the dark colourblind variant.",
492
+ appearance: 'light',
493
+ tags: ['light', 'default', 'colorblind'],
494
+ donors: { structure: 'github-light-colorblind', hues: 'github-dark-colorblind' },
495
+ slots: {
496
+ base00: ['structure', 'background'],
497
+ base01: ['structure', 'black'],
498
+ base02: ['structure', 'selection'],
499
+ base03: ['structure', 'brightBlack'],
500
+ base04: ['structure', 'white'],
501
+ base05: ['structure', 'foreground'],
502
+ base06: ['structure', 'brightWhite'],
503
+ base07: ['structure', 'brightWhite'],
504
+ base08: ['hues', 'red'],
505
+ base0A: ['hues', 'yellow'],
506
+ base0B: ['hues', 'green'],
507
+ base0C: ['hues', 'cyan'],
508
+ base0D: ['hues', 'blue'],
509
+ base0E: ['hues', 'purple'],
510
+ base12: ['hues', 'brightRed'],
511
+ base13: ['hues', 'brightYellow'],
512
+ base14: ['hues', 'brightGreen'],
513
+ base15: ['hues', 'brightCyan'],
514
+ base16: ['hues', 'brightBlue'],
515
+ base17: ['hues', 'brightPurple'],
516
+ },
517
+ synthesise: {
518
+ base09: ['hues', 'red', { rotate: 26 }],
519
+ base0F: ['hues', 'yellow', { rotate: -34 }],
520
+ base10: ['structure', 'background', { lighten: 0.03 }],
521
+ base11: ['structure', 'background', { lighten: 0.06 }],
522
+ },
523
+ ansiFromStructure: ['black', 'brightBlack', 'white', 'brightWhite'],
524
+ accentSlot: 'magenta',
525
+ hueTranspose: { floor: CONTRAST_FLOORS.status + 0.4 },
526
+ textFloor: 7,
527
+ provenance: {
528
+ project: 'Adea',
529
+ url: 'https://github.com/adea-ai/themes',
530
+ license: 'Apache-2.0',
531
+ bootstrappedFrom: [
532
+ 'GitHub Light Colorblind (iTerm2-Color-Schemes)',
533
+ 'GitHub Dark Colorblind (iTerm2-Color-Schemes)',
534
+ ],
535
+ },
536
+ },
537
+ {
538
+ id: 'adea-light-high-contrast',
539
+ name: 'Adea Light High Contrast',
540
+ family: 'adea',
541
+ familyLabel: 'Adea',
542
+ label: 'Light High Contrast',
543
+ description:
544
+ "The high-contrast light variant: GitHub's white high-contrast canvas carrying the dark high-contrast hues, transposed — the paper counterpart of the dark high-contrast variant.",
545
+ appearance: 'light',
546
+ tags: ['light', 'default', 'high-contrast'],
547
+ donors: { structure: 'github-light-high-contrast', hues: 'github-dark-high-contrast' },
548
+ slots: {
549
+ base00: ['structure', 'background'],
550
+ base01: ['structure', 'black'],
551
+ base02: ['structure', 'selection'],
552
+ base03: ['structure', 'brightBlack'],
553
+ base04: ['structure', 'white'],
554
+ base05: ['structure', 'foreground'],
555
+ base06: ['structure', 'brightWhite'],
556
+ base07: ['structure', 'brightWhite'],
557
+ base08: ['hues', 'red'],
558
+ base0A: ['hues', 'yellow'],
559
+ base0B: ['hues', 'green'],
560
+ base0C: ['hues', 'cyan'],
561
+ base0D: ['hues', 'blue'],
562
+ base0E: ['hues', 'purple'],
563
+ base12: ['hues', 'brightRed'],
564
+ base13: ['hues', 'brightYellow'],
565
+ base14: ['hues', 'brightGreen'],
566
+ base15: ['hues', 'brightCyan'],
567
+ base16: ['hues', 'brightBlue'],
568
+ base17: ['hues', 'brightPurple'],
569
+ },
570
+ synthesise: {
571
+ base09: ['hues', 'red', { rotate: 26 }],
572
+ base0F: ['hues', 'yellow', { rotate: -34 }],
573
+ base10: ['structure', 'background', { lighten: 0.03 }],
574
+ base11: ['structure', 'background', { lighten: 0.06 }],
575
+ },
576
+ ansiFromStructure: ['black', 'brightBlack', 'white', 'brightWhite'],
577
+ accentSlot: 'magenta',
578
+ hueTranspose: { floor: CONTRAST_FLOORS.status + 0.4 },
579
+ textFloor: 7,
580
+ provenance: {
581
+ project: 'Adea',
582
+ url: 'https://github.com/adea-ai/themes',
583
+ license: 'Apache-2.0',
584
+ bootstrappedFrom: [
585
+ 'GitHub Light High Contrast (iTerm2-Color-Schemes)',
586
+ 'GitHub Dark High Contrast (iTerm2-Color-Schemes)',
587
+ ],
588
+ },
589
+ },
317
590
  ])
318
591
 
319
592
  /**
@@ -332,12 +605,11 @@ export const FAMILY_PROVENANCE: Readonly<Record<string, ThemeProvenance>> = Obje
332
605
  license: 'MIT',
333
606
  bootstrappedFrom: [ITERM2],
334
607
  },
335
- github: {
336
- project: 'GitHub Primer',
337
- url: 'https://github.com/primer/primitives',
338
- license: 'MIT',
339
- bootstrappedFrom: [ITERM2],
340
- },
608
+ /*
609
+ * The `github` family has no catalogue entry of its own any more: GitHub Primer's
610
+ * palettes survive as the donors of the composed Adea variants, whose provenance
611
+ * records the bootstrapping — and Primer itself is credited here by name.
612
+ */
341
613
  catppuccin: {
342
614
  project: 'Catppuccin',
343
615
  url: 'https://github.com/catppuccin/catppuccin',
@@ -717,43 +989,12 @@ export const VENDORED_SOURCES: readonly VendoredSource[] = Object.freeze([
717
989
  accentSlot: 'magenta',
718
990
  },
719
991
 
720
- /* --- GitHub: the interface palette, and its accessible pair ------------- */
721
- {
722
- id: 'github-light-default',
723
- slug: 'github-light-default',
724
- family: 'github',
725
- familyLabel: 'GitHub',
726
- label: 'Light Default',
727
- name: 'GitHub Light Default',
728
- description:
729
- "GitHub's own light interface palette: white ground, grey steps, familiar syntax hues.",
730
- appearance: 'light',
731
- tags: ['light', 'neutral', 'popular'],
732
- },
733
- {
734
- id: 'github-dark-high-contrast',
735
- slug: 'github-dark-high-contrast',
736
- family: 'github',
737
- familyLabel: 'GitHub',
738
- label: 'Dark High Contrast',
739
- name: 'GitHub Dark High Contrast',
740
- description:
741
- "GitHub's dark palette with its contrast floors pushed up, for accessibility needs.",
742
- appearance: 'dark',
743
- tags: ['dark', 'high-contrast'],
744
- },
745
- {
746
- id: 'github-light-high-contrast',
747
- slug: 'github-light-high-contrast',
748
- family: 'github',
749
- familyLabel: 'GitHub',
750
- label: 'Light High Contrast',
751
- name: 'GitHub Light High Contrast',
752
- description:
753
- "GitHub's light palette with its contrast floors pushed up, for accessibility needs.",
754
- appearance: 'light',
755
- tags: ['light', 'high-contrast'],
756
- },
992
+ /*
993
+ * The GitHub interface palettes are not vendored as themes: Adea's six managed
994
+ * variants are compositions *of* them (see the composed sources above), so a
995
+ * standalone GitHub entry would be the default wearing another name. The donor
996
+ * palettes stay in the dataset and the composed outputs in `palettes/`.
997
+ */
757
998
 
758
999
  /* --- Solarized: one palette, two appearances --------------------------- */
759
1000
  {
@@ -1 +0,0 @@
1
- {"version":3,"file":"github-dark-high-contrast.d.ts","sourceRoot":"","sources":["../../../src/generated/themes/github-dark-high-contrast.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAA;AAEtD,QAAA,MAAM,KAAK,EAAE,eA2DZ,CAAA;AACD,eAAe,KAAK,CAAA"}
@@ -1,69 +0,0 @@
1
- /**
2
- * Generated by `bun run catalogue:build`. Do not edit.
3
- *
4
- * The catalogue is committed so that a palette change is a reviewable diff, and
5
- * `bun run catalogue:check` fails the build when this file and its inputs
6
- * disagree.
7
- */
8
- const theme = {
9
- "id": "github-dark-high-contrast",
10
- "name": "GitHub Dark High Contrast",
11
- "appearance": "dark",
12
- "colors": {
13
- "background": "oklch(0.154 0.0092 264.28)",
14
- "foreground": "oklch(0.9627 0.0051 247.88)",
15
- "surface": "oklch(0.189 0.0101 264.28)",
16
- "surfaceElevated": "oklch(0.219 0.0128 264.28)",
17
- "surfaceHover": "oklch(0.254 0.0147 264.28)",
18
- "surfaceActive": "oklch(0.289 0.0147 264.28)",
19
- "border": "oklch(0.304 0.0083 264.28)",
20
- "borderMuted": "oklch(0.249 0.0055 264.28)",
21
- "text": "oklch(0.9627 0.0051 247.88)",
22
- "textMuted": "oklch(0.7039 0.0064 253.13)",
23
- "textSubtle": "oklch(0.5179 0.0074 256.9)",
24
- "accent": "oklch(0.7625 0.1261 250.42)",
25
- "accentForeground": "oklch(0.154 0.0092 264.28)",
26
- "success": "oklch(0.7422 0.2143 146.17)",
27
- "warning": "oklch(0.8105 0.1541 83.76)",
28
- "error": "oklch(0.7788 0.1293 21.59)",
29
- "info": "oklch(0.7555 0.1155 202.14)"
30
- },
31
- "ansi": {
32
- "black": "oklch(0.5585 0.0066 264.51)",
33
- "red": "oklch(0.7788 0.1293 21.59)",
34
- "green": "oklch(0.7422 0.2143 146.17)",
35
- "yellow": "oklch(0.8105 0.1541 83.76)",
36
- "blue": "oklch(0.7625 0.1261 250.42)",
37
- "magenta": "oklch(0.7767 0.1418 304.66)",
38
- "cyan": "oklch(0.7555 0.1155 202.14)",
39
- "white": "oklch(0.9627 0.0051 247.88)",
40
- "brightBlack": "oklch(0.725 0.0202 255.56)",
41
- "brightRed": "oklch(0.834 0.0918 20.84)",
42
- "brightGreen": "oklch(0.8042 0.2068 146.79)",
43
- "brightYellow": "oklch(0.8518 0.1527 88.6)",
44
- "brightBlue": "oklch(0.8214 0.095 246.32)",
45
- "brightMagenta": "oklch(0.8352 0.1055 307.04)",
46
- "brightCyan": "oklch(0.8036 0.1107 201.78)",
47
- "brightWhite": "oklch(1 0 0)"
48
- },
49
- "cursor": "oklch(0.9627 0.0051 247.88)",
50
- "selection": "oklch(0.9627 0.0051 247.88)",
51
- "family": "github",
52
- "familyLabel": "GitHub",
53
- "label": "Dark High Contrast",
54
- "description": "GitHub's dark palette with its contrast floors pushed up, for accessibility needs.",
55
- "provenance": {
56
- "project": "GitHub Primer",
57
- "url": "https://github.com/primer/primitives",
58
- "license": "MIT",
59
- "bootstrappedFrom": [
60
- "https://github.com/mbadolato/iTerm2-Color-Schemes"
61
- ]
62
- },
63
- "tags": [
64
- "dark",
65
- "high-contrast"
66
- ]
67
- };
68
- export default theme;
69
- //# sourceMappingURL=github-dark-high-contrast.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"github-dark-high-contrast.js","sourceRoot":"","sources":["../../../src/generated/themes/github-dark-high-contrast.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,KAAK,GAAoB;IAC7B,IAAI,EAAE,2BAA2B;IACjC,MAAM,EAAE,2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ChB,kBAAkB,EAAE;YAClB,mDAAmD;SACpD;KACF;IACD,MAAM,EAAE;QACN,MAAM;QACN,eAAe;KAChB;CACF,CAAA;AACD,eAAe,KAAK,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"github-light-default.d.ts","sourceRoot":"","sources":["../../../src/generated/themes/github-light-default.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAA;AAEtD,QAAA,MAAM,KAAK,EAAE,eA4DZ,CAAA;AACD,eAAe,KAAK,CAAA"}
@@ -1,70 +0,0 @@
1
- /**
2
- * Generated by `bun run catalogue:build`. Do not edit.
3
- *
4
- * The catalogue is committed so that a palette change is a reviewable diff, and
5
- * `bun run catalogue:check` fails the build when this file and its inputs
6
- * disagree.
7
- */
8
- const theme = {
9
- "id": "github-light-default",
10
- "name": "GitHub Light Default",
11
- "appearance": "light",
12
- "colors": {
13
- "background": "oklch(1 0 0)",
14
- "foreground": "oklch(0.2542 0.0111 254.04)",
15
- "surface": "oklch(0.965 0 0)",
16
- "surfaceElevated": "oklch(0.935 0 0)",
17
- "surfaceHover": "oklch(0.9 0 0)",
18
- "surfaceActive": "oklch(0.865 0 0)",
19
- "border": "oklch(0.85 0 0)",
20
- "borderMuted": "oklch(0.905 0 0)",
21
- "text": "oklch(0.2542 0.0111 254.04)",
22
- "textMuted": "oklch(0.4929 0.0076 254.04)",
23
- "textSubtle": "oklch(0.6204 0.005 254.04)",
24
- "accent": "oklch(0.5399 0.1906 257.48)",
25
- "accentForeground": "oklch(1 0 0)",
26
- "success": "oklch(0.4391 0.1179 148.07)",
27
- "warning": "oklch(0.3298 0.0722 68.31)",
28
- "error": "oklch(0.5517 0.2051 24.53)",
29
- "info": "oklch(0.537 0.0845 202.4)"
30
- },
31
- "ansi": {
32
- "black": "oklch(0.2542 0.0111 254.04)",
33
- "red": "oklch(0.5517 0.2051 24.53)",
34
- "green": "oklch(0.4391 0.1179 148.07)",
35
- "yellow": "oklch(0.3298 0.0722 68.31)",
36
- "blue": "oklch(0.5399 0.1906 257.48)",
37
- "magenta": "oklch(0.5631 0.2069 294.97)",
38
- "cyan": "oklch(0.537 0.0845 202.4)",
39
- "white": "oklch(0.369 0.0159 255.61)",
40
- "brightBlack": "oklch(0.4849 0.0196 251.02)",
41
- "brightRed": "oklch(0.4591 0.1777 21.87)",
42
- "brightGreen": "oklch(0.5244 0.1401 148.04)",
43
- "brightYellow": "oklch(0.3937 0.0852 68.93)",
44
- "brightBlue": "oklch(0.6418 0.1951 254.98)",
45
- "brightMagenta": "oklch(0.669 0.1902 297.44)",
46
- "brightCyan": "oklch(0.6144 0.0945 217.77)",
47
- "brightWhite": "oklch(0.2542 0.0111 254.04)"
48
- },
49
- "cursor": "oklch(0.2542 0.0111 254.04)",
50
- "selection": "oklch(0.2542 0.0111 254.04)",
51
- "family": "github",
52
- "familyLabel": "GitHub",
53
- "label": "Light Default",
54
- "description": "GitHub's own light interface palette: white ground, grey steps, familiar syntax hues.",
55
- "provenance": {
56
- "project": "GitHub Primer",
57
- "url": "https://github.com/primer/primitives",
58
- "license": "MIT",
59
- "bootstrappedFrom": [
60
- "https://github.com/mbadolato/iTerm2-Color-Schemes"
61
- ]
62
- },
63
- "tags": [
64
- "light",
65
- "neutral",
66
- "popular"
67
- ]
68
- };
69
- export default theme;
70
- //# sourceMappingURL=github-light-default.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"github-light-default.js","sourceRoot":"","sources":["../../../src/generated/themes/github-light-default.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,KAAK,GAAoB;IAC7B,IAAI,EAAE,sBAAsB;IAC5B,MAAM,EAAE,sBAAsB;IAC9B,YAAY,EAAE,OAAO;IACrB,QAAQ,EAAE;QACR,YAAY,EAAE,cAAc;QAC5B,YAAY,EAAE,6BAA6B;QAC3C,SAAS,EAAE,kBAAkB;QAC7B,iBAAiB,EAAE,kBAAkB;QACrC,cA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ast.d.ts","sourceRoot":"","sources":["../../../src/generated/themes/github-light-high-contrast.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAA;AAEtD,QAAA,MAAM,KAAK,EAAE,eA2DZ,CAAA;AACD,eAAe,KAAK,CAAA"}