diff --git a/AGENTS.md b/AGENTS.md index f559cbc..2f62f63 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -10,7 +10,7 @@ It replaces legacy heavy dashboards (like Homepage) with a fast, modern static S ## Key Capabilities - **Fleet Design System**: Uses `@kleinbem/web-config` themes (dark/light, system preference, zero-FOUC). -- **Fleet Inventory Integration**: Reads services dynamically from `inventory.nix` data. +- **Service catalogue**: hand-maintained `FLEET_SERVICES` in `src/lib/data/services.ts` and `FLEET_HOSTS` in `src/lib/data/hosts.ts` (not generated from `inventory.nix`). - **Network Reachability Indicators**: Highlights Public (Cloudflare Tunnel), Mesh-Only (NetBird), and LAN endpoints. - **Gatus Live Health**: Queries live service statuses from `status.kleinbem.dev`. - **Command Palette (`⌘K`)**: Instant fuzzy search across services, hosts, and tools. @@ -24,3 +24,9 @@ just check # Run svelte-check and TypeScript checks just build # Build static production assets just preview # Preview production build ``` + +## TypeScript + +`typescript` is aliased to `@typescript/typescript6` and TypeScript 7 sits beside it as +`@typescript/native`: svelte-check and the Svelte tooling need the TS 6 JavaScript API, which the +native TS 7 compiler does not ship. Same setup in every fleet Svelte repo. diff --git a/README.md b/README.md index e7720f0..2addcac 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ Foyer serves as the front door to [`home.kleinbem.dev`](https://home.kleinbem.de - **Network Reachability Awareness**: Clear visual badges for **Public** (Cloudflare Tunnel), **Mesh-Only** (NetBird), and **LAN-Only** services. - **Real-Time Health & Uptime**: Direct live status integration with the fleet's [Gatus](https://status.kleinbem.dev) instance. - **Command Palette (`⌘K` / `/`)**: Fast keyboard-driven fuzzy search across all services, host nodes, and quick links. -- **Host Node Filtering**: Filter services dynamically by node (`core-pi`, `nixos-nvme`, `mac-mini`, `nasbook`, `bpi-r4`). +- **Host Node Filtering**: Filter services dynamically by node (`core-pi`, `nixos-nvme`, `mac-mini`, `nasbook`, `orin-nano`, `bpi-r4`). - **Live Weather & Telemetry**: Built-in weather widget (Open-Meteo) and system clocks. ## 🛠️ Development diff --git a/src/app.css b/src/app.css index 38b70ad..75a5100 100644 --- a/src/app.css +++ b/src/app.css @@ -3,6 +3,16 @@ @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 *)); /* Glassmorphism utility for modern card and navbar styling */ diff --git a/src/lib/components/CommandPalette.svelte b/src/lib/components/CommandPalette.svelte index 8379896..bf4e1b9 100644 --- a/src/lib/components/CommandPalette.svelte +++ b/src/lib/components/CommandPalette.svelte @@ -1,4 +1,5 @@