Revert "Add syntax scopes to themes (#25323)" (#25339)

This reverts commit 2f416aebbe.

We shouldn't have merged this yet, as it currently breaks syntax
highlighting for some languages that haven't had their requisite changes
merged yet.

We also need to be aware of the impact this will have on downstream
themes.

@chbk We should bundle any changes to the themes with the specific
language highlights that depend on those changes (and if there are
multiple languages that need the same change then pick one language to
come first and then stack the rest of the changes on top of that).

Release Notes:

- Community: This is a revert of
https://github.com/zed-industries/zed/pull/25323, so remove those notes
from the release notes.
This commit is contained in:
Marshall Bowers 2025-02-21 10:12:12 -05:00 committed by GitHub
parent 2f416aebbe
commit ad4163b9be
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 94 additions and 369 deletions

View file

@ -236,11 +236,6 @@
"font_style": null,
"font_weight": null
},
"heading": {
"color": "#bfbdb6ff",
"font_style": null,
"font_weight": 700
},
"hint": {
"color": "#628b80ff",
"font_style": null,
@ -256,21 +251,16 @@
"font_style": null,
"font_weight": null
},
"link": {
"link_text": {
"color": "#fe8f40ff",
"font_style": "italic",
"font_weight": null
},
"link.url": {
"link_uri": {
"color": "#aad84cff",
"font_style": null,
"font_weight": null
},
"namespace": {
"color": "#bfbdb6ff",
"font_style": null,
"font_weight": null
},
"number": {
"color": "#d2a6ffff",
"font_style": null,
@ -316,7 +306,7 @@
"font_style": null,
"font_weight": null
},
"punctuation.markup": {
"punctuation.list_marker": {
"color": "#a6a5a0ff",
"font_style": null,
"font_weight": null
@ -326,21 +316,6 @@
"font_style": null,
"font_weight": null
},
"raw": {
"color": "#fe8f40ff",
"font_style": null,
"font_weight": null
},
"selector": {
"color": "#5ac1feff",
"font_style": null,
"font_weight": null
},
"strikethrough": {
"color": "#5ac1feff",
"font_style": null,
"font_weight": null
},
"string": {
"color": "#a9d94bff",
"font_style": null,
@ -371,6 +346,11 @@
"font_style": null,
"font_weight": null
},
"text.literal": {
"color": "#fe8f40ff",
"font_style": null,
"font_weight": null
},
"title": {
"color": "#bfbdb6ff",
"font_style": null,
@ -381,11 +361,6 @@
"font_style": null,
"font_weight": null
},
"unit": {
"color": "#59c2ffff",
"font_style": null,
"font_weight": null
},
"variable": {
"color": "#bfbdb6ff",
"font_style": null,
@ -632,11 +607,6 @@
"font_style": null,
"font_weight": null
},
"heading": {
"color": "#5c6166ff",
"font_style": null,
"font_weight": 700
},
"hint": {
"color": "#8ca7c2ff",
"font_style": null,
@ -652,21 +622,16 @@
"font_style": null,
"font_weight": null
},
"link": {
"link_text": {
"color": "#f98d3fff",
"font_style": "italic",
"font_weight": null
},
"link.url": {
"link_uri": {
"color": "#85b304ff",
"font_style": null,
"font_weight": null
},
"namespace": {
"color": "#5c6166ff",
"font_style": null,
"font_weight": null
},
"number": {
"color": "#a37accff",
"font_style": null,
@ -712,7 +677,7 @@
"font_style": null,
"font_weight": null
},
"punctuation.markup": {
"punctuation.list_marker": {
"color": "#73777bff",
"font_style": null,
"font_weight": null
@ -722,21 +687,6 @@
"font_style": null,
"font_weight": null
},
"raw": {
"color": "#f98d3fff",
"font_style": null,
"font_weight": null
},
"selector": {
"color": "#3b9ee5ff",
"font_style": null,
"font_weight": null
},
"strikethrough": {
"color": "#3b9ee5ff",
"font_style": null,
"font_weight": null
},
"string": {
"color": "#86b300ff",
"font_style": null,
@ -767,6 +717,11 @@
"font_style": null,
"font_weight": null
},
"text.literal": {
"color": "#f98d3fff",
"font_style": null,
"font_weight": null
},
"title": {
"color": "#5c6166ff",
"font_style": null,
@ -777,11 +732,6 @@
"font_style": null,
"font_weight": null
},
"unit": {
"color": "#389ee6ff",
"font_style": null,
"font_weight": null
},
"variable": {
"color": "#5c6166ff",
"font_style": null,
@ -1028,11 +978,6 @@
"font_style": null,
"font_weight": null
},
"heading": {
"color": "#cccac2ff",
"font_style": null,
"font_weight": 700
},
"hint": {
"color": "#7399a3ff",
"font_style": null,
@ -1048,21 +993,16 @@
"font_style": null,
"font_weight": null
},
"link": {
"link_text": {
"color": "#fead66ff",
"font_style": "italic",
"font_weight": null
},
"link.url": {
"link_uri": {
"color": "#d5fe80ff",
"font_style": null,
"font_weight": null
},
"namespace": {
"color": "#cccac2ff",
"font_style": null,
"font_weight": null
},
"number": {
"color": "#dfbfffff",
"font_style": null,
@ -1108,7 +1048,7 @@
"font_style": null,
"font_weight": null
},
"punctuation.markup": {
"punctuation.list_marker": {
"color": "#b4b3aeff",
"font_style": null,
"font_weight": null
@ -1118,21 +1058,6 @@
"font_style": null,
"font_weight": null
},
"raw": {
"color": "#fead66ff",
"font_style": null,
"font_weight": null
},
"selector": {
"color": "#72cffeff",
"font_style": null,
"font_weight": null
},
"strikethrough": {
"color": "#72cffeff",
"font_style": null,
"font_weight": null
},
"string": {
"color": "#d4fe7fff",
"font_style": null,
@ -1163,6 +1088,11 @@
"font_style": null,
"font_weight": null
},
"text.literal": {
"color": "#fead66ff",
"font_style": null,
"font_weight": null
},
"title": {
"color": "#cccac2ff",
"font_style": null,
@ -1173,11 +1103,6 @@
"font_style": null,
"font_weight": null
},
"unit": {
"color": "#73cfffff",
"font_style": null,
"font_weight": null
},
"variable": {
"color": "#cccac2ff",
"font_style": null,