Skip to content

Commit

Permalink
Revert "Add syntax scopes to themes (#25323)" (#25339)
Browse files Browse the repository at this point in the history
This reverts commit 2f416ae.

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
#25323, so remove those notes
from the release notes.
  • Loading branch information
maxdeviant authored Feb 21, 2025
1 parent 2f416ae commit ad4163b
Show file tree
Hide file tree
Showing 3 changed files with 94 additions and 369 deletions.
123 changes: 24 additions & 99 deletions assets/themes/ayu/ayu.json
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand Down Expand Up @@ -316,7 +306,7 @@
"font_style": null,
"font_weight": null
},
"punctuation.markup": {
"punctuation.list_marker": {
"color": "#a6a5a0ff",
"font_style": null,
"font_weight": null
Expand All @@ -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,
Expand Down Expand Up @@ -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,
Expand All @@ -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,
Expand Down Expand Up @@ -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,
Expand All @@ -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,
Expand Down Expand Up @@ -712,7 +677,7 @@
"font_style": null,
"font_weight": null
},
"punctuation.markup": {
"punctuation.list_marker": {
"color": "#73777bff",
"font_style": null,
"font_weight": null
Expand All @@ -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,
Expand Down Expand Up @@ -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,
Expand All @@ -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,
Expand Down Expand Up @@ -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,
Expand All @@ -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,
Expand Down Expand Up @@ -1108,7 +1048,7 @@
"font_style": null,
"font_weight": null
},
"punctuation.markup": {
"punctuation.list_marker": {
"color": "#b4b3aeff",
"font_style": null,
"font_weight": null
Expand All @@ -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,
Expand Down Expand Up @@ -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,
Expand All @@ -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,
Expand Down
Loading

0 comments on commit ad4163b

Please sign in to comment.