diff --git a/src/app.css b/src/app.css
index 75a5100..435441c 100644
--- a/src/app.css
+++ b/src/app.css
@@ -1,29 +1,24 @@
@import "tailwindcss";
@import "@kleinbem/web-config/theme";
@import "@kleinbem/web-config/base.css";
-@import "@kleinbem/web-config/badges.css";
-/* App-level names for web-config's tokens; without these the *-brand, bg-bg-surface and
- text-text-primary utilities generate no CSS. */
-@theme inline {
- --color-bg-surface: var(--color-bg);
- --color-bg-elevated: var(--color-surface);
- --color-text-primary: var(--color-heading);
- --color-border-subtle: var(--color-line);
- --color-brand: var(--color-accent);
-}
-
-@custom-variant dark (&:where([data-theme="dark"], [data-theme="dark"] *, .dark, .dark *));
+@source "../node_modules/@kleinbem/web-config";
-/* Glassmorphism utility for modern card and navbar styling */
.glass-panel {
- background: color-mix(in srgb, var(--color-bg-elevated, #18181b) 75%, transparent);
+ background: color-mix(in srgb, var(--color-surface, #151a21) 80%, transparent);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
- border: 1px solid var(--color-border-subtle, rgba(255, 255, 255, 0.08));
+ border: 1px solid var(--color-line, rgba(255, 255, 255, 0.08));
+}
+
+dialog:modal {
+ overscroll-behavior: contain;
}
-.light .glass-panel, [data-theme="light"] .glass-panel {
- background: color-mix(in srgb, #ffffff 80%, transparent);
- border: 1px solid var(--color-border-subtle, rgba(0, 0, 0, 0.06));
+dialog::backdrop {
+ background: rgb(9 9 11 / 0.6);
+ backdrop-filter: blur(4px);
+ -webkit-backdrop-filter: blur(4px);
+ overflow: hidden;
+ overscroll-behavior: contain;
}
diff --git a/src/app.html b/src/app.html
new file mode 100644
index 0000000..43612ce
--- /dev/null
+++ b/src/app.html
@@ -0,0 +1,17 @@
+
+
+
+
+
+
+
+ Foyer
+
+
+
+ %sveltekit.head%
+
+
+ %sveltekit.body%
+
+
diff --git a/src/lib/components/AttentionPanel.svelte b/src/lib/components/AttentionPanel.svelte
new file mode 100644
index 0000000..6aef592
--- /dev/null
+++ b/src/lib/components/AttentionPanel.svelte
@@ -0,0 +1,77 @@
+
+
+{#if items.length > 0}
+
+
+
Needs attention
+ {items.length}
+
+
+
+
+ {#if items.length > COLLAPSED_COUNT}
+
+ {/if}
+
+{/if}
diff --git a/src/lib/components/CategorySection.svelte b/src/lib/components/CategorySection.svelte
index 4290ea0..2ee620d 100644
--- a/src/lib/components/CategorySection.svelte
+++ b/src/lib/components/CategorySection.svelte
@@ -1,74 +1,51 @@
{#if services.length > 0}
-
{getCategoryIcon(category)}
-
+ {getCategoryIcon(category, categoryIcons)}
+
{category}
-
+
({services.length})
-
+
{#each services as service (service.id)}
{@const health = resolveHealth(service, healthMap)}
-
+
{/each}
diff --git a/src/lib/components/Header.svelte b/src/lib/components/Header.svelte
new file mode 100644
index 0000000..2e87c90
--- /dev/null
+++ b/src/lib/components/Header.svelte
@@ -0,0 +1,101 @@
+
+
+ {
+ if (!document.hidden) now = new Date();
+ }}
+/>
+
+
+
+
+
๐
+
+
+
+ {title}
+
+ {#if badge}
+
+ {badge}
+
+ {/if}
+
+ {#if subtitle}
+
+ {subtitle}
+
+ {/if}
+
+
+
+
+
+
+
+ {timeStr}
+ {dateStr}
+
+
+ {#if weather}
+
+
+
+ {/if}
+
+
+
+
+
+
+
diff --git a/src/lib/components/LayoutToggle.svelte b/src/lib/components/LayoutToggle.svelte
index 73147e4..b64c02d 100644
--- a/src/lib/components/LayoutToggle.svelte
+++ b/src/lib/components/LayoutToggle.svelte
@@ -15,15 +15,15 @@
}
-
+