style: use theme colors for sync status icon

Replace green/blue/yellow/red with palette colors: --primary for synced,
--primary with opacity for syncing, --text-muted for offline, muted red
for error.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Frederic Cabassut
2026-03-06 23:12:36 +01:00
co-authored by Claude Opus 4.6
parent 71befde16e
commit e1d529a660
2 changed files with 9 additions and 4 deletions
+4 -4
View File
@@ -46,12 +46,12 @@
<div class="flex items-center" title="Sync status: {status}" data-testid="sync-indicator">
{#if displayStatus === 'synced'}
<CloudCheck class="h-5 w-5 text-green-500" />
<CloudCheck class="h-5 w-5 text-[var(--primary)]" />
{:else if displayStatus === 'syncing'}
<CloudSync class="h-5 w-5 text-blue-500" />
<CloudSync class="h-5 w-5 text-[var(--primary)] opacity-60" />
{:else if displayStatus === 'offline'}
<CloudOff class="h-5 w-5 text-yellow-500" />
<CloudOff class="h-5 w-5 text-[var(--text-muted)]" />
{:else}
<CloudAlert class="h-5 w-5 text-red-500" />
<CloudAlert class="h-5 w-5 text-[#b44]" />
{/if}
</div>
+5
View File
@@ -0,0 +1,5 @@
- [x] use colors for the cloud status icon that fit more into the colour scheme
- [x] do we actually have a colour palette and theme ?
- [ ] choose diffent icon for the background colour
- [ ] make sure we use only lucid icons everywhere
- [ ]