@tooee/themes 0.12.0 → 0.13.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/dist/color-mix.d.ts +10 -0
- package/dist/color-mix.d.ts.map +1 -0
- package/dist/color-mix.js +45 -0
- package/dist/color-mix.js.map +1 -0
- package/dist/context.d.ts +4 -0
- package/dist/context.d.ts.map +1 -1
- package/dist/context.js +8 -2
- package/dist/context.js.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/loader.d.ts +6 -0
- package/dist/loader.d.ts.map +1 -1
- package/dist/loader.js +23 -11
- package/dist/loader.js.map +1 -1
- package/dist/types.d.ts +12 -0
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +22 -0
- package/dist/types.js.map +1 -1
- package/package.json +2 -2
- package/src/color-mix.ts +66 -0
- package/src/context.tsx +19 -2
- package/src/index.ts +3 -0
- package/src/loader.ts +40 -11
- package/src/types.ts +54 -0
- package/themes/aura.json +5 -1
- package/themes/ayu.json +5 -1
- package/themes/catppuccin-frappe.json +5 -1
- package/themes/catppuccin-macchiato.json +5 -1
- package/themes/catppuccin.json +5 -1
- package/themes/cobalt2.json +11 -1
- package/themes/cursor.json +11 -1
- package/themes/dracula.json +11 -1
- package/themes/everforest.json +11 -1
- package/themes/flexoki.json +11 -1
- package/themes/github-light.json +5 -1
- package/themes/github.json +11 -1
- package/themes/gruvbox.json +5 -1
- package/themes/kanagawa.json +5 -1
- package/themes/lucent-orng.json +5 -1
- package/themes/material.json +11 -1
- package/themes/matrix.json +5 -1
- package/themes/mercury.json +11 -1
- package/themes/monokai.json +11 -1
- package/themes/nightowl.json +5 -1
- package/themes/nord.json +11 -1
- package/themes/one-dark.json +5 -1
- package/themes/opencode-light.json +5 -1
- package/themes/opencode.json +11 -1
- package/themes/orng.json +11 -1
- package/themes/osaka-jade.json +5 -1
- package/themes/palenight.json +11 -1
- package/themes/rosepine.json +11 -1
- package/themes/solarized.json +11 -1
- package/themes/synthwave84.json +11 -1
- package/themes/tokyonight.json +11 -1
- package/themes/vercel.json +11 -1
- package/themes/vesper.json +11 -1
- package/themes/zenburn.json +11 -1
package/src/types.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import type { ColorMode } from "@tooee/config";
|
|
2
2
|
|
|
3
|
+
import { mixColors } from "./color-mix.js";
|
|
4
|
+
|
|
3
5
|
// ---------------------------------------------------------------------------
|
|
4
6
|
// Theme JSON format (OpenCode-compatible)
|
|
5
7
|
// ---------------------------------------------------------------------------
|
|
@@ -8,6 +10,7 @@ interface Variant {
|
|
|
8
10
|
dark: string;
|
|
9
11
|
light: string;
|
|
10
12
|
}
|
|
13
|
+
|
|
11
14
|
type ColorValue = string | Variant;
|
|
12
15
|
|
|
13
16
|
export interface ThemeJSON {
|
|
@@ -68,6 +71,15 @@ export interface ResolvedTheme {
|
|
|
68
71
|
// Cursor/Selection
|
|
69
72
|
cursorLine: string;
|
|
70
73
|
selection: string;
|
|
74
|
+
// Search
|
|
75
|
+
/** Row background for every search match. */
|
|
76
|
+
searchMatchBg: string;
|
|
77
|
+
/** Row background for the current search match. */
|
|
78
|
+
searchCurrentMatchBg: string;
|
|
79
|
+
/** Gutter sign colour for every search match. */
|
|
80
|
+
searchMatchFg: string;
|
|
81
|
+
/** Gutter sign colour for the current search match. */
|
|
82
|
+
searchCurrentMatchFg: string;
|
|
71
83
|
// Syntax
|
|
72
84
|
syntaxComment: string;
|
|
73
85
|
syntaxKeyword: string;
|
|
@@ -119,6 +131,10 @@ export const FALLBACKS = {
|
|
|
119
131
|
markdownStrong: "#808080",
|
|
120
132
|
markdownText: "#d4d4d4",
|
|
121
133
|
primary: "#808080",
|
|
134
|
+
searchCurrentMatchBg: "#4a4a4a",
|
|
135
|
+
searchCurrentMatchFg: "#808080",
|
|
136
|
+
searchMatchBg: "#3a3a3a",
|
|
137
|
+
searchMatchFg: "#808080",
|
|
122
138
|
secondary: "#808080",
|
|
123
139
|
selection: "#1e1e1e",
|
|
124
140
|
success: "#808080",
|
|
@@ -145,6 +161,12 @@ export const RESOLVED_KEYS =
|
|
|
145
161
|
// Resolution
|
|
146
162
|
// ---------------------------------------------------------------------------
|
|
147
163
|
|
|
164
|
+
/** Share of `warning` blended over `background` for a derived `searchMatchBg`. */
|
|
165
|
+
const SEARCH_MATCH_TINT = 0.22;
|
|
166
|
+
|
|
167
|
+
/** Share of `primary` blended over `background` for a derived `searchCurrentMatchBg`. */
|
|
168
|
+
const SEARCH_CURRENT_MATCH_TINT = 0.35;
|
|
169
|
+
|
|
148
170
|
/** A mode-specific colour pair is an object; a single colour is a string. */
|
|
149
171
|
const isVariant = function isVariant(value: ColorValue): value is Variant {
|
|
150
172
|
return value instanceof Object;
|
|
@@ -157,38 +179,70 @@ export const resolveTheme = function resolveTheme(json: ThemeJSON, mode: ColorMo
|
|
|
157
179
|
if (isVariant(c)) {
|
|
158
180
|
return resolveColor(c[mode], seen);
|
|
159
181
|
}
|
|
182
|
+
|
|
160
183
|
if (c === "transparent" || c === "none") {
|
|
161
184
|
return "#00000000";
|
|
162
185
|
}
|
|
186
|
+
|
|
163
187
|
if (c.startsWith("#")) {
|
|
164
188
|
return c;
|
|
165
189
|
}
|
|
190
|
+
|
|
166
191
|
if (seen.has(c)) {
|
|
167
192
|
return "#808080";
|
|
168
193
|
}
|
|
194
|
+
|
|
169
195
|
if (defs[c] !== undefined && defs[c] !== null) {
|
|
170
196
|
return resolveColor(defs[c], new Set(seen).add(c));
|
|
171
197
|
}
|
|
198
|
+
|
|
172
199
|
if (json.theme[c] !== undefined) {
|
|
173
200
|
return resolveColor(json.theme[c], new Set(seen).add(c));
|
|
174
201
|
}
|
|
202
|
+
|
|
175
203
|
return "#808080";
|
|
176
204
|
};
|
|
177
205
|
|
|
178
206
|
// Start from the complete fallback theme, then resolve every key the JSON defines.
|
|
179
207
|
const result: ResolvedTheme = { ...FALLBACKS };
|
|
208
|
+
|
|
180
209
|
for (const key of RESOLVED_KEYS) {
|
|
181
210
|
const val = json.theme[key];
|
|
211
|
+
|
|
182
212
|
if (val !== undefined) {
|
|
183
213
|
result[key] = resolveColor(val);
|
|
184
214
|
}
|
|
185
215
|
}
|
|
216
|
+
|
|
186
217
|
// Dynamic fallbacks that reference other resolved keys
|
|
187
218
|
if (json.theme.cursorLine === undefined) {
|
|
188
219
|
result.cursorLine = result.backgroundElement;
|
|
189
220
|
}
|
|
221
|
+
|
|
190
222
|
if (json.theme.selection === undefined) {
|
|
191
223
|
result.selection = result.backgroundPanel;
|
|
192
224
|
}
|
|
225
|
+
|
|
226
|
+
// Search highlights tint the background, so matched text stays readable.
|
|
227
|
+
if (json.theme.searchMatchBg === undefined) {
|
|
228
|
+
result.searchMatchBg = mixColors(result.background, result.warning, SEARCH_MATCH_TINT);
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
if (json.theme.searchCurrentMatchBg === undefined) {
|
|
232
|
+
result.searchCurrentMatchBg = mixColors(
|
|
233
|
+
result.background,
|
|
234
|
+
result.primary,
|
|
235
|
+
SEARCH_CURRENT_MATCH_TINT
|
|
236
|
+
);
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
if (json.theme.searchMatchFg === undefined) {
|
|
240
|
+
result.searchMatchFg = result.warning;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
if (json.theme.searchCurrentMatchFg === undefined) {
|
|
244
|
+
result.searchCurrentMatchFg = result.primary;
|
|
245
|
+
}
|
|
246
|
+
|
|
193
247
|
return result;
|
|
194
248
|
};
|
package/themes/aura.json
CHANGED
|
@@ -64,6 +64,10 @@
|
|
|
64
64
|
"syntaxNumber": "green",
|
|
65
65
|
"syntaxType": "purple",
|
|
66
66
|
"syntaxOperator": "pink",
|
|
67
|
-
"syntaxPunctuation": "darkFg"
|
|
67
|
+
"syntaxPunctuation": "darkFg",
|
|
68
|
+
"searchMatchBg": "#443829",
|
|
69
|
+
"searchCurrentMatchBg": "#423363",
|
|
70
|
+
"searchMatchFg": "warning",
|
|
71
|
+
"searchCurrentMatchFg": "primary"
|
|
68
72
|
}
|
|
69
73
|
}
|
package/themes/ayu.json
CHANGED
|
@@ -75,6 +75,10 @@
|
|
|
75
75
|
"syntaxNumber": "darkConstant",
|
|
76
76
|
"syntaxType": "darkSpecial",
|
|
77
77
|
"syntaxOperator": "darkOperator",
|
|
78
|
-
"syntaxPunctuation": "darkFg"
|
|
78
|
+
"syntaxPunctuation": "darkFg",
|
|
79
|
+
"searchMatchBg": "#3b3329",
|
|
80
|
+
"searchCurrentMatchBg": "#264d66",
|
|
81
|
+
"searchMatchFg": "warning",
|
|
82
|
+
"searchCurrentMatchFg": "primary"
|
|
79
83
|
}
|
|
80
84
|
}
|
package/themes/catppuccin.json
CHANGED
|
@@ -107,6 +107,10 @@
|
|
|
107
107
|
"syntaxNumber": { "dark": "darkPeach", "light": "lightPeach" },
|
|
108
108
|
"syntaxType": { "dark": "darkYellow", "light": "lightYellow" },
|
|
109
109
|
"syntaxOperator": { "dark": "darkSky", "light": "lightSky" },
|
|
110
|
-
"syntaxPunctuation": { "dark": "darkText", "light": "lightText" }
|
|
110
|
+
"syntaxPunctuation": { "dark": "darkText", "light": "lightText" },
|
|
111
|
+
"searchMatchBg": { "dark": "#4e494a", "light": "#ebdbc5" },
|
|
112
|
+
"searchCurrentMatchBg": { "dark": "#435375", "light": "#a6c0f5" },
|
|
113
|
+
"searchMatchFg": "warning",
|
|
114
|
+
"searchCurrentMatchFg": "primary"
|
|
111
115
|
}
|
|
112
116
|
}
|
package/themes/cobalt2.json
CHANGED
|
@@ -223,6 +223,16 @@
|
|
|
223
223
|
"syntaxPunctuation": {
|
|
224
224
|
"dark": "foreground",
|
|
225
225
|
"light": "#193549"
|
|
226
|
-
}
|
|
226
|
+
},
|
|
227
|
+
"searchMatchBg": {
|
|
228
|
+
"dark": "#4c5539",
|
|
229
|
+
"light": "#ffe8c7"
|
|
230
|
+
},
|
|
231
|
+
"searchCurrentMatchBg": {
|
|
232
|
+
"dark": "#105289",
|
|
233
|
+
"light": "#a6c9ed"
|
|
234
|
+
},
|
|
235
|
+
"searchMatchFg": "warning",
|
|
236
|
+
"searchCurrentMatchFg": "primary"
|
|
227
237
|
}
|
|
228
238
|
}
|
package/themes/cursor.json
CHANGED
|
@@ -244,6 +244,16 @@
|
|
|
244
244
|
"syntaxPunctuation": {
|
|
245
245
|
"dark": "darkFg",
|
|
246
246
|
"light": "lightFg"
|
|
247
|
-
}
|
|
247
|
+
},
|
|
248
|
+
"searchMatchBg": {
|
|
249
|
+
"dark": "#483a29",
|
|
250
|
+
"light": "#f5ddd5"
|
|
251
|
+
},
|
|
252
|
+
"searchCurrentMatchBg": {
|
|
253
|
+
"dark": "#3f5358",
|
|
254
|
+
"light": "#cbdade"
|
|
255
|
+
},
|
|
256
|
+
"searchMatchFg": "warning",
|
|
257
|
+
"searchCurrentMatchFg": "primary"
|
|
248
258
|
}
|
|
249
259
|
}
|
package/themes/dracula.json
CHANGED
|
@@ -214,6 +214,16 @@
|
|
|
214
214
|
"syntaxPunctuation": {
|
|
215
215
|
"dark": "foreground",
|
|
216
216
|
"light": "#282a36"
|
|
217
|
-
}
|
|
217
|
+
},
|
|
218
|
+
"searchMatchBg": {
|
|
219
|
+
"dark": "#545849",
|
|
220
|
+
"light": "#f6f8dc"
|
|
221
|
+
},
|
|
222
|
+
"searchCurrentMatchBg": {
|
|
223
|
+
"dark": "#5c4f7a",
|
|
224
|
+
"light": "#e3d5f4"
|
|
225
|
+
},
|
|
226
|
+
"searchMatchFg": "warning",
|
|
227
|
+
"searchCurrentMatchFg": "primary"
|
|
218
228
|
}
|
|
219
229
|
}
|
package/themes/everforest.json
CHANGED
|
@@ -236,6 +236,16 @@
|
|
|
236
236
|
"syntaxPunctuation": {
|
|
237
237
|
"dark": "darkStep12",
|
|
238
238
|
"light": "lightStep12"
|
|
239
|
-
}
|
|
239
|
+
},
|
|
240
|
+
"searchMatchBg": {
|
|
241
|
+
"dark": "#564b48",
|
|
242
|
+
"light": "#fbdbb9"
|
|
243
|
+
},
|
|
244
|
+
"searchCurrentMatchBg": {
|
|
245
|
+
"dark": "#586653",
|
|
246
|
+
"light": "#d6d894"
|
|
247
|
+
},
|
|
248
|
+
"searchMatchFg": "warning",
|
|
249
|
+
"searchCurrentMatchFg": "primary"
|
|
240
250
|
}
|
|
241
251
|
}
|
package/themes/flexoki.json
CHANGED
|
@@ -232,6 +232,16 @@
|
|
|
232
232
|
"syntaxPunctuation": {
|
|
233
233
|
"dark": "base300",
|
|
234
234
|
"light": "base600"
|
|
235
|
-
}
|
|
235
|
+
},
|
|
236
|
+
"searchMatchBg": {
|
|
237
|
+
"dark": "#3c2415",
|
|
238
|
+
"light": "#f0d7c0"
|
|
239
|
+
},
|
|
240
|
+
"searchCurrentMatchBg": {
|
|
241
|
+
"dark": "#573119",
|
|
242
|
+
"light": "#b1c5d6"
|
|
243
|
+
},
|
|
244
|
+
"searchMatchFg": "warning",
|
|
245
|
+
"searchCurrentMatchFg": "primary"
|
|
236
246
|
}
|
|
237
247
|
}
|
package/themes/github-light.json
CHANGED
|
@@ -51,6 +51,10 @@
|
|
|
51
51
|
"syntaxNumber": "cyan",
|
|
52
52
|
"syntaxType": "orange",
|
|
53
53
|
"syntaxOperator": "red",
|
|
54
|
-
"syntaxPunctuation": "fg"
|
|
54
|
+
"syntaxPunctuation": "fg",
|
|
55
|
+
"searchMatchBg": "#e9dec7",
|
|
56
|
+
"searchCurrentMatchBg": "#a9cbf2",
|
|
57
|
+
"searchMatchFg": "warning",
|
|
58
|
+
"searchCurrentMatchFg": "primary"
|
|
55
59
|
}
|
|
56
60
|
}
|
package/themes/github.json
CHANGED
|
@@ -228,6 +228,16 @@
|
|
|
228
228
|
"syntaxPunctuation": {
|
|
229
229
|
"dark": "darkFg",
|
|
230
230
|
"light": "lightFg"
|
|
231
|
-
}
|
|
231
|
+
},
|
|
232
|
+
"searchMatchBg": {
|
|
233
|
+
"dark": "#3c3520",
|
|
234
|
+
"light": "#e9dec7"
|
|
235
|
+
},
|
|
236
|
+
"searchCurrentMatchBg": {
|
|
237
|
+
"dark": "#274568",
|
|
238
|
+
"light": "#a9cbf2"
|
|
239
|
+
},
|
|
240
|
+
"searchMatchFg": "warning",
|
|
241
|
+
"searchCurrentMatchFg": "primary"
|
|
232
242
|
}
|
|
233
243
|
}
|
package/themes/gruvbox.json
CHANGED
|
@@ -90,6 +90,10 @@
|
|
|
90
90
|
"syntaxNumber": { "dark": "darkPurpleBright", "light": "lightPurple" },
|
|
91
91
|
"syntaxType": { "dark": "darkAquaBright", "light": "lightAqua" },
|
|
92
92
|
"syntaxOperator": { "dark": "darkOrangeBright", "light": "lightOrange" },
|
|
93
|
-
"syntaxPunctuation": { "dark": "darkFg1", "light": "lightFg1" }
|
|
93
|
+
"syntaxPunctuation": { "dark": "darkFg1", "light": "lightFg1" },
|
|
94
|
+
"searchMatchBg": { "dark": "#573b25", "light": "#eac99c" },
|
|
95
|
+
"searchCurrentMatchBg": { "dark": "#48544f", "light": "#a6c0ab" },
|
|
96
|
+
"searchMatchFg": "warning",
|
|
97
|
+
"searchCurrentMatchFg": "primary"
|
|
94
98
|
}
|
|
95
99
|
}
|
package/themes/kanagawa.json
CHANGED
|
@@ -72,6 +72,10 @@
|
|
|
72
72
|
"syntaxNumber": { "dark": "roninYellow", "light": "roninYellow" },
|
|
73
73
|
"syntaxType": { "dark": "carpYellow", "light": "carpYellow" },
|
|
74
74
|
"syntaxOperator": { "dark": "sakuraPink", "light": "sakuraPink" },
|
|
75
|
-
"syntaxPunctuation": { "dark": "fujiWhite", "light": "lightText" }
|
|
75
|
+
"syntaxPunctuation": { "dark": "fujiWhite", "light": "lightText" },
|
|
76
|
+
"searchMatchBg": { "dark": "#473d32", "light": "#ecdac0" },
|
|
77
|
+
"searchCurrentMatchBg": { "dark": "#404b66", "light": "#adb3b4" },
|
|
78
|
+
"searchMatchFg": "warning",
|
|
79
|
+
"searchCurrentMatchFg": "primary"
|
|
76
80
|
}
|
|
77
81
|
}
|
package/themes/lucent-orng.json
CHANGED
|
@@ -222,6 +222,10 @@
|
|
|
222
222
|
"syntaxPunctuation": {
|
|
223
223
|
"dark": "darkStep12",
|
|
224
224
|
"light": "lightStep12"
|
|
225
|
-
}
|
|
225
|
+
},
|
|
226
|
+
"searchMatchBg": "#ec5b2b38",
|
|
227
|
+
"searchCurrentMatchBg": "#ec5b2b59",
|
|
228
|
+
"searchMatchFg": "warning",
|
|
229
|
+
"searchCurrentMatchFg": "primary"
|
|
226
230
|
}
|
|
227
231
|
}
|
package/themes/material.json
CHANGED
|
@@ -230,6 +230,16 @@
|
|
|
230
230
|
"syntaxPunctuation": {
|
|
231
231
|
"dark": "darkFg",
|
|
232
232
|
"light": "lightFg"
|
|
233
|
-
}
|
|
233
|
+
},
|
|
234
|
+
"searchMatchBg": {
|
|
235
|
+
"dark": "#565443",
|
|
236
|
+
"light": "#fbeac3"
|
|
237
|
+
},
|
|
238
|
+
"searchCurrentMatchBg": {
|
|
239
|
+
"dark": "#465c7e",
|
|
240
|
+
"light": "#c4d0e3"
|
|
241
|
+
},
|
|
242
|
+
"searchMatchFg": "warning",
|
|
243
|
+
"searchCurrentMatchFg": "primary"
|
|
234
244
|
}
|
|
235
245
|
}
|
package/themes/matrix.json
CHANGED
|
@@ -72,6 +72,10 @@
|
|
|
72
72
|
"syntaxNumber": { "dark": "rainOrange", "light": "rainOrange" },
|
|
73
73
|
"syntaxType": { "dark": "alertYellow", "light": "alertYellow" },
|
|
74
74
|
"syntaxOperator": { "dark": "rainTeal", "light": "rainTeal" },
|
|
75
|
-
"syntaxPunctuation": { "dark": "rainGreenHi", "light": "lightText" }
|
|
75
|
+
"syntaxPunctuation": { "dark": "rainGreenHi", "light": "lightText" },
|
|
76
|
+
"searchMatchBg": { "dark": "#3a431b", "light": "#ecf6ca" },
|
|
77
|
+
"searchCurrentMatchBg": { "dark": "#17622c", "light": "#a5e2b2" },
|
|
78
|
+
"searchMatchFg": "warning",
|
|
79
|
+
"searchCurrentMatchFg": "primary"
|
|
76
80
|
}
|
|
77
81
|
}
|
package/themes/mercury.json
CHANGED
|
@@ -247,6 +247,16 @@
|
|
|
247
247
|
"syntaxPunctuation": {
|
|
248
248
|
"light": "neutral-700",
|
|
249
249
|
"dark": "neutral-200"
|
|
250
|
-
}
|
|
250
|
+
},
|
|
251
|
+
"searchMatchBg": {
|
|
252
|
+
"dark": "#493432",
|
|
253
|
+
"light": "#ebd5c7"
|
|
254
|
+
},
|
|
255
|
+
"searchCurrentMatchBg": {
|
|
256
|
+
"dark": "#40486b",
|
|
257
|
+
"light": "#c2c9f8"
|
|
258
|
+
},
|
|
259
|
+
"searchMatchFg": "warning",
|
|
260
|
+
"searchCurrentMatchFg": "primary"
|
|
251
261
|
}
|
|
252
262
|
}
|
package/themes/monokai.json
CHANGED
|
@@ -216,6 +216,16 @@
|
|
|
216
216
|
"syntaxPunctuation": {
|
|
217
217
|
"dark": "foreground",
|
|
218
218
|
"light": "#272822"
|
|
219
|
-
}
|
|
219
|
+
},
|
|
220
|
+
"searchMatchBg": {
|
|
221
|
+
"dark": "#514f34",
|
|
222
|
+
"light": "#fbe4ca"
|
|
223
|
+
},
|
|
224
|
+
"searchCurrentMatchBg": {
|
|
225
|
+
"dark": "#3d666a",
|
|
226
|
+
"light": "#c6eef6"
|
|
227
|
+
},
|
|
228
|
+
"searchMatchFg": "warning",
|
|
229
|
+
"searchCurrentMatchFg": "primary"
|
|
220
230
|
}
|
|
221
231
|
}
|
package/themes/nightowl.json
CHANGED
package/themes/nord.json
CHANGED
|
@@ -218,6 +218,16 @@
|
|
|
218
218
|
"syntaxPunctuation": {
|
|
219
219
|
"dark": "nord4",
|
|
220
220
|
"light": "nord0"
|
|
221
|
-
}
|
|
221
|
+
},
|
|
222
|
+
"searchMatchBg": {
|
|
223
|
+
"dark": "#52464b",
|
|
224
|
+
"light": "#e6d8d7"
|
|
225
|
+
},
|
|
226
|
+
"searchCurrentMatchBg": {
|
|
227
|
+
"dark": "#4e6572",
|
|
228
|
+
"light": "#bac9db"
|
|
229
|
+
},
|
|
230
|
+
"searchMatchFg": "warning",
|
|
231
|
+
"searchCurrentMatchFg": "primary"
|
|
222
232
|
}
|
|
223
233
|
}
|
package/themes/one-dark.json
CHANGED
|
@@ -79,6 +79,10 @@
|
|
|
79
79
|
"syntaxNumber": { "dark": "darkOrange", "light": "lightOrange" },
|
|
80
80
|
"syntaxType": { "dark": "darkYellow", "light": "lightYellow" },
|
|
81
81
|
"syntaxOperator": { "dark": "darkCyan", "light": "lightCyan" },
|
|
82
|
-
"syntaxPunctuation": { "dark": "darkFg", "light": "lightFg" }
|
|
82
|
+
"syntaxPunctuation": { "dark": "darkFg", "light": "lightFg" },
|
|
83
|
+
"searchMatchBg": { "dark": "#524d44", "light": "#ede0c3" },
|
|
84
|
+
"searchCurrentMatchBg": { "dark": "#3c5a75", "light": "#b9cdf7" },
|
|
85
|
+
"searchMatchFg": "warning",
|
|
86
|
+
"searchCurrentMatchFg": "primary"
|
|
83
87
|
}
|
|
84
88
|
}
|
|
@@ -57,6 +57,10 @@
|
|
|
57
57
|
"syntaxNumber": "orange",
|
|
58
58
|
"syntaxType": "yellow",
|
|
59
59
|
"syntaxOperator": "cyan",
|
|
60
|
-
"syntaxPunctuation": "step12"
|
|
60
|
+
"syntaxPunctuation": "step12",
|
|
61
|
+
"searchMatchBg": "#f6e6cf",
|
|
62
|
+
"searchCurrentMatchBg": "#bad2f1",
|
|
63
|
+
"searchMatchFg": "warning",
|
|
64
|
+
"searchCurrentMatchFg": "primary"
|
|
61
65
|
}
|
|
62
66
|
}
|
package/themes/opencode.json
CHANGED
|
@@ -240,6 +240,16 @@
|
|
|
240
240
|
"syntaxPunctuation": {
|
|
241
241
|
"dark": "darkStep12",
|
|
242
242
|
"light": "lightStep12"
|
|
243
|
-
}
|
|
243
|
+
},
|
|
244
|
+
"searchMatchBg": {
|
|
245
|
+
"dark": "#3e2d16",
|
|
246
|
+
"light": "#f6e6cf"
|
|
247
|
+
},
|
|
248
|
+
"searchCurrentMatchBg": {
|
|
249
|
+
"dark": "#5e4534",
|
|
250
|
+
"light": "#bad2f1"
|
|
251
|
+
},
|
|
252
|
+
"searchMatchFg": "warning",
|
|
253
|
+
"searchCurrentMatchFg": "primary"
|
|
244
254
|
}
|
|
245
255
|
}
|
package/themes/orng.json
CHANGED
|
@@ -240,6 +240,16 @@
|
|
|
240
240
|
"syntaxPunctuation": {
|
|
241
241
|
"dark": "darkStep12",
|
|
242
242
|
"light": "lightStep12"
|
|
243
|
-
}
|
|
243
|
+
},
|
|
244
|
+
"searchMatchBg": {
|
|
245
|
+
"dark": "#3c1c11",
|
|
246
|
+
"light": "#fbdbd0"
|
|
247
|
+
},
|
|
248
|
+
"searchCurrentMatchBg": {
|
|
249
|
+
"dark": "#592616",
|
|
250
|
+
"light": "#f8c6b5"
|
|
251
|
+
},
|
|
252
|
+
"searchMatchFg": "warning",
|
|
253
|
+
"searchCurrentMatchFg": "primary"
|
|
244
254
|
}
|
|
245
255
|
}
|
package/themes/osaka-jade.json
CHANGED
|
@@ -88,6 +88,10 @@
|
|
|
88
88
|
"syntaxNumber": { "dark": "darkMagenta", "light": "lightMagenta" },
|
|
89
89
|
"syntaxType": { "dark": "darkGreen", "light": "lightGreen" },
|
|
90
90
|
"syntaxOperator": { "dark": "darkYellow", "light": "lightYellow" },
|
|
91
|
-
"syntaxPunctuation": { "dark": "darkFg0", "light": "lightFg0" }
|
|
91
|
+
"syntaxPunctuation": { "dark": "darkFg0", "light": "lightFg0" },
|
|
92
|
+
"searchMatchBg": { "dark": "#40421f", "light": "#e8e2b3" },
|
|
93
|
+
"searchCurrentMatchBg": { "dark": "#1b5d50", "light": "#abdbc2" },
|
|
94
|
+
"searchMatchFg": "warning",
|
|
95
|
+
"searchCurrentMatchFg": "primary"
|
|
92
96
|
}
|
|
93
97
|
}
|
package/themes/palenight.json
CHANGED
|
@@ -217,6 +217,16 @@
|
|
|
217
217
|
"syntaxPunctuation": {
|
|
218
218
|
"dark": "foreground",
|
|
219
219
|
"light": "#292d3e"
|
|
220
|
-
}
|
|
220
|
+
},
|
|
221
|
+
"searchMatchBg": {
|
|
222
|
+
"dark": "#585048",
|
|
223
|
+
"light": "#fbeac3"
|
|
224
|
+
},
|
|
225
|
+
"searchCurrentMatchBg": {
|
|
226
|
+
"dark": "#485982",
|
|
227
|
+
"light": "#bcccf5"
|
|
228
|
+
},
|
|
229
|
+
"searchMatchFg": "warning",
|
|
230
|
+
"searchCurrentMatchFg": "primary"
|
|
221
231
|
}
|
|
222
232
|
}
|
package/themes/rosepine.json
CHANGED
|
@@ -229,6 +229,16 @@
|
|
|
229
229
|
"syntaxPunctuation": {
|
|
230
230
|
"dark": "subtle",
|
|
231
231
|
"light": "dawnSubtle"
|
|
232
|
-
}
|
|
232
|
+
},
|
|
233
|
+
"searchMatchBg": {
|
|
234
|
+
"dark": "#4a3c36",
|
|
235
|
+
"light": "#f6e1c4"
|
|
236
|
+
},
|
|
237
|
+
"searchCurrentMatchBg": {
|
|
238
|
+
"dark": "#475763",
|
|
239
|
+
"light": "#b4c7cc"
|
|
240
|
+
},
|
|
241
|
+
"searchMatchFg": "warning",
|
|
242
|
+
"searchCurrentMatchFg": "primary"
|
|
233
243
|
}
|
|
234
244
|
}
|
package/themes/solarized.json
CHANGED
|
@@ -218,6 +218,16 @@
|
|
|
218
218
|
"syntaxPunctuation": {
|
|
219
219
|
"dark": "base0",
|
|
220
220
|
"light": "base00"
|
|
221
|
-
}
|
|
221
|
+
},
|
|
222
|
+
"searchMatchBg": {
|
|
223
|
+
"dark": "#28402a",
|
|
224
|
+
"light": "#eddeb1"
|
|
225
|
+
},
|
|
226
|
+
"searchCurrentMatchBg": {
|
|
227
|
+
"dark": "#0d4d6d",
|
|
228
|
+
"light": "#b2d1dd"
|
|
229
|
+
},
|
|
230
|
+
"searchMatchFg": "warning",
|
|
231
|
+
"searchCurrentMatchFg": "primary"
|
|
222
232
|
}
|
|
223
233
|
}
|
package/themes/synthwave84.json
CHANGED
|
@@ -221,6 +221,16 @@
|
|
|
221
221
|
"syntaxPunctuation": {
|
|
222
222
|
"dark": "foreground",
|
|
223
223
|
"light": "#262335"
|
|
224
|
-
}
|
|
224
|
+
},
|
|
225
|
+
"searchMatchBg": {
|
|
226
|
+
"dark": "#564c3e",
|
|
227
|
+
"light": "#fbe4c3"
|
|
228
|
+
},
|
|
229
|
+
"searchCurrentMatchBg": {
|
|
230
|
+
"dark": "#2c6e79",
|
|
231
|
+
"light": "#a3e4ed"
|
|
232
|
+
},
|
|
233
|
+
"searchMatchFg": "warning",
|
|
234
|
+
"searchCurrentMatchFg": "primary"
|
|
225
235
|
}
|
|
226
236
|
}
|
package/themes/tokyonight.json
CHANGED
|
@@ -238,6 +238,16 @@
|
|
|
238
238
|
"syntaxPunctuation": {
|
|
239
239
|
"dark": "darkStep12",
|
|
240
240
|
"light": "lightStep12"
|
|
241
|
-
}
|
|
241
|
+
},
|
|
242
|
+
"searchMatchBg": {
|
|
243
|
+
"dark": "#4c3635",
|
|
244
|
+
"light": "#d6c5b4"
|
|
245
|
+
},
|
|
246
|
+
"searchCurrentMatchBg": {
|
|
247
|
+
"dark": "#3e4d72",
|
|
248
|
+
"light": "#a2bfe8"
|
|
249
|
+
},
|
|
250
|
+
"searchMatchFg": "warning",
|
|
251
|
+
"searchCurrentMatchFg": "primary"
|
|
242
252
|
}
|
|
243
253
|
}
|
package/themes/vercel.json
CHANGED
|
@@ -240,6 +240,16 @@
|
|
|
240
240
|
"syntaxPunctuation": {
|
|
241
241
|
"dark": "gray1000",
|
|
242
242
|
"light": "lightGray1000"
|
|
243
|
-
}
|
|
243
|
+
},
|
|
244
|
+
"searchMatchBg": {
|
|
245
|
+
"dark": "#382708",
|
|
246
|
+
"light": "#ffe8c7"
|
|
247
|
+
},
|
|
248
|
+
"searchCurrentMatchBg": {
|
|
249
|
+
"dark": "#002755",
|
|
250
|
+
"light": "#a6cdfb"
|
|
251
|
+
},
|
|
252
|
+
"searchMatchFg": "warning",
|
|
253
|
+
"searchCurrentMatchFg": "primary"
|
|
244
254
|
}
|
|
245
255
|
}
|