diff --git a/src/version.h b/src/version.h index 31eec90..addde5f 100644 --- a/src/version.h +++ b/src/version.h @@ -4,7 +4,7 @@ #define WIND_VER_MAJOR 0 #define WIND_VER_MINOR 22 -#define WIND_VER_PATCH 4 +#define WIND_VER_PATCH 5 // String form for logs/snapshot/UI. Keep in sync with the numeric parts above. -#define WIND_VERSION_STR "0.22.4" +#define WIND_VERSION_STR "0.22.5" diff --git a/ui/src/Onboarding.svelte b/ui/src/Onboarding.svelte index 513a36c..4ec5032 100644 --- a/ui/src/Onboarding.svelte +++ b/ui/src/Onboarding.svelte @@ -3,7 +3,10 @@ import { setConfig, windowControl } from './bridge.js'; import { ic } from './lib/icons.js'; import KeybindCapture from './lib/KeybindCapture.svelte'; + import { normalizePalette } from './design/themes.js'; export let onDone; + // The chosen theme (#359), from the host's first-paint config like Settings. A first run has none: Wind grey. + const palette = normalizePalette(window.__windInit && window.__windInit.values && window.__windInit.values.uiPalette); let cur = 0; const N = 3; // Keybinds start blank (Unbound) and are ACTUALLY cleared in the ini on mount, not just shown as @@ -29,7 +32,7 @@ const zoomInRow = { label:'Zoom in', desc:'Hold to magnify', buttonKey:'zoomInButton', vkKey:'zoomInVk', modsKey:'zoomInMods', buttonModsKey:'zoomInButtonMods' }; const zoomOutRow = { label:'Zoom out', desc:'Hold to zoom back', buttonKey:'zoomOutButton', vkKey:'zoomOutVk', modsKey:'zoomOutMods', buttonModsKey:'zoomOutButtonMods' }; -