updated: package-lock.json

This commit is contained in:
2026-06-04 15:29:17 -07:00
parent e0d0f15731
commit 7d8874ef72
4 changed files with 125 additions and 38 deletions
+6
View File
@@ -176,6 +176,7 @@ const DEFAULT_SETTINGS = {
birthDate: "",
tarotDeck: DEFAULT_TAROT_DECK,
stellariumBackgroundEnabled: false,
detailTextScale: 1,
hasExplicitLocation: false
};
@@ -642,6 +643,11 @@ settingsUi.init?.({
onSettingsApplied: (settings) => {
appRuntime.applySettings?.(settings);
currentSettings = settings;
const detailTextScale = Number(settings?.detailTextScale);
document.documentElement.style.setProperty(
"--detail-text-scale",
Number.isFinite(detailTextScale) && detailTextScale > 0 ? String(detailTextScale) : "1"
);
},
onSyncSkyBackground: (geo, options) => homeUi.syncNowSkyBackground?.(geo, options),
onStatus: (text) => setStatus(text),