mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-11-03 03:16:10 -06:00 
			
		
		
		
	Dark mode support
This commit is contained in:
		@@ -1,9 +1,5 @@
 | 
			
		||||
@import "/src/theme";
 | 
			
		||||
 | 
			
		||||
::ng-deep .ngx-file-drop__drop-zone--over {
 | 
			
		||||
  background-color: $primaryFaded !important;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
form {
 | 
			
		||||
  position: relative;
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -111,3 +111,7 @@ body {
 | 
			
		||||
    font-size: 16px;
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.ngx-file-drop__drop-zone--over {
 | 
			
		||||
  background-color: $primaryFaded !important;
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -352,6 +352,16 @@ $border-color-dark-mode: #47494f;
 | 
			
		||||
  .bg-dark {
 | 
			
		||||
    background-color: $bg-light-dark-mode !important;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  .ngx-file-drop__drop-zone--over {
 | 
			
		||||
    background-color: darken($primary-dark-mode, 35%) !important;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  .alert-secondary {
 | 
			
		||||
    background-color: $bg-light-dark-mode;
 | 
			
		||||
    border-color: darken($bg-light-dark-mode, 10%);
 | 
			
		||||
    color: $text-color-dark-mode-accent;
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
body.color-scheme-dark {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user