mirror of
				https://github.com/excalidraw/excalidraw.git
				synced 2025-11-03 20:34:40 +01:00 
			
		
		
		
	tweak blurry bg for legibility & remove from modals (#1436)
This commit is contained in:
		@@ -1,7 +1,7 @@
 | 
			
		||||
.Island {
 | 
			
		||||
  --padding: 0;
 | 
			
		||||
  background-color: var(--bg-color-island);
 | 
			
		||||
  backdrop-filter: saturate(180%) blur(20px);
 | 
			
		||||
  backdrop-filter: saturate(100%) blur(10px);
 | 
			
		||||
  box-shadow: var(--shadow-island);
 | 
			
		||||
  border-radius: var(--border-radius-m);
 | 
			
		||||
  padding: calc(var(--padding) * var(--space-factor));
 | 
			
		||||
 
 | 
			
		||||
@@ -35,6 +35,10 @@
 | 
			
		||||
  animation: Modal__content_fade-in 0.1s ease-out 0.05s forwards;
 | 
			
		||||
  position: relative;
 | 
			
		||||
 | 
			
		||||
  // for modals, reset blurry bg
 | 
			
		||||
  background: #fff;
 | 
			
		||||
  backdrop-filter: none;
 | 
			
		||||
 | 
			
		||||
  @media #{$media-query} {
 | 
			
		||||
    max-width: 100%;
 | 
			
		||||
  }
 | 
			
		||||
 
 | 
			
		||||
@@ -2,7 +2,7 @@
 | 
			
		||||
  --text-color-primary: #343a40;
 | 
			
		||||
  --bg-color-main: #fff;
 | 
			
		||||
  --shadow-island: 0 1px 5px rgba(0, 0, 0, 0.15);
 | 
			
		||||
  --bg-color-island: rgba(255, 255, 255, 0.7);
 | 
			
		||||
  --bg-color-island: rgba(255, 255, 255, 0.9);
 | 
			
		||||
  --border-radius-m: 4px;
 | 
			
		||||
  --space-factor: 0.25rem;
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user