Skip to content

Commit

Permalink
feat(theme): Add color styling for property scope in CodeTheme.kt.
Browse files Browse the repository at this point in the history
  • Loading branch information
pierre.roy committed Jul 30, 2024
1 parent 1f73632 commit d268c8f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/jsMain/kotlin/io/github/ayfri/CodeTheme.kt
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ object CodeTheme : StyleSheet() {
fontStyle(FontStyle.Italic)
}

scope("property") style {
color(keywordColor)
}

scope("punctuation", "operator") style {
backgroundColor(transparent)
color(punctuationColor)
Expand Down

0 comments on commit d268c8f

Please sign in to comment.