]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Fix: increase search input text contrast with light custom theme colors (#7303)
authorJay Barker <73614235+JayBkr@users.noreply.github.com>
Wed, 24 Jul 2024 02:57:26 +0000 (03:57 +0100)
committerGitHub <noreply@github.com>
Wed, 24 Jul 2024 02:57:26 +0000 (02:57 +0000)
---------

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
src-ui/src/theme.scss

index 4dd7e5151e837831070d40b71eebc2d5068fccf0..63dcf843698e451bdeea07ae2bc05c372e6f596c 100644 (file)
@@ -130,7 +130,7 @@ $form-check-radio-checked-bg-image-dark: url("data:image/svg+xml,<svg xmlns='htt
   .btn-outline-secondary {
     &:hover, &:focus, &.active, &:active {
       background-color: var(--pngx-bg-darker);
-      color: var(--bs-primary);
+      color: var(--pngx-body-color-accent) !important;
     }
   }
 
@@ -143,8 +143,8 @@ $form-check-radio-checked-bg-image-dark: url("data:image/svg+xml,<svg xmlns='htt
   }
 
   .search-container {
-    input, input:focus {
-      color: var(--bs-body-color) !important;
+    input, input:focus, i-bs[name="search"] , ::placeholder {
+      color: var(--pngx-primary-text-contrast) !important;
     }
   }