mirror of
https://github.com/Xevion/xevion.dev.git
synced 2026-01-31 12:26:39 -06:00
feat: add light/dark theme toggle with system preference detection
- Implement theme store with localStorage persistence - Add ThemeToggle component with animated icon transitions - Update color system with semantic tokens for light/dark modes - Add blocking script in app.html to prevent FOUC - Apply theme-aware styling across all public and admin pages
This commit is contained in:
@@ -78,13 +78,13 @@
|
||||
<p class="text-admin-text-muted mb-4">Project not found</p>
|
||||
<a
|
||||
href={resolve("/admin/projects")}
|
||||
class="text-blue-400 hover:text-blue-300"
|
||||
class="text-admin-accent hover:text-admin-accent-hover"
|
||||
>
|
||||
← Back to projects
|
||||
</a>
|
||||
</div>
|
||||
{:else}
|
||||
<div class="rounded-lg border border-admin-border bg-admin-panel p-6">
|
||||
<div class="rounded-lg border border-admin-border bg-admin-surface p-6">
|
||||
<ProjectForm
|
||||
{project}
|
||||
availableTags={tags}
|
||||
|
||||
Reference in New Issue
Block a user