Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

Dark mode + sizing tweaks

Michael Shamoon5306d58991ad
diff --git a/src-ui/src/app/components/document-list/document-card-small/document-card-small.component.scss b/src-ui/src/app/components/document-list/document-card-small/document-card-small.component.scss
index 5f34d6743..62fc18d77 100644
--- a/src-ui/src/app/components/document-list/document-card-small/document-card-small.component.scss
+++ b/src-ui/src/app/components/document-list/document-card-small/document-card-small.component.scss
@@ -39,8 +39,8 @@
max-width: 40rem;
.preview {
- min-width: 30rem;
- min-height: 20rem;
+ min-width: 25rem;
+ min-height: 15rem;
max-height: 35rem;
overflow-y: scroll;
}
diff --git a/src-ui/src/theme_dark.scss b/src-ui/src/theme_dark.scss
index ee59ff9af..57bb9896e 100644
--- a/src-ui/src/theme_dark.scss
+++ b/src-ui/src/theme_dark.scss
@@ -1,6 +1,7 @@
$primary-dark-mode: #45973a;
$danger-dark-mode: #b71631;
$bg-dark-mode: #161618;
+$bg-dark-mode-accent: #21262d;
$bg-light-dark-mode: #1c1c1f;
$text-color-dark-mode: #abb2bf;
$text-color-dark-mode-accent: lighten($text-color-dark-mode, 10%);
@@ -370,7 +371,7 @@ $border-color-dark-mode: #47494f;
.popover {
.popover-header,
.popover-body {
- background-color: $bg-light-dark-mode;
+ background-color: $bg-dark-mode-accent;
border-color: $border-color-dark-mode;
}
}
@@ -380,10 +381,15 @@ $border-color-dark-mode: #47494f;
@each $placement in $placements {
.bs-popover-#{$placement} > .arrow::after,
.bs-popover-auto[x-placement^=#{$placement}] > .arrow::after {
- border-#{$placement}-color: $bg-light-dark-mode;
+ border-#{$placement}-color: $bg-dark-mode-accent;
}
}
-
+
+ .bs-popover-bottom .popover-header::before,
+ .bs-popover-auto[x-placement^=bottom] .popover-header::before {
+ border-bottom-color: $bg-dark-mode-accent;
+ }
+
}
body.color-scheme-dark {