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 {