Clearer focus ring for all elements
This commit is contained in:
parent
c6875b0332
commit
c4d47cd034
13 changed files with 115 additions and 74 deletions
|
|
@ -52,6 +52,11 @@
|
|||
border-top-left-radius: 5px;
|
||||
border-top-right-radius: 5px;
|
||||
cursor: pointer;
|
||||
|
||||
&:focus-visible {
|
||||
outline: var(--focus-ring);
|
||||
outline-offset: 2px;
|
||||
}
|
||||
}
|
||||
|
||||
.tabSelected {
|
||||
|
|
|
|||
|
|
@ -20,7 +20,6 @@ export const generateMetadata = async ({ params }: PageProps): Promise<Metadata>
|
|||
const event = await getEvent(params.id).catch(() => undefined)
|
||||
const { t } = await useTranslation('event')
|
||||
|
||||
// TODO: More metadata
|
||||
return {
|
||||
title: event?.name ?? t('error.title'),
|
||||
}
|
||||
|
|
|
|||
|
|
@ -89,6 +89,7 @@ body {
|
|||
background: var(--background);
|
||||
color: var(--text);
|
||||
font-weight: var(--font-weight);
|
||||
--focus-ring: 2px solid var(--secondary);
|
||||
}
|
||||
|
||||
.light {
|
||||
|
|
@ -131,6 +132,11 @@ body {
|
|||
|
||||
a {
|
||||
color: var(--primary);
|
||||
border-radius: .2em;
|
||||
}
|
||||
a:focus-visible {
|
||||
outline: var(--focus-ring);
|
||||
outline-offset: 2px;
|
||||
}
|
||||
|
||||
*::-webkit-scrollbar {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue