mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	dark_theme: Clean up .placeholder definitions.
This commit is contained in:
		@@ -110,7 +110,7 @@ evidence Edge may have bugs in its handling of placeholder opacity
 | 
			
		||||
CSS: https://github.com/necolas/normalize.css/issues/741
 | 
			
		||||
*/
 | 
			
		||||
.placeholder {
 | 
			
		||||
    color: hsl(0deg 0% 45%);
 | 
			
		||||
    color: var(--color-text-placeholder);
 | 
			
		||||
    opacity: 1;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -1292,6 +1292,7 @@
 | 
			
		||||
    );
 | 
			
		||||
    --color-text-search: light-dark(hsl(0deg 0% 35%), hsl(0deg 0% 100% / 75%));
 | 
			
		||||
    --color-text-search-hover: light-dark(hsl(0deg 0% 0%), hsl(0deg 0% 100%));
 | 
			
		||||
    --color-text-placeholder: light-dark(hsl(0deg 0% 45%), hsl(0deg 0% 55%));
 | 
			
		||||
    --color-text-search-placeholder: light-dark(
 | 
			
		||||
        hsl(0deg 0% 50%),
 | 
			
		||||
        hsl(0deg 0% 100% / 50%)
 | 
			
		||||
 
 | 
			
		||||
@@ -3,16 +3,6 @@
 | 
			
		||||
%dark-theme {
 | 
			
		||||
    color-scheme: dark;
 | 
			
		||||
 | 
			
		||||
    .placeholder {
 | 
			
		||||
        color: hsl(0deg 0% 55%);
 | 
			
		||||
        opacity: 1;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    & textarea::placeholder,
 | 
			
		||||
    input::placeholder {
 | 
			
		||||
        @extend .placeholder;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    kbd {
 | 
			
		||||
        text-shadow: none;
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user