refactor(apps): automated SVG-to-Phosphor migration across all apps

Script-based migration of inline SVG icons to Phosphor components.
Covers todo, manacore, mukke, chat, zitare, times, citycorners,
inventar, uload, playground, presi, picture, moodlit, storage, news,
wisekeep, clock, matrix, manadeck, skilltree, and photos.

~190 SVGs replaced across 115 files. Remaining SVGs are spinners,
brand logos, or decorative/chart SVGs that don't map to Phosphor.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Till JS 2026-03-31 12:35:17 +02:00
parent f58d58ff99
commit 504e7756a7
115 changed files with 781 additions and 3084 deletions

View file

@ -2,6 +2,7 @@
import { _ } from 'svelte-i18n';
import { PageHeader } from '@manacore/shared-ui';
import {
import { Clock } from '@manacore/shared-icons';
stopwatchesStore,
formatTime,
formatLapTime,
@ -72,20 +73,7 @@
<!-- Empty State -->
<div class="flex flex-col items-center justify-center py-16 text-center">
<div class="w-24 h-24 mb-6 rounded-full bg-muted flex items-center justify-center">
<svg
xmlns="http://www.w3.org/2000/svg"
class="h-12 w-12 text-muted-foreground"
fill="none"
viewBox="0 0 24 24"
stroke="currentColor"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="1.5"
d="M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"
/>
</svg>
<Clock size={20} class="text-muted-foreground" />
</div>
<h2 class="text-xl font-medium text-foreground mb-2">{$_('stopwatch.noStopwatches')}</h2>
<p class="text-muted-foreground mb-6 max-w-sm">{$_('stopwatch.noStopwatchesDescription')}</p>