diff --git a/src/locales/en.json b/src/locales/en.json index aa115244..107bdcc1 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -437,6 +437,20 @@ "context": "Prompt to confirm user wants to reset settings" } }, + "color": { + "color": { + "string": "Color", + "context": "Refers to the hue of a color" + }, + "saturation": { + "string": "Saturation", + "context": "Refers to the saturation of a color" + }, + "brightness": { + "string": "Brightness", + "context": "Refers to the brightness of a color" + } + }, "preview": { "loading": { "string": "Loading Preview" diff --git a/src/p4/ColorPicker.svelte b/src/p4/ColorPicker.svelte deleted file mode 100644 index 76ec07bd..00000000 --- a/src/p4/ColorPicker.svelte +++ /dev/null @@ -1,5 +0,0 @@ - - - diff --git a/src/p4/PackagerOptions.svelte b/src/p4/PackagerOptions.svelte index 0e112b07..0d586af2 100644 --- a/src/p4/PackagerOptions.svelte +++ b/src/p4/PackagerOptions.svelte @@ -7,7 +7,7 @@ import ImageInput from './ImageInput.svelte'; import CustomExtensions from '../p4/CustomExtensions.svelte'; import LearnMore from './LearnMore.svelte'; - import ColorPicker from './ColorPicker.svelte'; + import ColorPicker from './colors/ColorPicker.svelte'; import writablePersistentStore from './persistent-store'; import fileStore from './file-store'; import {progress, currentTask} from './stores'; @@ -175,6 +175,11 @@ .group { margin: 12px 0; } + .color { + display: flex; + align-items: center; + margin-bottom: 4px; + } p { margin: 8px 0; } @@ -403,21 +408,18 @@

{$_('options.controlsHelp')}

{$_('options.colors')}

- -