From 68b1018378d8fa57d303f29552d01a15225c9312 Mon Sep 17 00:00:00 2001 From: nekowinston Date: Tue, 28 Nov 2023 22:35:33 +0100 Subject: [PATCH] fix(syntax): CSS operators, preprocessor parent selectors (#227) --- src/theme/tokens/css.ts | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/theme/tokens/css.ts b/src/theme/tokens/css.ts index 942b393e..a11736b2 100644 --- a/src/theme/tokens/css.ts +++ b/src/theme/tokens/css.ts @@ -6,11 +6,21 @@ const tokens = (context: ThemeContext): TextmateColors => { return [ { name: "Classes, reflecting the className color in JSX", - scope: "source.css entity.other.attribute-name.class", + scope: [ + "source.css entity.other.attribute-name.class.css", + "entity.other.attribute-name.parent-selector.css punctuation.definition.entity.css", + ], settings: { foreground: palette.yellow, }, }, + { + name: "Operators", + scope: "punctuation.separator.operator.css", + settings: { + foreground: palette.teal, + }, + }, { name: "Pseudo classes", scope: "source.css entity.other.attribute-name.pseudo-class",