From d268c8f968ddf822805d2ae3b2ba7863b424bb73 Mon Sep 17 00:00:00 2001 From: "pierre.roy" Date: Tue, 30 Jul 2024 12:24:01 +0200 Subject: [PATCH] feat(theme): Add color styling for `property` scope in `CodeTheme.kt`. --- src/jsMain/kotlin/io/github/ayfri/CodeTheme.kt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/jsMain/kotlin/io/github/ayfri/CodeTheme.kt b/src/jsMain/kotlin/io/github/ayfri/CodeTheme.kt index 79a1c71..0df382f 100644 --- a/src/jsMain/kotlin/io/github/ayfri/CodeTheme.kt +++ b/src/jsMain/kotlin/io/github/ayfri/CodeTheme.kt @@ -72,6 +72,10 @@ object CodeTheme : StyleSheet() { fontStyle(FontStyle.Italic) } + scope("property") style { + color(keywordColor) + } + scope("punctuation", "operator") style { backgroundColor(transparent) color(punctuationColor)