Skip to content

πŸ“š The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.

Fix error page and theme variables

Smaug67397b82d98c3664
diff --git a/frontend/error.vue b/frontend/error.vue
index 4a7a3379..2901b8d5 100644
--- a/frontend/error.vue
+++ b/frontend/error.vue
@@ -24,7 +24,7 @@ const props = defineProps({
});
</script>
-<style>
+<style lang="scss">
.error-container {
display: flex;
flex-direction: column;
@@ -62,7 +62,7 @@ const props = defineProps({
.error-button {
display: inline-block;
padding: 10px 20px;
- background-color: var(--primary-color);
+ background-color: $primary-color;
color: white;
text-decoration: none;
border-radius: 5px;
@@ -70,7 +70,7 @@ const props = defineProps({
}
.error-button:hover {
- background-color: var(--primary-dark);
+ background-color: $primary-dark;
}
.error-illustration {
diff --git a/frontend/styles/theme.scss b/frontend/styles/theme.scss
index f1fe0585..fb592079 100644
--- a/frontend/styles/theme.scss
+++ b/frontend/styles/theme.scss
@@ -111,10 +111,6 @@ textarea {
transition: border-color $transition-duration, box-shadow $transition-duration;
font-size: 1rem;
- &:focus {
- box-shadow: 0 0 5px rgba(var(--primary-color-rgb), 0.2);
- }
-
&:disabled {
opacity: 0.8;
cursor: not-allowed;