Fixed some more UI with dark mode
This commit is contained in:
@@ -49,7 +49,7 @@ a {
|
||||
|
||||
&:hover,
|
||||
&:focus-visible {
|
||||
background-color: var(--slate-200);
|
||||
background-color: color-mix(in srgb, var(--foreground) 20%, var(--background));
|
||||
}
|
||||
|
||||
&[aria-current="page"] {
|
||||
|
||||
@@ -318,6 +318,7 @@ dialog {
|
||||
max-width: calc(100% - 6rem);
|
||||
padding: 1.5rem 2rem;
|
||||
z-index: 9999;
|
||||
color: var(--foreground);
|
||||
background-color: var(--background);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: .75rem;
|
||||
|
||||
@@ -213,6 +213,10 @@ const menus: Menu[] = [
|
||||
}
|
||||
}
|
||||
|
||||
.dark .legal::before {
|
||||
filter: invert(1);
|
||||
}
|
||||
|
||||
.map-menu {
|
||||
margin-top: .25rem;
|
||||
margin-bottom: .5rem;
|
||||
@@ -271,8 +275,8 @@ const menus: Menu[] = [
|
||||
figcaption {
|
||||
font-size: .75em;
|
||||
text-align: center;
|
||||
color: var(--slate-500);
|
||||
color: color-mix(in srgb, var(--foreground) 80%, var(--background));
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
|
||||
@@ -441,7 +441,7 @@ function resetAllFields(actionAfter?: "focusAfter") {
|
||||
}
|
||||
|
||||
&::-webkit-scrollbar-thumb {
|
||||
background-color: var(--slate-300);
|
||||
background-color: color-mix(in srgb, var(--foreground) 30%, var(--background));
|
||||
}
|
||||
|
||||
> * + * {
|
||||
|
||||
Reference in New Issue
Block a user