Increase colour contrast for 'subtle' class, WCAG-audit:1, see #1181

This commit is contained in:
Pieter Vander Vennet 2023-11-16 01:48:57 +01:00
parent db982884a1
commit 34f0fa639c
4 changed files with 46 additions and 19 deletions

View file

@ -87,12 +87,10 @@
{#if theme.id !== personal.id || $unlockedPersonal}
<SubtleLink href={$href} options={{ extraClasses: "w-full" }}>
<img slot="image" src={theme.icon} class="mx-4 block h-11 w-11" alt="" />
<img slot="image" src={theme.icon} class="mr-2 m-1 sm:mr-4 sm:m-2 block h-11 w-11" alt="" />
<span class="flex flex-col overflow-hidden text-ellipsis">
<Tr t={title} />
<span class="subtle max-h-12 truncate text-ellipsis">
<Tr t={description} />
</span>
{#if selected}
<span class="alert">
<Tr t={Translations.t.general.morescreen.enterToOpen} />