Skip to content

Commit

Permalink
Prevent certain syntax themes from highlighting class bodies wrong…
Browse files Browse the repository at this point in the history
…in Ruby.
  • Loading branch information
savetheclocktower committed Sep 20, 2023
1 parent 69038a1 commit bfe8ce4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
}

.syntax--meta {
&.syntax--class {
&.syntax--class:not(.syntax--block) {
color: @yellow;

&.syntax--body {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
}

.syntax--meta {
&.syntax--class {
&.syntax--class:not(.syntax--block) {
color: @yellow;

&.syntax--body {
Expand Down
2 changes: 1 addition & 1 deletion packages/one-dark-syntax/styles/syntax-legacy/_base.less
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@
}

.syntax--meta {
&.syntax--class {
&.syntax--class:not(.syntax--block) {
color: @hue-6-2;

&.syntax--body {
Expand Down
2 changes: 1 addition & 1 deletion packages/one-light-syntax/styles/syntax-legacy/_base.less
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@
}

.syntax--meta {
&.syntax--class {
&.syntax--class:not(.syntax--block) {
color: @hue-6-2;

&.syntax--body {
Expand Down

0 comments on commit bfe8ce4

Please sign in to comment.