WIP: Themes v2 #24

Draft
HorizonCode wants to merge 71 commits from themes-v2 into master
pull from: themes-v2
Showing only changes of commit 5eea428802 - Show all commits
+15 -4
View File
@@ -4069,11 +4069,22 @@
class="absolute right-2 bottom-2 left-2 flex items-center justify-between gap-2" class="absolute right-2 bottom-2 left-2 flex items-center justify-between gap-2"
> >
<div class="flex min-w-0 items-center gap-1.5"> <div class="flex min-w-0 items-center gap-1.5">
<span <Avatar.Root
class="flex size-5 shrink-0 items-center justify-center rounded-full border border-white/20 bg-theme-800 text-[9px] font-bold text-white/80 uppercase" class="size-5 shrink-0 border border-white/20 bg-theme-800"
> >
{theme.author.trim().charAt(0) || '?'} <Avatar.Image
</span> src={theme.author.trim()
? `https://a.ez-pp.farm/${encodeURIComponent(theme.author.trim())}`
: undefined}
alt={theme.author || 'Unknown author'}
class="object-cover"
/>
<Avatar.Fallback
class="text-[9px] font-bold text-white/80 uppercase"
>
{theme.author.trim().charAt(0) || '?'}
</Avatar.Fallback>
</Avatar.Root>
<span <span
class="truncate text-[11px] font-semibold text-white/95 drop-shadow-sm" class="truncate text-[11px] font-semibold text-white/95 drop-shadow-sm"
> >