feat(legal): add legal notice error handling

The legal notice view now shows an error box if the legal notice could
not be loaded.
This commit is contained in:
2026-08-06 23:43:32 +02:00
parent b27c89945f
commit 7613122658
5 changed files with 26 additions and 5 deletions
+9 -1
View File
@@ -92,4 +92,12 @@ input {
/* Temporary until a custom tap highlight is implemented. */
* {
-webkit-tap-highlight-color: transparent;
}
}
.error {
background-color: var(--color-negative-bg);
border: 1px solid var(--color-negative-border);
padding: 1em 2em;
border-radius: 1.2em;
color: var(--white);
}
+3
View File
@@ -84,6 +84,9 @@ body {
--light-hover: var(--light-d-2);
--invert: invert(0);
--color-negative-bg: oklch(59% 0.22706 29.244);
--color-negative-border: oklch(51% 0.22706 29.244);
}
@media (prefers-color-scheme: dark) {