From b6e5658f4e87e9661dffef15ab612984e4f41d9c Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Wed, 6 Jan 2021 17:28:22 +0000 Subject: [PATCH] Linting. --- .../components/settings/ThemeEditor.svelte | 32 +++++++++---------- .../settings/ThemeEditorDropdown.svelte | 1 - .../start/BuilderSettingsModal.svelte | 12 +++---- .../components/start/CreateAppModal.svelte | 9 ++++-- packages/worker/src/api/controllers/deploy.js | 5 ++- packages/worker/src/middleware/check-key.js | 5 ++- 6 files changed, 35 insertions(+), 29 deletions(-) diff --git a/packages/builder/src/components/settings/ThemeEditor.svelte b/packages/builder/src/components/settings/ThemeEditor.svelte index 6bc22ae3fa..895843b2f7 100644 --- a/packages/builder/src/components/settings/ThemeEditor.svelte +++ b/packages/builder/src/components/settings/ThemeEditor.svelte @@ -16,23 +16,23 @@ {/if} {#if $themeStore.darkMode && showAdvanced} + label="Hue" + bind:value={$themeStore.hue} + min="0" + max="360" + showValue /> + label="Saturation" + bind:value={$themeStore.saturation} + min="0" + max="100" + showValue /> + label="Lightness" + bind:value={$themeStore.lightness} + min="0" + max="32" + showValue />
@@ -51,4 +51,4 @@ .button { align-self: flex-start; } - \ No newline at end of file + diff --git a/packages/builder/src/components/settings/ThemeEditorDropdown.svelte b/packages/builder/src/components/settings/ThemeEditorDropdown.svelte index 3ca620b5d0..c95bf5c045 100644 --- a/packages/builder/src/components/settings/ThemeEditorDropdown.svelte +++ b/packages/builder/src/components/settings/ThemeEditorDropdown.svelte @@ -1,5 +1,4 @@ - +
Theme
Hosting
@@ -52,7 +48,11 @@ This section contains settings that relate to the deployment and hosting of apps made in this builder.

- + {#if selfhosted} diff --git a/packages/builder/src/components/start/CreateAppModal.svelte b/packages/builder/src/components/start/CreateAppModal.svelte index 39ca5032a4..2b54575795 100644 --- a/packages/builder/src/components/start/CreateAppModal.svelte +++ b/packages/builder/src/components/start/CreateAppModal.svelte @@ -1,6 +1,11 @@