selection styles

This commit is contained in:
Matthias Kretschmann 2024-04-06 22:50:12 +01:00
parent 837e24ce52
commit 6c7427590c
Signed by: m
GPG Key ID: 606EEEF3C479A91F
2 changed files with 10 additions and 4 deletions

View File

@ -8,6 +8,7 @@
height: 24px;
border-radius: 50%;
background-color: rgba(var(--foreground-rgb), 0.5);
user-select: none;
}
.logo img {

View File

@ -14,6 +14,12 @@ body {
text-rendering: optimizeLegibility;
}
@media (prefers-color-scheme: dark) {
html {
color-scheme: dark;
}
}
body {
color: rgb(var(--foreground-rgb));
background: var(--background-gradient) rgb(var(--background-rgb));
@ -35,8 +41,7 @@ ul {
padding: 0;
}
@media (prefers-color-scheme: dark) {
html {
color-scheme: dark;
}
::selection {
background: rgb(var(--foreground-rgb-highlight));
color: rgb(var(--background-rgb));
}