@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.
- package/README.md +38 -32
- package/dist/derive.d.ts.map +1 -1
- package/dist/derive.js +28 -2
- package/dist/derive.js.map +1 -1
- package/dist/generated/metadata.d.ts.map +1 -1
- package/dist/generated/metadata.js +92 -66
- package/dist/generated/metadata.js.map +1 -1
- package/dist/generated/schemes.d.ts.map +1 -1
- package/dist/generated/schemes.js +128 -96
- package/dist/generated/schemes.js.map +1 -1
- package/dist/generated/themes/{github-light-default.d.ts → adea-dark-colorblind.d.ts} +1 -1
- package/dist/generated/themes/adea-dark-colorblind.d.ts.map +1 -0
- package/dist/generated/themes/adea-dark-colorblind.js +70 -0
- package/dist/generated/themes/adea-dark-colorblind.js.map +1 -0
- package/dist/generated/themes/{github-dark-high-contrast.d.ts → adea-dark-high-contrast.d.ts} +1 -1
- package/dist/generated/themes/adea-dark-high-contrast.d.ts.map +1 -0
- package/dist/generated/themes/adea-dark-high-contrast.js +70 -0
- package/dist/generated/themes/adea-dark-high-contrast.js.map +1 -0
- package/dist/generated/themes/adea-dark.js +17 -17
- package/dist/generated/themes/adea-dark.js.map +1 -1
- package/dist/generated/themes/{github-light-high-contrast.d.ts → adea-light-colorblind.d.ts} +1 -1
- package/dist/generated/themes/adea-light-colorblind.d.ts.map +1 -0
- package/dist/generated/themes/adea-light-colorblind.js +71 -0
- package/dist/generated/themes/adea-light-colorblind.js.map +1 -0
- package/dist/generated/themes/adea-light-high-contrast.d.ts +11 -0
- package/dist/generated/themes/adea-light-high-contrast.d.ts.map +1 -0
- package/dist/generated/themes/adea-light-high-contrast.js +71 -0
- package/dist/generated/themes/adea-light-high-contrast.js.map +1 -0
- package/dist/generated/themes/adea-light.js +2 -2
- package/dist/generated/themes/adea-light.js.map +1 -1
- package/dist/generated/themes.d.ts.map +1 -1
- package/dist/generated/themes.js +34 -32
- package/dist/generated/themes.js.map +1 -1
- package/dist/sources.d.ts +31 -23
- package/dist/sources.d.ts.map +1 -1
- package/dist/sources.js +298 -65
- package/dist/sources.js.map +1 -1
- package/package.json +1 -1
- package/palettes/adea-dark-colorblind.json +56 -0
- package/palettes/adea-dark-high-contrast.json +56 -0
- package/palettes/adea-dark.json +3 -3
- package/palettes/adea-light-colorblind.json +56 -0
- package/palettes/adea-light-high-contrast.json +56 -0
- package/src/derive.ts +30 -2
- package/src/generated/metadata.ts +92 -66
- package/src/generated/schemes.ts +128 -96
- package/src/generated/themes/adea-dark-colorblind.ts +72 -0
- package/src/generated/themes/{github-dark-high-contrast.ts → adea-dark-high-contrast.ts} +27 -26
- package/src/generated/themes/adea-dark.ts +17 -17
- package/src/generated/themes/adea-light-colorblind.ts +73 -0
- package/src/generated/themes/adea-light-high-contrast.ts +73 -0
- package/src/generated/themes/adea-light.ts +2 -2
- package/src/generated/themes.ts +34 -32
- package/src/sources.ts +309 -68
- package/dist/generated/themes/github-dark-high-contrast.d.ts.map +0 -1
- package/dist/generated/themes/github-dark-high-contrast.js +0 -69
- package/dist/generated/themes/github-dark-high-contrast.js.map +0 -1
- package/dist/generated/themes/github-light-default.d.ts.map +0 -1
- package/dist/generated/themes/github-light-default.js +0 -70
- package/dist/generated/themes/github-light-default.js.map +0 -1
- package/dist/generated/themes/github-light-high-contrast.d.ts.map +0 -1
- package/dist/generated/themes/github-light-high-contrast.js +0 -69
- package/dist/generated/themes/github-light-high-contrast.js.map +0 -1
- package/palettes/github-dark-high-contrast.json +0 -38
- package/palettes/github-light-default.json +0 -38
- package/palettes/github-light-high-contrast.json +0 -38
- package/src/generated/themes/github-light-default.ts +0 -72
- package/src/generated/themes/github-light-high-contrast.ts +0 -71
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
{
|
|
2
|
+
"system": "base24",
|
|
3
|
+
"name": "Adea Light Colorblind",
|
|
4
|
+
"author": "Adea, composed from GitHub Light Colorblind and GitHub Dark Colorblind",
|
|
5
|
+
"variant": "light",
|
|
6
|
+
"palette": {
|
|
7
|
+
"base00": "#ffffff",
|
|
8
|
+
"base01": "#24292f",
|
|
9
|
+
"base02": "#24292f",
|
|
10
|
+
"base03": "#57606a",
|
|
11
|
+
"base04": "#6e7781",
|
|
12
|
+
"base05": "#24292f",
|
|
13
|
+
"base06": "#8c959f",
|
|
14
|
+
"base07": "#8c959f",
|
|
15
|
+
"base08": "#ec8e2c",
|
|
16
|
+
"base0A": "#d29922",
|
|
17
|
+
"base0B": "#58a6ff",
|
|
18
|
+
"base0C": "#39c5cf",
|
|
19
|
+
"base0D": "#58a6ff",
|
|
20
|
+
"base0E": "#bc8cff",
|
|
21
|
+
"base12": "#fdac54",
|
|
22
|
+
"base13": "#e3b341",
|
|
23
|
+
"base14": "#79c0ff",
|
|
24
|
+
"base15": "#56d4dd",
|
|
25
|
+
"base16": "#79c0ff",
|
|
26
|
+
"base17": "#d2a8ff",
|
|
27
|
+
"base09": "oklch(0.7309 0.1542 87.14)",
|
|
28
|
+
"base0F": "oklch(0.7196 0.1401 45.91)",
|
|
29
|
+
"base10": "oklch(1 0 0)",
|
|
30
|
+
"base11": "oklch(1 0 0)"
|
|
31
|
+
},
|
|
32
|
+
"ansi": {
|
|
33
|
+
"black": "#24292f",
|
|
34
|
+
"brightBlack": "#57606a",
|
|
35
|
+
"white": "#6e7781",
|
|
36
|
+
"brightWhite": "#8c959f"
|
|
37
|
+
},
|
|
38
|
+
"cursor": "#0969da",
|
|
39
|
+
"selection": "#24292f",
|
|
40
|
+
"source": {
|
|
41
|
+
"composedFrom": [
|
|
42
|
+
{
|
|
43
|
+
"role": "structure",
|
|
44
|
+
"slug": "github-light-colorblind",
|
|
45
|
+
"name": "GitHub Light Colorblind"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"role": "hues",
|
|
49
|
+
"slug": "github-dark-colorblind",
|
|
50
|
+
"name": "GitHub Dark Colorblind"
|
|
51
|
+
}
|
|
52
|
+
],
|
|
53
|
+
"repository": "https://github.com/williamzujkowski/oklch-terminal-themes",
|
|
54
|
+
"revision": "9e800e7fe760081d4c10317498038ed4227341d6"
|
|
55
|
+
}
|
|
56
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
{
|
|
2
|
+
"system": "base24",
|
|
3
|
+
"name": "Adea Light High Contrast",
|
|
4
|
+
"author": "Adea, composed from GitHub Light High Contrast and GitHub Dark High Contrast",
|
|
5
|
+
"variant": "light",
|
|
6
|
+
"palette": {
|
|
7
|
+
"base00": "#ffffff",
|
|
8
|
+
"base01": "#0e1116",
|
|
9
|
+
"base02": "#0e1116",
|
|
10
|
+
"base03": "#4b535d",
|
|
11
|
+
"base04": "#66707b",
|
|
12
|
+
"base05": "#0e1116",
|
|
13
|
+
"base06": "#88929d",
|
|
14
|
+
"base07": "#88929d",
|
|
15
|
+
"base08": "#ff9492",
|
|
16
|
+
"base0A": "#f0b72f",
|
|
17
|
+
"base0B": "#26cd4d",
|
|
18
|
+
"base0C": "#39c5cf",
|
|
19
|
+
"base0D": "#71b7ff",
|
|
20
|
+
"base0E": "#cb9eff",
|
|
21
|
+
"base12": "#ffb1af",
|
|
22
|
+
"base13": "#f7c843",
|
|
23
|
+
"base14": "#4ae168",
|
|
24
|
+
"base15": "#56d4dd",
|
|
25
|
+
"base16": "#91cbff",
|
|
26
|
+
"base17": "#dbb7ff",
|
|
27
|
+
"base09": "oklch(0.7788 0.1293 47.59)",
|
|
28
|
+
"base0F": "oklch(0.8105 0.1541 49.76)",
|
|
29
|
+
"base10": "oklch(1 0 0)",
|
|
30
|
+
"base11": "oklch(1 0 0)"
|
|
31
|
+
},
|
|
32
|
+
"ansi": {
|
|
33
|
+
"black": "#0e1116",
|
|
34
|
+
"brightBlack": "#4b535d",
|
|
35
|
+
"white": "#66707b",
|
|
36
|
+
"brightWhite": "#88929d"
|
|
37
|
+
},
|
|
38
|
+
"cursor": "#0349b4",
|
|
39
|
+
"selection": "#0e1116",
|
|
40
|
+
"source": {
|
|
41
|
+
"composedFrom": [
|
|
42
|
+
{
|
|
43
|
+
"role": "structure",
|
|
44
|
+
"slug": "github-light-high-contrast",
|
|
45
|
+
"name": "GitHub Light High Contrast"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"role": "hues",
|
|
49
|
+
"slug": "github-dark-high-contrast",
|
|
50
|
+
"name": "GitHub Dark High Contrast"
|
|
51
|
+
}
|
|
52
|
+
],
|
|
53
|
+
"repository": "https://github.com/williamzujkowski/oklch-terminal-themes",
|
|
54
|
+
"revision": "9e800e7fe760081d4c10317498038ed4227341d6"
|
|
55
|
+
}
|
|
56
|
+
}
|
package/src/derive.ts
CHANGED
|
@@ -76,6 +76,26 @@ const EDITOR_ROLES = [
|
|
|
76
76
|
'searchMatch',
|
|
77
77
|
] as const satisfies readonly EditorRole[]
|
|
78
78
|
|
|
79
|
+
/**
|
|
80
|
+
* Light themes read the two default-ink roles from the dark end of the palette
|
|
81
|
+
* instead.
|
|
82
|
+
*
|
|
83
|
+
* `variable` and `operator` mean "the ink most of the code is drawn in", and ANSI
|
|
84
|
+
* `white` is that slot *on a dark terminal* — a light grey against a dark canvas.
|
|
85
|
+
* On a light theme the same slot is the terminal's brightest colour, at or near
|
|
86
|
+
* the paper itself, so the mapping hands the editor a foreground it cannot draw
|
|
87
|
+
* with: `editorRolesHex`'s bounded repair could not reach 4.5:1 from a chroma-less
|
|
88
|
+
* near-white within its lightness budget, and every community light theme threw.
|
|
89
|
+
* ANSI `black` is the same "default ink" slot from the paper's side of the
|
|
90
|
+
* palette — dark by construction, and it keeps each palette's own tint
|
|
91
|
+
* (Solarized Light's variables stay dark teal, not a repaired grey).
|
|
92
|
+
*/
|
|
93
|
+
const LIGHT_SYNTAX_SOURCE: Readonly<Partial<Record<SyntaxRole, keyof AdeaTheme['ansi']>>> =
|
|
94
|
+
Object.freeze({
|
|
95
|
+
variable: 'black',
|
|
96
|
+
operator: 'black',
|
|
97
|
+
})
|
|
98
|
+
|
|
79
99
|
/** Which ANSI role each syntax role is read from, and why. */
|
|
80
100
|
const SYNTAX_SOURCE: Readonly<Record<SyntaxRole, keyof AdeaTheme['ansi']>> = Object.freeze({
|
|
81
101
|
// Magenta is the slot palettes spend on the most distinctive hue they have, and
|
|
@@ -136,7 +156,8 @@ export function syntaxRoles(
|
|
|
136
156
|
SyntaxRole,
|
|
137
157
|
keyof AdeaTheme['ansi'],
|
|
138
158
|
][]) {
|
|
139
|
-
const
|
|
159
|
+
const slot = theme.appearance === 'light' ? (LIGHT_SYNTAX_SOURCE[role] ?? source) : source
|
|
160
|
+
const value: Oklch | undefined = parseColor(theme.ansi[slot])
|
|
140
161
|
if (!value) continue
|
|
141
162
|
|
|
142
163
|
if (role === 'comment' || role === 'punctuation') {
|
|
@@ -188,8 +209,15 @@ export function editorRolesHex(theme: AdeaTheme): Record<EditorRole, string> {
|
|
|
188
209
|
// 4.5:1 in OKLCH can round to a hex value just below that floor, so advance
|
|
189
210
|
// the requested threshold by the smallest measured step until the encoded
|
|
190
211
|
// value itself clears 4.5:1. No source palette value or hue is rewritten.
|
|
212
|
+
//
|
|
213
|
+
// The projection runs with a wider lightness budget than the default repair,
|
|
214
|
+
// because a light theme's brightest ANSI slots start near the paper: a
|
|
215
|
+
// pastel yellow `number` has more lightness between it and 4.5:1 than the
|
|
216
|
+
// default budget allows, and this projection's contract is to hold the role
|
|
217
|
+
// to AA however far the lightness has to travel — darkening a chromatic
|
|
218
|
+
// colour keeps its hue, so the number stays yellow, just amber.
|
|
191
219
|
for (let margin = 0.001; margin <= 0.05; margin += 0.001) {
|
|
192
|
-
const repaired = repairContrast(source, background, 4.5 + margin)
|
|
220
|
+
const repaired = repairContrast(source, background, 4.5 + margin, 0.55)
|
|
193
221
|
if (!repaired.satisfied) continue
|
|
194
222
|
const candidate = oklchToHex(repaired.color)
|
|
195
223
|
const renderedCandidate = parseColor(candidate)
|
|
@@ -17,7 +17,7 @@ export const themeMetadata: readonly ThemeMetadata[] = Object.freeze([
|
|
|
17
17
|
"family": "adea",
|
|
18
18
|
"familyLabel": "Adea",
|
|
19
19
|
"label": "Dark",
|
|
20
|
-
"description": "The default dark theme: GitHub Dark Default
|
|
20
|
+
"description": "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.",
|
|
21
21
|
"tags": [
|
|
22
22
|
"dark",
|
|
23
23
|
"default",
|
|
@@ -32,6 +32,50 @@ export const themeMetadata: readonly ThemeMetadata[] = Object.freeze([
|
|
|
32
32
|
]
|
|
33
33
|
}
|
|
34
34
|
},
|
|
35
|
+
{
|
|
36
|
+
"id": "adea-dark-colorblind",
|
|
37
|
+
"name": "Adea Dark Colorblind",
|
|
38
|
+
"appearance": "dark",
|
|
39
|
+
"family": "adea",
|
|
40
|
+
"familyLabel": "Adea",
|
|
41
|
+
"label": "Dark Colorblind",
|
|
42
|
+
"description": "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.",
|
|
43
|
+
"tags": [
|
|
44
|
+
"dark",
|
|
45
|
+
"default",
|
|
46
|
+
"colorblind"
|
|
47
|
+
],
|
|
48
|
+
"provenance": {
|
|
49
|
+
"project": "Adea",
|
|
50
|
+
"url": "https://github.com/adea-ai/themes",
|
|
51
|
+
"license": "Apache-2.0",
|
|
52
|
+
"bootstrappedFrom": [
|
|
53
|
+
"GitHub Dark Colorblind (iTerm2-Color-Schemes)"
|
|
54
|
+
]
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"id": "adea-dark-high-contrast",
|
|
59
|
+
"name": "Adea Dark High Contrast",
|
|
60
|
+
"appearance": "dark",
|
|
61
|
+
"family": "adea",
|
|
62
|
+
"familyLabel": "Adea",
|
|
63
|
+
"label": "Dark High Contrast",
|
|
64
|
+
"description": "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.",
|
|
65
|
+
"tags": [
|
|
66
|
+
"dark",
|
|
67
|
+
"default",
|
|
68
|
+
"high-contrast"
|
|
69
|
+
],
|
|
70
|
+
"provenance": {
|
|
71
|
+
"project": "Adea",
|
|
72
|
+
"url": "https://github.com/adea-ai/themes",
|
|
73
|
+
"license": "Apache-2.0",
|
|
74
|
+
"bootstrappedFrom": [
|
|
75
|
+
"GitHub Dark High Contrast (iTerm2-Color-Schemes)"
|
|
76
|
+
]
|
|
77
|
+
}
|
|
78
|
+
},
|
|
35
79
|
{
|
|
36
80
|
"id": "adea-light",
|
|
37
81
|
"name": "Adea Light",
|
|
@@ -39,7 +83,7 @@ export const themeMetadata: readonly ThemeMetadata[] = Object.freeze([
|
|
|
39
83
|
"family": "adea",
|
|
40
84
|
"familyLabel": "Adea",
|
|
41
85
|
"label": "Light",
|
|
42
|
-
"description": "The default light theme: GitHub's own white canvas carrying the dark theme's hues, transposed to survive on paper.",
|
|
86
|
+
"description": "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.",
|
|
43
87
|
"tags": [
|
|
44
88
|
"light",
|
|
45
89
|
"default",
|
|
@@ -55,6 +99,52 @@ export const themeMetadata: readonly ThemeMetadata[] = Object.freeze([
|
|
|
55
99
|
]
|
|
56
100
|
}
|
|
57
101
|
},
|
|
102
|
+
{
|
|
103
|
+
"id": "adea-light-colorblind",
|
|
104
|
+
"name": "Adea Light Colorblind",
|
|
105
|
+
"appearance": "light",
|
|
106
|
+
"family": "adea",
|
|
107
|
+
"familyLabel": "Adea",
|
|
108
|
+
"label": "Light Colorblind",
|
|
109
|
+
"description": "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.",
|
|
110
|
+
"tags": [
|
|
111
|
+
"light",
|
|
112
|
+
"default",
|
|
113
|
+
"colorblind"
|
|
114
|
+
],
|
|
115
|
+
"provenance": {
|
|
116
|
+
"project": "Adea",
|
|
117
|
+
"url": "https://github.com/adea-ai/themes",
|
|
118
|
+
"license": "Apache-2.0",
|
|
119
|
+
"bootstrappedFrom": [
|
|
120
|
+
"GitHub Light Colorblind (iTerm2-Color-Schemes)",
|
|
121
|
+
"GitHub Dark Colorblind (iTerm2-Color-Schemes)"
|
|
122
|
+
]
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"id": "adea-light-high-contrast",
|
|
127
|
+
"name": "Adea Light High Contrast",
|
|
128
|
+
"appearance": "light",
|
|
129
|
+
"family": "adea",
|
|
130
|
+
"familyLabel": "Adea",
|
|
131
|
+
"label": "Light High Contrast",
|
|
132
|
+
"description": "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.",
|
|
133
|
+
"tags": [
|
|
134
|
+
"light",
|
|
135
|
+
"default",
|
|
136
|
+
"high-contrast"
|
|
137
|
+
],
|
|
138
|
+
"provenance": {
|
|
139
|
+
"project": "Adea",
|
|
140
|
+
"url": "https://github.com/adea-ai/themes",
|
|
141
|
+
"license": "Apache-2.0",
|
|
142
|
+
"bootstrappedFrom": [
|
|
143
|
+
"GitHub Light High Contrast (iTerm2-Color-Schemes)",
|
|
144
|
+
"GitHub Dark High Contrast (iTerm2-Color-Schemes)"
|
|
145
|
+
]
|
|
146
|
+
}
|
|
147
|
+
},
|
|
58
148
|
{
|
|
59
149
|
"id": "aardvark-blue",
|
|
60
150
|
"name": "Aardvark Blue",
|
|
@@ -317,70 +407,6 @@ export const themeMetadata: readonly ThemeMetadata[] = Object.freeze([
|
|
|
317
407
|
]
|
|
318
408
|
}
|
|
319
409
|
},
|
|
320
|
-
{
|
|
321
|
-
"id": "github-dark-high-contrast",
|
|
322
|
-
"name": "GitHub Dark High Contrast",
|
|
323
|
-
"appearance": "dark",
|
|
324
|
-
"family": "github",
|
|
325
|
-
"familyLabel": "GitHub",
|
|
326
|
-
"label": "Dark High Contrast",
|
|
327
|
-
"description": "GitHub's dark palette with its contrast floors pushed up, for accessibility needs.",
|
|
328
|
-
"tags": [
|
|
329
|
-
"dark",
|
|
330
|
-
"high-contrast"
|
|
331
|
-
],
|
|
332
|
-
"provenance": {
|
|
333
|
-
"project": "GitHub Primer",
|
|
334
|
-
"url": "https://github.com/primer/primitives",
|
|
335
|
-
"license": "MIT",
|
|
336
|
-
"bootstrappedFrom": [
|
|
337
|
-
"https://github.com/mbadolato/iTerm2-Color-Schemes"
|
|
338
|
-
]
|
|
339
|
-
}
|
|
340
|
-
},
|
|
341
|
-
{
|
|
342
|
-
"id": "github-light-default",
|
|
343
|
-
"name": "GitHub Light Default",
|
|
344
|
-
"appearance": "light",
|
|
345
|
-
"family": "github",
|
|
346
|
-
"familyLabel": "GitHub",
|
|
347
|
-
"label": "Light Default",
|
|
348
|
-
"description": "GitHub's own light interface palette: white ground, grey steps, familiar syntax hues.",
|
|
349
|
-
"tags": [
|
|
350
|
-
"light",
|
|
351
|
-
"neutral",
|
|
352
|
-
"popular"
|
|
353
|
-
],
|
|
354
|
-
"provenance": {
|
|
355
|
-
"project": "GitHub Primer",
|
|
356
|
-
"url": "https://github.com/primer/primitives",
|
|
357
|
-
"license": "MIT",
|
|
358
|
-
"bootstrappedFrom": [
|
|
359
|
-
"https://github.com/mbadolato/iTerm2-Color-Schemes"
|
|
360
|
-
]
|
|
361
|
-
}
|
|
362
|
-
},
|
|
363
|
-
{
|
|
364
|
-
"id": "github-light-high-contrast",
|
|
365
|
-
"name": "GitHub Light High Contrast",
|
|
366
|
-
"appearance": "light",
|
|
367
|
-
"family": "github",
|
|
368
|
-
"familyLabel": "GitHub",
|
|
369
|
-
"label": "Light High Contrast",
|
|
370
|
-
"description": "GitHub's light palette with its contrast floors pushed up, for accessibility needs.",
|
|
371
|
-
"tags": [
|
|
372
|
-
"light",
|
|
373
|
-
"high-contrast"
|
|
374
|
-
],
|
|
375
|
-
"provenance": {
|
|
376
|
-
"project": "GitHub Primer",
|
|
377
|
-
"url": "https://github.com/primer/primitives",
|
|
378
|
-
"license": "MIT",
|
|
379
|
-
"bootstrappedFrom": [
|
|
380
|
-
"https://github.com/mbadolato/iTerm2-Color-Schemes"
|
|
381
|
-
]
|
|
382
|
-
}
|
|
383
|
-
},
|
|
384
410
|
{
|
|
385
411
|
"id": "gruvbox-dark",
|
|
386
412
|
"name": "Gruvbox Dark",
|
package/src/generated/schemes.ts
CHANGED
|
@@ -111,6 +111,70 @@ export const generatedSchemes: Readonly<Record<string, Base24Scheme>> = Object.f
|
|
|
111
111
|
"base17": "#d2a8ff"
|
|
112
112
|
}
|
|
113
113
|
},
|
|
114
|
+
"adea-dark-colorblind": {
|
|
115
|
+
"system": "base24",
|
|
116
|
+
"name": "Adea Dark Colorblind",
|
|
117
|
+
"author": "Adea, composed from GitHub Dark Colorblind and GitHub Dark Colorblind",
|
|
118
|
+
"variant": "dark",
|
|
119
|
+
"palette": {
|
|
120
|
+
"base00": "#0d1117",
|
|
121
|
+
"base01": "#484f58",
|
|
122
|
+
"base02": "#c9d1d9",
|
|
123
|
+
"base03": "#6e7681",
|
|
124
|
+
"base04": "#b1bac4",
|
|
125
|
+
"base05": "#c9d1d9",
|
|
126
|
+
"base06": "#ffffff",
|
|
127
|
+
"base07": "#ffffff",
|
|
128
|
+
"base08": "#ec8e2c",
|
|
129
|
+
"base09": "oklch(0.7309 0.1542 87.14)",
|
|
130
|
+
"base0A": "#d29922",
|
|
131
|
+
"base0B": "#58a6ff",
|
|
132
|
+
"base0C": "#39c5cf",
|
|
133
|
+
"base0D": "#58a6ff",
|
|
134
|
+
"base0E": "#bc8cff",
|
|
135
|
+
"base0F": "oklch(0.7196 0.1401 45.91)",
|
|
136
|
+
"base10": "oklch(0.1463 0.0103 258.36)",
|
|
137
|
+
"base11": "oklch(0.1163 0.0086 258.36)",
|
|
138
|
+
"base12": "#fdac54",
|
|
139
|
+
"base13": "#e3b341",
|
|
140
|
+
"base14": "#79c0ff",
|
|
141
|
+
"base15": "#56d4dd",
|
|
142
|
+
"base16": "#79c0ff",
|
|
143
|
+
"base17": "#d2a8ff"
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
"adea-dark-high-contrast": {
|
|
147
|
+
"system": "base24",
|
|
148
|
+
"name": "Adea Dark High Contrast",
|
|
149
|
+
"author": "Adea, composed from GitHub Dark High Contrast and GitHub Dark High Contrast",
|
|
150
|
+
"variant": "dark",
|
|
151
|
+
"palette": {
|
|
152
|
+
"base00": "#0a0c10",
|
|
153
|
+
"base01": "#7a828e",
|
|
154
|
+
"base02": "#f0f3f6",
|
|
155
|
+
"base03": "#9ea7b3",
|
|
156
|
+
"base04": "#d9dee3",
|
|
157
|
+
"base05": "#f0f3f6",
|
|
158
|
+
"base06": "#ffffff",
|
|
159
|
+
"base07": "#ffffff",
|
|
160
|
+
"base08": "#ff9492",
|
|
161
|
+
"base09": "oklch(0.7788 0.1293 47.59)",
|
|
162
|
+
"base0A": "#f0b72f",
|
|
163
|
+
"base0B": "#26cd4d",
|
|
164
|
+
"base0C": "#39c5cf",
|
|
165
|
+
"base0D": "#71b7ff",
|
|
166
|
+
"base0E": "#cb9eff",
|
|
167
|
+
"base0F": "oklch(0.8105 0.1541 49.76)",
|
|
168
|
+
"base10": "oklch(0.124 0.0059 264.28)",
|
|
169
|
+
"base11": "oklch(0.094 0.0048 264.28)",
|
|
170
|
+
"base12": "#ffb1af",
|
|
171
|
+
"base13": "#f7c843",
|
|
172
|
+
"base14": "#4ae168",
|
|
173
|
+
"base15": "#56d4dd",
|
|
174
|
+
"base16": "#91cbff",
|
|
175
|
+
"base17": "#dbb7ff"
|
|
176
|
+
}
|
|
177
|
+
},
|
|
114
178
|
"adea-light": {
|
|
115
179
|
"system": "base24",
|
|
116
180
|
"name": "Adea Light",
|
|
@@ -143,6 +207,70 @@ export const generatedSchemes: Readonly<Record<string, Base24Scheme>> = Object.f
|
|
|
143
207
|
"base17": "#d2a8ff"
|
|
144
208
|
}
|
|
145
209
|
},
|
|
210
|
+
"adea-light-colorblind": {
|
|
211
|
+
"system": "base24",
|
|
212
|
+
"name": "Adea Light Colorblind",
|
|
213
|
+
"author": "Adea, composed from GitHub Light Colorblind and GitHub Dark Colorblind",
|
|
214
|
+
"variant": "light",
|
|
215
|
+
"palette": {
|
|
216
|
+
"base00": "#ffffff",
|
|
217
|
+
"base01": "#24292f",
|
|
218
|
+
"base02": "#24292f",
|
|
219
|
+
"base03": "#57606a",
|
|
220
|
+
"base04": "#6e7781",
|
|
221
|
+
"base05": "#24292f",
|
|
222
|
+
"base06": "#8c959f",
|
|
223
|
+
"base07": "#8c959f",
|
|
224
|
+
"base08": "#ec8e2c",
|
|
225
|
+
"base09": "oklch(0.7309 0.1542 87.14)",
|
|
226
|
+
"base0A": "#d29922",
|
|
227
|
+
"base0B": "#58a6ff",
|
|
228
|
+
"base0C": "#39c5cf",
|
|
229
|
+
"base0D": "#58a6ff",
|
|
230
|
+
"base0E": "#bc8cff",
|
|
231
|
+
"base0F": "oklch(0.7196 0.1401 45.91)",
|
|
232
|
+
"base10": "oklch(1 0 0)",
|
|
233
|
+
"base11": "oklch(1 0 0)",
|
|
234
|
+
"base12": "#fdac54",
|
|
235
|
+
"base13": "#e3b341",
|
|
236
|
+
"base14": "#79c0ff",
|
|
237
|
+
"base15": "#56d4dd",
|
|
238
|
+
"base16": "#79c0ff",
|
|
239
|
+
"base17": "#d2a8ff"
|
|
240
|
+
}
|
|
241
|
+
},
|
|
242
|
+
"adea-light-high-contrast": {
|
|
243
|
+
"system": "base24",
|
|
244
|
+
"name": "Adea Light High Contrast",
|
|
245
|
+
"author": "Adea, composed from GitHub Light High Contrast and GitHub Dark High Contrast",
|
|
246
|
+
"variant": "light",
|
|
247
|
+
"palette": {
|
|
248
|
+
"base00": "#ffffff",
|
|
249
|
+
"base01": "#0e1116",
|
|
250
|
+
"base02": "#0e1116",
|
|
251
|
+
"base03": "#4b535d",
|
|
252
|
+
"base04": "#66707b",
|
|
253
|
+
"base05": "#0e1116",
|
|
254
|
+
"base06": "#88929d",
|
|
255
|
+
"base07": "#88929d",
|
|
256
|
+
"base08": "#ff9492",
|
|
257
|
+
"base09": "oklch(0.7788 0.1293 47.59)",
|
|
258
|
+
"base0A": "#f0b72f",
|
|
259
|
+
"base0B": "#26cd4d",
|
|
260
|
+
"base0C": "#39c5cf",
|
|
261
|
+
"base0D": "#71b7ff",
|
|
262
|
+
"base0E": "#cb9eff",
|
|
263
|
+
"base0F": "oklch(0.8105 0.1541 49.76)",
|
|
264
|
+
"base10": "oklch(1 0 0)",
|
|
265
|
+
"base11": "oklch(1 0 0)",
|
|
266
|
+
"base12": "#ffb1af",
|
|
267
|
+
"base13": "#f7c843",
|
|
268
|
+
"base14": "#4ae168",
|
|
269
|
+
"base15": "#56d4dd",
|
|
270
|
+
"base16": "#91cbff",
|
|
271
|
+
"base17": "#dbb7ff"
|
|
272
|
+
}
|
|
273
|
+
},
|
|
146
274
|
"ayu": {
|
|
147
275
|
"system": "base24",
|
|
148
276
|
"name": "Ayu",
|
|
@@ -463,102 +591,6 @@ export const generatedSchemes: Readonly<Record<string, Base24Scheme>> = Object.f
|
|
|
463
591
|
"base17": "#df69ba"
|
|
464
592
|
}
|
|
465
593
|
},
|
|
466
|
-
"github-dark-high-contrast": {
|
|
467
|
-
"system": "base24",
|
|
468
|
-
"name": "GitHub Dark High Contrast",
|
|
469
|
-
"author": "iTerm2-Color-Schemes (via oklch-terminal-themes)",
|
|
470
|
-
"variant": "dark",
|
|
471
|
-
"palette": {
|
|
472
|
-
"base00": "#0a0c10",
|
|
473
|
-
"base01": "#727478",
|
|
474
|
-
"base02": "#f0f3f6",
|
|
475
|
-
"base03": "#9ea7b3",
|
|
476
|
-
"base04": "#c6ccd4",
|
|
477
|
-
"base05": "#f0f3f6",
|
|
478
|
-
"base06": "#f7f9fb",
|
|
479
|
-
"base07": "#ffffff",
|
|
480
|
-
"base08": "#ff9492",
|
|
481
|
-
"base09": "#ffa266",
|
|
482
|
-
"base0A": "#f0b72f",
|
|
483
|
-
"base0B": "#26cd4d",
|
|
484
|
-
"base0C": "#39c5cf",
|
|
485
|
-
"base0D": "#71b7ff",
|
|
486
|
-
"base0E": "#cb9eff",
|
|
487
|
-
"base0F": "#9a6b4e",
|
|
488
|
-
"base10": "#030406",
|
|
489
|
-
"base11": "#000101",
|
|
490
|
-
"base12": "#ffb1af",
|
|
491
|
-
"base13": "#f7c843",
|
|
492
|
-
"base14": "#4ae168",
|
|
493
|
-
"base15": "#56d4dd",
|
|
494
|
-
"base16": "#91cbff",
|
|
495
|
-
"base17": "#dbb7ff"
|
|
496
|
-
}
|
|
497
|
-
},
|
|
498
|
-
"github-light-default": {
|
|
499
|
-
"system": "base24",
|
|
500
|
-
"name": "GitHub Light Default",
|
|
501
|
-
"author": "iTerm2-Color-Schemes (via oklch-terminal-themes)",
|
|
502
|
-
"variant": "light",
|
|
503
|
-
"palette": {
|
|
504
|
-
"base00": "#ffffff",
|
|
505
|
-
"base01": "#86888c",
|
|
506
|
-
"base02": "#1f2328",
|
|
507
|
-
"base03": "#57606a",
|
|
508
|
-
"base04": "#3a4048",
|
|
509
|
-
"base05": "#1f2328",
|
|
510
|
-
"base06": "#525960",
|
|
511
|
-
"base07": "#8c959f",
|
|
512
|
-
"base08": "#cf222e",
|
|
513
|
-
"base09": "#873700",
|
|
514
|
-
"base0A": "#4d2d00",
|
|
515
|
-
"base0B": "#116329",
|
|
516
|
-
"base0C": "#1b7c83",
|
|
517
|
-
"base0D": "#0969da",
|
|
518
|
-
"base0E": "#8250df",
|
|
519
|
-
"base0F": "#ae7f68",
|
|
520
|
-
"base10": "#ffffff",
|
|
521
|
-
"base11": "#ffffff",
|
|
522
|
-
"base12": "#a40e26",
|
|
523
|
-
"base13": "#633c01",
|
|
524
|
-
"base14": "#1a7f37",
|
|
525
|
-
"base15": "#3192aa",
|
|
526
|
-
"base16": "#218bff",
|
|
527
|
-
"base17": "#a475f9"
|
|
528
|
-
}
|
|
529
|
-
},
|
|
530
|
-
"github-light-high-contrast": {
|
|
531
|
-
"system": "base24",
|
|
532
|
-
"name": "GitHub Light High Contrast",
|
|
533
|
-
"author": "iTerm2-Color-Schemes (via oklch-terminal-themes)",
|
|
534
|
-
"variant": "light",
|
|
535
|
-
"palette": {
|
|
536
|
-
"base00": "#ffffff",
|
|
537
|
-
"base01": "#7b7d80",
|
|
538
|
-
"base02": "#0e1116",
|
|
539
|
-
"base03": "#4b535d",
|
|
540
|
-
"base04": "#2a3038",
|
|
541
|
-
"base05": "#0e1116",
|
|
542
|
-
"base06": "#464d55",
|
|
543
|
-
"base07": "#88929d",
|
|
544
|
-
"base08": "#a0111f",
|
|
545
|
-
"base09": "#6a2700",
|
|
546
|
-
"base0A": "#3f2200",
|
|
547
|
-
"base0B": "#024c1a",
|
|
548
|
-
"base0C": "#1b7c83",
|
|
549
|
-
"base0D": "#0349b4",
|
|
550
|
-
"base0E": "#622cbc",
|
|
551
|
-
"base0F": "#9b7261",
|
|
552
|
-
"base10": "#ffffff",
|
|
553
|
-
"base11": "#ffffff",
|
|
554
|
-
"base12": "#86061d",
|
|
555
|
-
"base13": "#4e2c00",
|
|
556
|
-
"base14": "#055d20",
|
|
557
|
-
"base15": "#3192aa",
|
|
558
|
-
"base16": "#1168e3",
|
|
559
|
-
"base17": "#844ae7"
|
|
560
|
-
}
|
|
561
|
-
},
|
|
562
594
|
"gruvbox-dark": {
|
|
563
595
|
"system": "base24",
|
|
564
596
|
"name": "Gruvbox Dark",
|
|
@@ -0,0 +1,72 @@
|
|
|
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
|
+
|
|
9
|
+
import type { AdeaThemeRecord } from '../../schema.js'
|
|
10
|
+
|
|
11
|
+
const theme: AdeaThemeRecord = {
|
|
12
|
+
"id": "adea-dark-colorblind",
|
|
13
|
+
"name": "Adea Dark Colorblind",
|
|
14
|
+
"appearance": "dark",
|
|
15
|
+
"colors": {
|
|
16
|
+
"background": "oklch(0.1756 0.0063 300.91)",
|
|
17
|
+
"foreground": "oklch(0.942 0.0054 297.72)",
|
|
18
|
+
"surface": "oklch(0.2106 0.0076 300.91)",
|
|
19
|
+
"surfaceElevated": "oklch(0.2406 0.0088 300.91)",
|
|
20
|
+
"surfaceHover": "oklch(0.2756 0.0101 300.91)",
|
|
21
|
+
"surfaceActive": "oklch(0.3106 0.0101 300.91)",
|
|
22
|
+
"border": "oklch(0.3256 0.0057 300.91)",
|
|
23
|
+
"borderMuted": "oklch(0.2706 0.0038 300.91)",
|
|
24
|
+
"text": "oklch(0.942 0.0054 297.72)",
|
|
25
|
+
"textMuted": "oklch(0.6967 0.0057 298.74)",
|
|
26
|
+
"textSubtle": "oklch(0.5627 0.0094 301.22)",
|
|
27
|
+
"accent": "oklch(0.7323 0.1668 301.69)",
|
|
28
|
+
"accentForeground": "oklch(0.1756 0.0063 300.91)",
|
|
29
|
+
"success": "oklch(0.7153 0.1518 253.31)",
|
|
30
|
+
"warning": "oklch(0.7196 0.1401 79.91)",
|
|
31
|
+
"error": "oklch(0.7309 0.1542 61.14)",
|
|
32
|
+
"info": "oklch(0.7555 0.1155 202.14)"
|
|
33
|
+
},
|
|
34
|
+
"ansi": {
|
|
35
|
+
"black": "oklch(0.4243 0.0101 301.11)",
|
|
36
|
+
"red": "oklch(0.7309 0.1542 61.14)",
|
|
37
|
+
"green": "oklch(0.7153 0.1518 253.31)",
|
|
38
|
+
"yellow": "oklch(0.7196 0.1401 79.91)",
|
|
39
|
+
"blue": "oklch(0.7153 0.1518 253.31)",
|
|
40
|
+
"magenta": "oklch(0.7323 0.1668 301.69)",
|
|
41
|
+
"cyan": "oklch(0.7555 0.1155 202.14)",
|
|
42
|
+
"white": "oklch(0.786 0.0087 301.32)",
|
|
43
|
+
"brightBlack": "oklch(0.5627 0.0094 301.22)",
|
|
44
|
+
"brightRed": "oklch(0.8071 0.14 65.6)",
|
|
45
|
+
"brightGreen": "oklch(0.7857 0.1153 246.66)",
|
|
46
|
+
"brightYellow": "oklch(0.7904 0.1386 85.24)",
|
|
47
|
+
"brightBlue": "oklch(0.7857 0.1153 246.66)",
|
|
48
|
+
"brightMagenta": "oklch(0.8005 0.1275 305.86)",
|
|
49
|
+
"brightCyan": "oklch(0.8036 0.1107 201.78)",
|
|
50
|
+
"brightWhite": "oklch(1 0 0)"
|
|
51
|
+
},
|
|
52
|
+
"cursor": "oklch(0.7153 0.1518 253.31)",
|
|
53
|
+
"selection": "oklch(0.8569 0.0141 247.99)",
|
|
54
|
+
"family": "adea",
|
|
55
|
+
"familyLabel": "Adea",
|
|
56
|
+
"label": "Dark Colorblind",
|
|
57
|
+
"description": "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.",
|
|
58
|
+
"provenance": {
|
|
59
|
+
"project": "Adea",
|
|
60
|
+
"url": "https://github.com/adea-ai/themes",
|
|
61
|
+
"license": "Apache-2.0",
|
|
62
|
+
"bootstrappedFrom": [
|
|
63
|
+
"GitHub Dark Colorblind (iTerm2-Color-Schemes)"
|
|
64
|
+
]
|
|
65
|
+
},
|
|
66
|
+
"tags": [
|
|
67
|
+
"dark",
|
|
68
|
+
"default",
|
|
69
|
+
"colorblind"
|
|
70
|
+
]
|
|
71
|
+
}
|
|
72
|
+
export default theme
|