fix(style): [WIP] Sidebar Colors; Focus Outline
This commit is contained in:
parent
b26e85ff75
commit
92dcef488c
|
@ -305,7 +305,7 @@
|
|||
--link-hover-color:var(--fw-gray-200);
|
||||
|
||||
--color: var(--fw-beige-100);
|
||||
--background-color: var(--fw-gray-970);
|
||||
--background-color: var(--fw-gray-960);
|
||||
--border-color:var(--fw-gray-700);
|
||||
|
||||
--hover-color:var(--fw-beige-400);
|
||||
|
@ -331,8 +331,8 @@
|
|||
--link-exact-active-background-color:var(--fw-gray-800);
|
||||
}
|
||||
|
||||
--link-active-border-color:var(--fw-gray-700);
|
||||
--link-exact-active-background-color:var(--fw-gray-800);
|
||||
--link-active-border-color:var(--fw-gray-800);
|
||||
--link-exact-active-background-color:var(--fw-gray-700);
|
||||
--link-exact-active-border-color:transparent;
|
||||
|
||||
--void-off-background-color: var(--fw-gray-800);
|
||||
|
@ -524,8 +524,8 @@
|
|||
// Fallback for focused elements without explicit focus-outline
|
||||
|
||||
:is(button, input, a):focus-visible {
|
||||
outline: 3px solid var(--focus-ring-color);
|
||||
outline-offset: 2px;
|
||||
outline: 4px solid var(--focus-ring-color);
|
||||
outline-offset: -4px;
|
||||
}
|
||||
|
||||
// (3b) Applying colors to things with explicit Variant props
|
||||
|
|
|
@ -35,7 +35,8 @@ const logoUrl = computed(() => store.state.auth.authenticated ? 'library.index'
|
|||
</script>
|
||||
|
||||
<template>
|
||||
<Layout aside default solid no-gap :class="[$style.sidebar, $style['sticky-content']]">
|
||||
<Layout aside default solid no-gap :class="[$style.sidebar, $style['sticky-content']]" style="background-color: var(--fw-gray-950);">
|
||||
<!-- TODO: Fit working sidebar background color -->
|
||||
<Layout header flex no-gap style="justify-content:space-between; padding-right:8px;">
|
||||
<Link
|
||||
:to="{name: logoUrl}"
|
||||
|
@ -193,10 +194,6 @@ const logoUrl = computed(() => store.state.auth.authenticated ? 'library.index'
|
|||
|
||||
<style module lang="scss">
|
||||
.sidebar {
|
||||
@include dark-theme {
|
||||
background-color: var(--fw-gray-950);
|
||||
/* TODO: Fix */
|
||||
}
|
||||
.logo {
|
||||
display: block;
|
||||
width: 40px;
|
||||
|
|
Loading…
Reference in New Issue