design: use commonlist for settings and moderation

This commit is contained in:
James Xylight committed 2025-07-25 21:55:16 -07:00
1 parent 2a757ba495
commit 57ea69d925
7 files changed
+119 -114

No files matched your search

+2 -9
View File
@@ -62,11 +62,11 @@
loading="lazy"
srcset="{optimizedURLs[0]} 1x, {optimizedURLs[1]} 2x, {optimizedURLs[2]} 4x, {optimizedURLs[3]} 6x"
src={optimizedURLs[0]}
{alt}
alt=""
{width}
{title}
class={[
'aspect-square object-cover overflow-hidden shrink-0',
'aspect-square object-cover overflow-hidden shrink-0 bg-slate-100 dark:bg-zinc-900',
circle ? 'rounded-full' : 'rounded-lg',
clazz,
]}
@@ -114,10 +114,3 @@
}).toString()}
</div>
{/if}
<style>
img,
div {
background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><line x1="30" y1="30" x2="70" y2="70" stroke="#aa0000" stroke-width="4" stroke-linecap="round"/><line x1="70" y1="30" x2="30" y2="70" stroke="#aa0000" stroke-width="4" stroke-linecap="round"/></svg>');
}
</style>