Allow negative shadow spread

This commit is contained in:
LunarEclipse
2025-03-09 18:55:17 +01:00
committed by Ivan Molodetskikh
parent bd927b54e0
commit 3b1bf34e21
3 changed files with 19 additions and 4 deletions
+1
View File
@@ -372,6 +372,7 @@ Set `on` to enable the shadow.
Setting `softness 0` will give you hard shadows.
`spread` is the distance to expand the window rectangle in logical pixels, same as [CSS box-shadow] spread.
<sup>Since: next release</sup> Spread can be negative.
`offset` moves the shadow relative to the window in logical pixels, same as [CSS box-shadow] offset.
For example, `offset x=2 y=2` will move the shadow 2 logical pixels downwards and to the right.