diff --git a/src/features/soil-editor/SoilTextEditor/SoilHighlight.ts b/src/features/soil-editor/SoilTextEditor/SoilHighlight.ts index 0344ff53e21b4f8c4704c6ac35d83ba726932bad..fd82779327e48ffe50a4c6a5d4b7ebc5200faf9f 100644 --- a/src/features/soil-editor/SoilTextEditor/SoilHighlight.ts +++ b/src/features/soil-editor/SoilTextEditor/SoilHighlight.ts @@ -36,6 +36,9 @@ export const soilHighlight = { } }, + "list": { + pattern: /\bList\b/ + }, "event": { pattern: /\b(critical|debug|error|if|info|warning)\b/ }, diff --git a/src/features/soil-editor/SoilTextEditor/styles.css b/src/features/soil-editor/SoilTextEditor/styles.css index de66e2267b519db895589f7c606e5494f6055adb..a7a9b42ed320d79899688800aebf0c4287b9e553 100644 --- a/src/features/soil-editor/SoilTextEditor/styles.css +++ b/src/features/soil-editor/SoilTextEditor/styles.css @@ -128,14 +128,17 @@ body { color: #A8859E } -.light-theme .token.event { +.light-theme .token.event, +.light-theme .token.list { color: #E30066 } -.dark-theme .token.event { +.dark-theme .token.event, +.dark-theme .token.list { color: #F19EB1 } + .light-theme .token.warning { color: #CC071E }