From bfe8ce4e817d556576669f2c6fe97b2d10fc94c0 Mon Sep 17 00:00:00 2001 From: Andrew Dupont Date: Wed, 20 Sep 2023 14:59:59 -0700 Subject: [PATCH] =?UTF-8?q?Prevent=20certain=20syntax=20themes=20from=20hi?= =?UTF-8?q?ghlighting=20class=20bodies=20wrong=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit …in Ruby. --- .../base16-tomorrow-dark-theme/styles/syntax-legacy/_base.less | 2 +- .../base16-tomorrow-light-theme/styles/syntax-legacy/_base.less | 2 +- packages/one-dark-syntax/styles/syntax-legacy/_base.less | 2 +- packages/one-light-syntax/styles/syntax-legacy/_base.less | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/base16-tomorrow-dark-theme/styles/syntax-legacy/_base.less b/packages/base16-tomorrow-dark-theme/styles/syntax-legacy/_base.less index d824a41ba1..e7eab57a6f 100644 --- a/packages/base16-tomorrow-dark-theme/styles/syntax-legacy/_base.less +++ b/packages/base16-tomorrow-dark-theme/styles/syntax-legacy/_base.less @@ -186,7 +186,7 @@ } .syntax--meta { - &.syntax--class { + &.syntax--class:not(.syntax--block) { color: @yellow; &.syntax--body { diff --git a/packages/base16-tomorrow-light-theme/styles/syntax-legacy/_base.less b/packages/base16-tomorrow-light-theme/styles/syntax-legacy/_base.less index d824a41ba1..e7eab57a6f 100644 --- a/packages/base16-tomorrow-light-theme/styles/syntax-legacy/_base.less +++ b/packages/base16-tomorrow-light-theme/styles/syntax-legacy/_base.less @@ -186,7 +186,7 @@ } .syntax--meta { - &.syntax--class { + &.syntax--class:not(.syntax--block) { color: @yellow; &.syntax--body { diff --git a/packages/one-dark-syntax/styles/syntax-legacy/_base.less b/packages/one-dark-syntax/styles/syntax-legacy/_base.less index cd11d14ad9..c21e13c5bd 100644 --- a/packages/one-dark-syntax/styles/syntax-legacy/_base.less +++ b/packages/one-dark-syntax/styles/syntax-legacy/_base.less @@ -210,7 +210,7 @@ } .syntax--meta { - &.syntax--class { + &.syntax--class:not(.syntax--block) { color: @hue-6-2; &.syntax--body { diff --git a/packages/one-light-syntax/styles/syntax-legacy/_base.less b/packages/one-light-syntax/styles/syntax-legacy/_base.less index 423fad74ce..ac2a34a90a 100644 --- a/packages/one-light-syntax/styles/syntax-legacy/_base.less +++ b/packages/one-light-syntax/styles/syntax-legacy/_base.less @@ -210,7 +210,7 @@ } .syntax--meta { - &.syntax--class { + &.syntax--class:not(.syntax--block) { color: @hue-6-2; &.syntax--body {