diff --git a/src-ui/src/index.html b/src-ui/src/index.html index cb6ce7816..118b9deff 100644 --- a/src-ui/src/index.html +++ b/src-ui/src/index.html @@ -1,5 +1,5 @@ - + Paperless-ngx diff --git a/src-ui/src/styles.scss b/src-ui/src/styles.scss index 1bdd84190..ffecca62f 100644 --- a/src-ui/src/styles.scss +++ b/src-ui/src/styles.scss @@ -1,8 +1,8 @@ // bs options $enable-negative-margins: true; -@import "theme"; @import "node_modules/bootstrap/scss/bootstrap"; +@import "theme"; @import "~@ng-select/ng-select/themes/default.theme.css"; @import "print"; diff --git a/src-ui/src/theme.scss b/src-ui/src/theme.scss index bcfceb6ec..369de919a 100644 --- a/src-ui/src/theme.scss +++ b/src-ui/src/theme.scss @@ -1,10 +1,14 @@ +$color-mode-type: data; + +@import 'bootstrap/scss/mixins/color-mode'; + @mixin paperless-green { // base color e.g. #17541f = hsl(128, 57%, 21%) --pngx-primary: 128, 57%; --pngx-primary-lightness: 21%; } -body { +:root { @include paperless-green; --pngx-primary-text-contrast: var(--bs-light); @@ -270,8 +274,7 @@ $form-check-radio-checked-bg-image-dark: url("data:image/svg+xml,