Commit Graph
6 Commits
Author SHA1 Message Date
spaghet 9e157a4fa3 feat(theme): implement dual light/dark colour token system with WCAG AA contrast
Replace hard-coded hex values and ad-hoc `dark:` variants with a single
semantic token layer in `src/styles/global.css` (`@theme` + `html.dark`
re-declaration), so every component uses the same Tailwind class list in
both modes.

Key changes:
- Define semantic tokens (page, surface, ink, accent, edge, etc.) and raw
  ingredient palette (--color-spaghetti-*, --color-marinara*, etc.)
- Configure dual Shiki themes (light-plus / everforest-dark) with
  `defaultColor: false` for proper per-mode code block colours, replacing
  the old `.prose pre { #1f2937 !important }` hack
- Tint background particles to match the warm cream/espresso palette
  instead of pure black dots
- Document theme rules: add tokens not `dark:` variants, keep colour rules
  inside `@layer`, never target Tailwind utility classes with unlayered
  overrides, route prose colours through `--tw-prose-*` only

All text and interactive elements meet WCAG AA contrast (4.5:1 body, 3:1
large/interactive). Light mode is a warm cream plate with white cards; dark
mode is espresso (#140C08) with raised cards.
2026-11-12 20:48:10 -05:00
spaghet 480259a4eb feat(status): add system status footer powered by Uptime Kuma
Replace the static "All systems normal" indicator in the Footer with a dynamic SystemStatus component backed by an internal API route and a server-side fetch of Uptime Kuma's public status/heartbeat endpoints. The light is rendered on first paint (correct without JS) and refreshed every minute, pausing when the tab is hidden.

- src/lib/status.ts: fetches and reduces Uptime Kuma data to one state
  (up/degraded/down/maintenance/unknown), with in-process caching and stale detection
- src/pages/api/status.ts: exposes a small snapshot to the browser, avoiding CORS issues and the ~200 KB heartbeat payload
- src/components/SystemStatus.astro: renders the light server-side and keeps it current client-side
- README.md: documents the feature and optional environment variables (STATUS_PAGE_URL, STATUS_PAGE_SLUG, STATUS_WATCH_GROUPS, STATUS_CACHE_TTL_SECONDS, STATUS_TIMEOUT_SECONDS, STATUS_STALE_AFTER_SECONDS)
- Tests for the summarization logic covering outage, degraded, and maintenance scenarios
2026-11-05 16:51:46 -05:00
spaghet ac545c4668 chore: migrate hosting documentation from Appwrite to self-hosted
Update README.md and astro.config.mjs to reflect the migration from
Appwrite to self-hosted infrastructure. Remove Appwrite-specific
environment variable schema from Astro config. Add .clinerules and
.cline to .gitignore.
2026-10-15 14:32:15 -04:00
SpaghetGaming bf4e585a11 Update website documentation and deployment pipeline overview
Rewrote README.md to provide a comprehensive overview of the personal website, including the modern deployment pipeline using Gitea, GitHub, Appwrite, and NGINX reverse proxy. Updated project documentation to reflect current technologies and setup instructions.
2025-08-13 12:43:27 -04:00
Spaghet 1f1bf6e08b Initial commit: Setup Astro website with blog, projects, work experience and search functionality 2025-08-13 00:29:17 -04:00
spaghet 65c65157e1 Initial commit 2025-08-12 17:21:30 -04:00