import("./settings/BuilderSettings.vue"),
@@ -270,34 +271,33 @@ onMounted(() => {
@import "./sharedStyles.css";
.BuilderApp {
- --builderBackgroundColor: #ffffff;
- --builderAccentColor: #5551ff;
- --builderSuccessColor: #3be19b;
- --builderErrorColor: #ff3d00;
- --builderHeaderBackgroundColor: #333333;
- --builderHeaderBackgroundHoleColor: #000000;
+ --builderBackgroundColor: var(--wdsColorWhite);
+ --builderAccentColor: var(--wdsColorBlue5);
+ --builderSuccessColor: var(--wdsColorGreen5);
+ --builderErrorColor: var(--wdsColorOrange5);
+ --builderHeaderBackgroundColor: var(--wdsColorGray6);
+ --builderHeaderBackgroundHoleColor: var(--wdsColorBlack);
--builderPrimaryTextColor: rgba(0, 0, 0, 0.9);
--builderSecondaryTextColor: rgba(0, 0, 0, 0.6);
--builderAreaSeparatorColor: rgba(0, 0, 0, 0.2);
- --builderSeparatorColor: #e4e7ed;
- --builderSubtleSeparatorColor: #f5f5f9;
- --builderIntenseSeparatorColor: #d2d4d7;
- --builderSelectedColor: #e4e9ff;
- --builderMatchingColor: #f8dccc;
- --builderIntenseSelectedColor: #0094d1;
+ --builderSeparatorColor: var(--wdsColorGray2);
+ --builderSubtleSeparatorColor: var(--wdsColorGray1);
+ --builderIntenseSeparatorColor: var(--wdsColorGray3);
+ --builderSelectedColor: var(--wdsColorBlue2);
+ --builderMatchingColor: var(--wdsColorOrange2);
+ --builderIntenseSelectedColor: var(--wdsColorBlue4);
--builderSubtleHighlightColor: rgba(0, 0, 0, 0.05);
- --builderSubtleHighlightColorSolid: #f2f2f2;
- --builderDisabledColor: rgb(180, 180, 180);
+ --builderSubtleHighlightColorSolid: var(--wdsColorGray1);
--builderSidebarWidth: 265px;
--builderSettingsWidth: 450px;
- --builderActionOngoingColor: #333333;
+ --builderActionOngoingColor: var(--wdsColorGray6);
--builderTopBarHeight: 48px;
--builderWarningTextColor: white;
- --builderWarningColor: #ff3d00;
+ --builderWarningColor: var(--wdsColorOrange5);
--builderPanelSwitcherHeight: 48px;
--builderPanelSwitcherExpandedHeight: calc(50% - 24px);
- --buttonColor: #5551ff;
+ --buttonColor: var(--wdsColorBlue5);
--buttonTextColor: white;
--accentColor: var(--builderAccentColor);
--primaryTextColor: var(--builderPrimaryTextColor);
diff --git a/src/ui/src/builder/BuilderEmbeddedCodeEditor.vue b/src/ui/src/builder/BuilderEmbeddedCodeEditor.vue
index 4a2e3c923..7c348f1ac 100644
--- a/src/ui/src/builder/BuilderEmbeddedCodeEditor.vue
+++ b/src/ui/src/builder/BuilderEmbeddedCodeEditor.vue
@@ -59,6 +59,7 @@ onMounted(() => {
editor = monaco.editor.create(editorContainerEl.value, {
value: modelValue.value,
language: props.language,
+ readOnly: props.disabled,
...VARIANTS_SETTINGS[props.variant],
});
editor.getModel().onDidChangeContent(() => {
@@ -84,11 +85,11 @@ onUnmounted(() => {
.BuilderEmbeddedCodeEditor {
height: 100%;
width: 100%;
- min-height: 200px;
+ min-height: 100px;
}
.editorContainer {
- min-height: 200px;
+ min-height: 100px;
width: 100%;
height: 100%;
overflow: hidden;
diff --git a/src/ui/src/builder/BuilderHeader.vue b/src/ui/src/builder/BuilderHeader.vue
index f64f7c06b..67e08d202 100644
--- a/src/ui/src/builder/BuilderHeader.vue
+++ b/src/ui/src/builder/BuilderHeader.vue
@@ -5,12 +5,13 @@