Adjust theme switch

This commit is contained in:
kritzl 2025-03-03 22:56:33 +01:00
commit a43ea460c3
Signed by: kritzl
SSH key fingerprint: SHA256:5BmINP9VjZWaUk5Z+2CTut1KFhwLtd0ZynMekKbtViM
8 changed files with 200 additions and 27 deletions

View file

@ -70,7 +70,7 @@
}
}
a {
a, label {
&:link,
&:visited {
opacity: .9;
@ -89,8 +89,12 @@
background-color: var(--color-background);
border-radius: 0.5rem;
&.themeToggle input {
display: none;
}
// the toggle element
a {
a, label {
border-radius: 0.5rem;
background-color: var(--color-shade-1);
transition: background-color 150ms;
@ -159,7 +163,7 @@
position: relative; // always show label, even with collapsed sidebar
z-index: 100;
a {
a, label {
width: 100%;
background-color: transparent;