diff --git a/frontend/src/entities/keys/lib/layouts/halo75.ts b/frontend/src/entities/keys/lib/layouts/halo75.ts index 78087267..00b954d7 100644 --- a/frontend/src/entities/keys/lib/layouts/halo75.ts +++ b/frontend/src/entities/keys/lib/layouts/halo75.ts @@ -11,10 +11,10 @@ export const Halo75: KeyboardLayout = [ { code: 'f6', color: 'dark', secondaryCode: 'fn_f6' }, { code: 'f7', color: 'dark', secondaryCode: 'fn_f7' }, { code: 'f8', color: 'dark', secondaryCode: 'fn_f8' }, - { code: 'f9', color: 'dark', secondaryCode: 'fn_f9' }, - { code: 'f10', color: 'dark', secondaryCode: 'fn_f10' }, - { code: 'f11', color: 'dark', secondaryCode: 'fn_f11' }, - { code: 'f12', color: 'dark', secondaryCode: 'fn_f12' }, + { code: 'f9', secondaryCode: 'fn_f9' }, + { code: 'f10', secondaryCode: 'fn_f10' }, + { code: 'f11', secondaryCode: 'fn_f11' }, + { code: 'f12', secondaryCode: 'fn_f12' }, { code: 'screenshot', color: 'dark' }, { code: 'del', color: 'dark' }, { code: 'ins', color: 'dark' } diff --git a/frontend/src/entities/keys/ui/AbstractKeyboard.svelte b/frontend/src/entities/keys/ui/AbstractKeyboard.svelte index 138ccde0..0f202e97 100644 --- a/frontend/src/entities/keys/ui/AbstractKeyboard.svelte +++ b/frontend/src/entities/keys/ui/AbstractKeyboard.svelte @@ -54,7 +54,7 @@ } .keys { - --key-color-dark: #757575; + --key-color-dark: #6b6b6b; --key-color-light: rgb(196 196 196); --key-color-mint: rgb(46 218 151); --key-color-orange: rgb(226 121 80 / 100%); diff --git a/frontend/src/features/keys/select-key/ui/SelectableKey.svelte b/frontend/src/features/keys/select-key/ui/SelectableKey.svelte index eb0179e5..e7abd694 100644 --- a/frontend/src/features/keys/select-key/ui/SelectableKey.svelte +++ b/frontend/src/features/keys/select-key/ui/SelectableKey.svelte @@ -12,11 +12,13 @@ keySelected(key) } + $: dark = key.color === 'dark' $: active = $selectedKeyStore.code === key.code