fix: soften cover box-shadow in dynamic-color mode so it doesn't bleed on colorful bg
This commit is contained in:
1 parent
2012251e58
commit
85d8e8eae7
1 file changed
+1
@@ -602,6 +602,7 @@ button:focus{outline:none}
|
||||
/* Solid cover-color mode: hide blurred layers, use extracted color as background */
|
||||
.np-overlay.dynamic-color{background:rgb(var(--np-solid,20,20,40));transition:background .5s ease,transform .35s cubic-bezier(.4,0,.2,1)}
|
||||
.np-overlay.dynamic-color .np-bg{display:none}
|
||||
.np-overlay.dynamic-color .np-cover{box-shadow:0 20px 50px rgba(0,0,0,.35)}
|
||||
|
||||
.np-inner{
|
||||
position:relative;z-index:1;
|
||||
|
||||
Reference in new issue
Block a user