impr: use label based opening for disclosures

This commit is contained in:
Xylight committed 2025-09-23 17:42:18 -07:00
1 parent 24101665d0
commit 17d259de9c
12 files changed
+86 -47

No files matched your search

+4 -4
View File
@@ -16,10 +16,10 @@
<button class="h-full" onclick={() => (themeData.data.currentTheme = theme.id)}>
<Material
padding="none"
rounding="none"
class="{theme.id == themeData.data.currentTheme
? 'ring-2 ring-inset ring-primary-900 dark:ring-primary-100'
: ''} flex relative cursor-pointer h-full flex-col text-left p-0.5"
rounding="2xl"
? 'ring-2 ring-primary-900 dark:ring-primary-100'
: ''} rounded-2xl flex relative cursor-pointer h-full flex-col text-left p-0.5"
>
<div
class={[
@@ -42,7 +42,7 @@
src={CheckCircle}
size="20"
solid
class="absolute top-0 right-0 m-2 text-primary-900 dark:text-primary-100"
class="absolute top-0 right-0 m-2 text-primary-100"
/>
{/if}
<div class="px-4 py-2 flex items-center gap-1 justify-between">