updated the calendar and settings pages, added a new calendar page, and made some minor styling changes to the app.

This commit is contained in:
2026-04-15 23:15:45 -07:00
parent 4872e814c9
commit 5902d5f0b1
5 changed files with 222 additions and 26 deletions
+6 -3
View File
@@ -133,7 +133,9 @@ const DEFAULT_SETTINGS = {
longitude: -0.1278,
timeFormat: "minutes",
birthDate: "",
tarotDeck: DEFAULT_TAROT_DECK
tarotDeck: DEFAULT_TAROT_DECK,
stellariumBackgroundEnabled: false,
hasExplicitLocation: false
};
const PLANET_CALENDAR_STYLES = {
@@ -556,7 +558,7 @@ settingsUi.init?.({
appRuntime.applySettings?.(settings);
currentSettings = settings;
},
onSyncSkyBackground: (geo, force) => homeUi.syncNowSkyBackground?.(geo, force),
onSyncSkyBackground: (geo, options) => homeUi.syncNowSkyBackground?.(geo, options),
onStatus: (text) => setStatus(text),
onConnectionSaved: async () => ensureConnectedApp(),
getActiveSection: () => sectionStateUi.getActiveSection?.() || "home",
@@ -579,7 +581,8 @@ calendarVisualsUi.init?.({
homeUi.init?.({
nowSkyLayerEl,
nowPanelEl,
getCurrentGeo: () => appRuntime.getCurrentGeo?.() || null
getCurrentGeo: () => appRuntime.getCurrentGeo?.() || null,
getCurrentSettings: () => appRuntime.getCurrentSettings?.() || currentSettings
});
if (nowOverlayToggleEl && nowPanelEl) {