fix(a11y): increase contrast
This commit was merged in pull request #178.
This commit is contained in:
@@ -325,7 +325,7 @@ function zoomOut() {
|
|||||||
</button>
|
</button>
|
||||||
|
|
||||||
{#if totalPages > 0}
|
{#if totalPages > 0}
|
||||||
<span class="font-sans text-xs text-ink-3 tabular-nums">
|
<span class="font-sans text-xs text-ink-2 tabular-nums">
|
||||||
{currentPage} / {totalPages}
|
{currentPage} / {totalPages}
|
||||||
</span>
|
</span>
|
||||||
{/if}
|
{/if}
|
||||||
@@ -394,7 +394,7 @@ function zoomOut() {
|
|||||||
onclick={() => (showAnnotations = !showAnnotations)}
|
onclick={() => (showAnnotations = !showAnnotations)}
|
||||||
aria-label={showAnnotations ? m.pdf_annotations_hide() : m.pdf_annotations_show()}
|
aria-label={showAnnotations ? m.pdf_annotations_hide() : m.pdf_annotations_show()}
|
||||||
class="flex items-center gap-1.5 rounded px-2 py-1 font-sans text-xs transition {showAnnotations
|
class="flex items-center gap-1.5 rounded px-2 py-1 font-sans text-xs transition {showAnnotations
|
||||||
? 'text-ink-3 hover:bg-surface/10'
|
? 'text-ink-2 hover:bg-surface/10'
|
||||||
: 'bg-surface/10 text-accent'}"
|
: 'bg-surface/10 text-accent'}"
|
||||||
>
|
>
|
||||||
<svg
|
<svg
|
||||||
|
|||||||
Reference in New Issue
Block a user