This is an automated email from the ASF dual-hosted git repository.

tiagobento pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-kie-tools.git


The following commit(s) were added to refs/heads/main by this push:
     new 1ec0ef42a62 kie-tools#3037: include High Contrast Light possibility 
for Themes (#3041)
1ec0ef42a62 is described below

commit 1ec0ef42a6251dd1fbbc44b75f99d0c1ec8b3202
Author: AurĂ©lien Pupier <[email protected]>
AuthorDate: Thu Apr 3 20:55:33 2025 +0200

    kie-tools#3037: include High Contrast Light possibility for Themes (#3041)
    
    Signed-off-by: AurĂ©lien Pupier <[email protected]>
---
 packages/editor/src/api/EditorTheme.ts                     | 1 +
 packages/vscode-extension/src/VsCodeKieEditorController.ts | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/packages/editor/src/api/EditorTheme.ts 
b/packages/editor/src/api/EditorTheme.ts
index bbf911eb021..d3ea0ce098c 100644
--- a/packages/editor/src/api/EditorTheme.ts
+++ b/packages/editor/src/api/EditorTheme.ts
@@ -21,4 +21,5 @@ export enum EditorTheme {
   DARK,
   LIGHT,
   HIGH_CONTRAST,
+  HIGH_CONTRAST_LIGHT,
 }
diff --git a/packages/vscode-extension/src/VsCodeKieEditorController.ts 
b/packages/vscode-extension/src/VsCodeKieEditorController.ts
index 02e7258211c..bd9e3ce3288 100644
--- a/packages/vscode-extension/src/VsCodeKieEditorController.ts
+++ b/packages/vscode-extension/src/VsCodeKieEditorController.ts
@@ -105,6 +105,8 @@ export class VsCodeKieEditorController implements EditorApi 
{
         return EditorTheme.DARK;
       case ColorThemeKind.HighContrast:
         return EditorTheme.HIGH_CONTRAST;
+      case ColorThemeKind.HighContrastLight:
+        return EditorTheme.HIGH_CONTRAST_LIGHT;
       default:
         return EditorTheme.LIGHT;
     }


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to