diff options
author | Wolfgang Müller | 2025-02-14 16:33:13 +0100 |
---|---|---|
committer | Wolfgang Müller | 2025-02-14 16:33:13 +0100 |
commit | 2648650c12471a24a29e4e9a4e2ac77940cd96ff (patch) | |
tree | 59c6796f7c296de20624434ef2ecbafe73e9cedd /frontend/src/lib/components | |
parent | 5f64054ba7cd4d275c820cbbfa9232017d708b3d (diff) | |
download | hircine-2648650c12471a24a29e4e9a4e2ac77940cd96ff.tar.gz |
frontend: Further improve highlight focus
Diffstat (limited to 'frontend/src/lib/components')
-rw-r--r-- | frontend/src/lib/components/Card.svelte | 2 | ||||
-rw-r--r-- | frontend/src/lib/components/Titlebar.svelte | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/frontend/src/lib/components/Card.svelte b/frontend/src/lib/components/Card.svelte index 8066b42..b8e8ecf 100644 --- a/frontend/src/lib/components/Card.svelte +++ b/frontend/src/lib/components/Card.svelte @@ -49,7 +49,7 @@ <a {href} - class="grid-card-v sm:grid-card-h focus-thick focus-blue relative grid overflow-hidden rounded-sm bg-slate-900 shadow-md shadow-slate-950/30" + class="grid-card-v sm:grid-card-h relative grid overflow-hidden rounded-sm bg-slate-900 shadow-md shadow-slate-950/30 focus-visible:outline-4 focus-visible:outline-blue-600" class:compact class:grid-card-cover-only={coverOnly} {onclick} diff --git a/frontend/src/lib/components/Titlebar.svelte b/frontend/src/lib/components/Titlebar.svelte index fe28cfe..bb36d8f 100644 --- a/frontend/src/lib/components/Titlebar.svelte +++ b/frontend/src/lib/components/Titlebar.svelte @@ -17,7 +17,7 @@ {#if favourite !== undefined} <button type="button" - class="focus-background mr-1 flex items-center" + class="mr-1 flex items-center focus-visible:bg-yellow-400/20 focus-visible:outline-hidden" title="Toggle favourite" onclick={onfavourite} > |