Skip to content

Commit e287855

Browse files
committed
chore: add missing Zed syntax highlighting nodes
Add missing Zed syntax highlighting nodes for constant, emphasis, emphasis.strong, enum, hint, label, predictive, primary, tag.doctype, title, and variant. Additionally, make the Zed theme consistent with the VS Code theme. Signed-off-by: Donnie Adams <donnie@thedadams.com>
1 parent 75c24eb commit e287855

File tree

1 file changed

+137
-27
lines changed

1 file changed

+137
-27
lines changed

zed/themes/flexoki.json

Lines changed: 137 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://zed.dev/schema/themes/v0.1.0.json",
2+
"$schema": "https://zed.dev/schema/themes/v0.2.0.json",
33
"name": "Flexoki",
44
"author": "Steph Ango <stephango.com>",
55
"themes": [
@@ -21,7 +21,7 @@
2121
"element.active": "#343331",
2222
"element.selected": "#343331",
2323
"element.disabled": "#1C1B1A",
24-
"drop_target.background": "#C403E3C",
24+
"drop_target.background": "#403E3C",
2525
"ghost_element.background": "#00000000",
2626
"ghost_element.hover": "#1C1B1A",
2727
"ghost_element.active": "#282726",
@@ -35,7 +35,7 @@
3535
"icon": "#CECDC3",
3636
"icon.muted": "#878580",
3737
"icon.disabled": "#575653",
38-
"icon.placholder": "#878580",
38+
"icon.placeholder": "#878580",
3939
"icon.accent": "#4385BE",
4040
"status_bar.background": "#1C1B1A",
4141
"title_bar.background": "#1C1B1A",
@@ -72,15 +72,9 @@
7272
"terminal.foreground": "#CECDC3",
7373
"terminal.bright_foreground": "#CECDC3",
7474
"terminal.dim_foreground": "#CECDC380",
75-
// The `terminal.ansi.bright_black` color controls the foreground color
76-
// of the terminal's auto-completion suggestions, so instead of being set
77-
// to the `tx` color, it is set to `tx-2`.
7875
"terminal.ansi.black": "#100F0F",
7976
"terminal.ansi.bright_black": "#878580",
8077
"terminal.ansi.dim_black": "#100F0F",
81-
// For the normal color values, the 400 value is used, just like
82-
// suggested in the theme's Mappings, but for the bright color the 200
83-
// value is used, while the dim one uses the 600 value.
8478
"terminal.ansi.red": "#D14D41",
8579
"terminal.ansi.bright_red": "#F89A8A",
8680
"terminal.ansi.dim_red": "#AF3029",
@@ -103,11 +97,6 @@
10397
"terminal.ansi.bright_white": "#FFFCF0",
10498
"terminal.ansi.dim_white": "#878580",
10599
"link_text.hover": "#4385BE",
106-
// For each of the colors in this section, we'll use the color from the
107-
// Mappings for both the regular class as well as the border class, but
108-
// for the background one the 950 variant will be used.
109-
// For example, for red-400 is used for both `error` and `error.border`,
110-
// but `error.background` uses red-950.
111100
"conflict": "#D0A215",
112101
"conflict.background": "#241E08",
113102
"conflict.border": "#D0A215",
@@ -164,7 +153,7 @@
164153
"font_weight": null
165154
},
166155
"boolean": {
167-
"color": "#DA702C",
156+
"color": "#D0A215",
168157
"background_color": null,
169158
"font_style": null,
170159
"font_weight": null
@@ -181,24 +170,60 @@
181170
"font_style": null,
182171
"font_weight": null
183172
},
173+
"constant": {
174+
"color": "#DA702C",
175+
"background_color": null,
176+
"font_style": null,
177+
"font_weight": null
178+
},
184179
"constructor": {
185180
"color": "#4385BE",
186181
"background_color": null,
187182
"font_style": null,
188183
"font_weight": null
189184
},
185+
"emphasis": {
186+
"color": "#3AA99F",
187+
"background_color": null,
188+
"font_style": "italic",
189+
"font_weight": null
190+
},
191+
"emphasis.strong": {
192+
"color": "#3AA99F",
193+
"background_color": null,
194+
"font_style": null,
195+
"font_weight": 700
196+
},
197+
"enum": {
198+
"color": "#D0A215",
199+
"background_color": null,
200+
"font_style": null,
201+
"font_weight": null
202+
},
190203
"function": {
191204
"color": "#DA702C",
192205
"background_color": null,
193206
"font_style": null,
194207
"font_weight": null
195208
},
209+
"hint": {
210+
"color": "#575653",
211+
"background_color": null,
212+
"font_style": null,
213+
"font_weight": null
214+
},
196215
"keyword": {
197216
"color": "#879A39",
198217
"background_color": null,
199218
"font_style": null,
200219
"font_weight": null
201220
},
221+
"label": {
222+
"color": "#4385BE",
223+
"background_color": null,
224+
"font_style": null,
225+
"font_weight": null
226+
},
202227
"link_text": {
203228
"color": "#3AA99F",
204229
"background_color": null,
@@ -223,12 +248,24 @@
223248
"font_style": null,
224249
"font_weight": null
225250
},
251+
"predictive": {
252+
"color": "#878580",
253+
"background_color": null,
254+
"font_style": null,
255+
"font_weight": null
256+
},
226257
"preproc": {
227258
"color": "#CE5D97",
228259
"background_color": null,
229260
"font_style": null,
230261
"font_weight": null
231262
},
263+
"primary": {
264+
"color": "#3AA99F",
265+
"background_color": null,
266+
"font_style": null,
267+
"font_weight": null
268+
},
232269
"property": {
233270
"color": "#DA702C",
234271
"background_color": null,
@@ -301,12 +338,24 @@
301338
"font_style": null,
302339
"font_weight": null
303340
},
341+
"tag.doctype": {
342+
"color": "#4385BE",
343+
"background_color": null,
344+
"font_style": null,
345+
"font_weight": null
346+
},
304347
"text.literal": {
305348
"color": "#3AA99F",
306349
"background_color": null,
307350
"font_style": null,
308351
"font_weight": null
309352
},
353+
"title": {
354+
"color": "#D0A215",
355+
"background_color": null,
356+
"font_style": null,
357+
"font_weight": null
358+
},
310359
"type": {
311360
"color": "#D0A215",
312361
"background_color": null,
@@ -324,6 +373,12 @@
324373
"background_color": null,
325374
"font_style": null,
326375
"font_weight": null
376+
},
377+
"variant": {
378+
"color": "#3AA99F",
379+
"background_color": null,
380+
"font_style": null,
381+
"font_weight": null
327382
}
328383
}
329384
}
@@ -397,15 +452,9 @@
397452
"terminal.foreground": "#100F0F",
398453
"terminal.bright_foreground": "#100F0F",
399454
"terminal.dim_foreground": "#100F0F80",
400-
// The `terminal.ansi.bright_black` color controls the foreground color
401-
// of the terminal's auto-completion suggestions, so instead of being set
402-
// to the `tx` color, it is set to `tx-2`.
403455
"terminal.ansi.black": "#100F0F",
404456
"terminal.ansi.bright_black": "#6F6E69",
405457
"terminal.ansi.dim_black": "#100F0F",
406-
// For the normal color values, the 600 value is used, just like
407-
// suggested in the theme's Mappings, but for the bright color the 400
408-
// value is used, while the dim one uses the 800 value.
409458
"terminal.ansi.red": "#AF3029",
410459
"terminal.ansi.bright_red": "#D14D41",
411460
"terminal.ansi.dim_red": "#6C201C",
@@ -428,11 +477,6 @@
428477
"terminal.ansi.bright_white": "#B7B5AC",
429478
"terminal.ansi.dim_white": "#F2F0E5",
430479
"link_text.hover": "#205EA6",
431-
// For each of the colors in this section, we'll use the color from the
432-
// Mappings for both the regular class as well as the border class, but
433-
// for the background one the 50 variant will be used.
434-
// For example, for red-600 is used for both `error` and `error.border`,
435-
// but `error.background` uses red-50.
436480
"conflict": "#AD8301",
437481
"conflict.background": "#FAEEC6",
438482
"conflict.border": "#AD8301",
@@ -489,7 +533,7 @@
489533
"font_weight": null
490534
},
491535
"boolean": {
492-
"color": "#BC5215",
536+
"color": "#AD8301",
493537
"background_color": null,
494538
"font_style": null,
495539
"font_weight": null
@@ -506,24 +550,60 @@
506550
"font_style": null,
507551
"font_weight": null
508552
},
553+
"constant": {
554+
"color": "#BC5215",
555+
"background_color": null,
556+
"font_style": null,
557+
"font_weight": null
558+
},
509559
"constructor": {
510560
"color": "#205EA6",
511561
"background_color": null,
512562
"font_style": null,
513563
"font_weight": null
514564
},
565+
"emphasis": {
566+
"color": "#24837B",
567+
"background_color": null,
568+
"font_style": "italic",
569+
"font_weight": null
570+
},
571+
"emphasis.strong": {
572+
"color": "#24837B",
573+
"background_color": null,
574+
"font_style": null,
575+
"font_weight": 700
576+
},
577+
"enum": {
578+
"color": "#AD8301",
579+
"background_color": null,
580+
"font_style": null,
581+
"font_weight": null
582+
},
515583
"function": {
516584
"color": "#BC5215",
517585
"background_color": null,
518586
"font_style": null,
519587
"font_weight": null
520588
},
589+
"hint": {
590+
"color": "#B7B5AC",
591+
"background_color": null,
592+
"font_style": null,
593+
"font_weight": null
594+
},
521595
"keyword": {
522596
"color": "#66800B",
523597
"background_color": null,
524598
"font_style": null,
525599
"font_weight": null
526600
},
601+
"label": {
602+
"color": "#205EA6",
603+
"background_color": null,
604+
"font_style": null,
605+
"font_weight": null
606+
},
527607
"link_text": {
528608
"color": "#24837B",
529609
"background_color": null,
@@ -548,12 +628,24 @@
548628
"font_style": null,
549629
"font_weight": null
550630
},
631+
"predictive": {
632+
"color": "#B7B5AC",
633+
"background_color": null,
634+
"font_style": null,
635+
"font_weight": null
636+
},
551637
"preproc": {
552638
"color": "#A02F6F",
553639
"background_color": null,
554640
"font_style": null,
555641
"font_weight": null
556642
},
643+
"primary": {
644+
"color": "#24837B",
645+
"background_color": null,
646+
"font_style": null,
647+
"font_weight": null
648+
},
557649
"property": {
558650
"color": "#BC5215",
559651
"background_color": null,
@@ -626,12 +718,24 @@
626718
"font_style": null,
627719
"font_weight": null
628720
},
721+
"tag.doctype": {
722+
"color": "#205EA6",
723+
"background_color": null,
724+
"font_style": null,
725+
"font_weight": null
726+
},
629727
"text.literal": {
630728
"color": "#24837B",
631729
"background_color": null,
632730
"font_style": null,
633731
"font_weight": null
634732
},
733+
"title": {
734+
"color": "#AD8301",
735+
"background_color": null,
736+
"font_style": null,
737+
"font_weight": null
738+
},
635739
"type": {
636740
"color": "#AD8301",
637741
"background_color": null,
@@ -649,6 +753,12 @@
649753
"background_color": null,
650754
"font_style": null,
651755
"font_weight": null
756+
},
757+
"variant": {
758+
"color": "#24837B",
759+
"background_color": null,
760+
"font_style": null,
761+
"font_weight": null
652762
}
653763
}
654764
}

0 commit comments

Comments
 (0)