rio icon indicating copy to clipboard operation
rio copied to clipboard

Add FrostedGlassFill fill type

Open 16amattice opened this issue 9 months ago • 0 comments

What does it do?

Added a new Fill type called FrostedGlassFill. This new fill type allows users to specify a color using RGB format (so you can specify the opacity of the color) and a blur in px, which is later converted to rem.

Why is it needed?

I wanted a way to be able to have see-through components with a blur added.

How to test it?

Create a rectangle and set the fill to FrostedGlassFill, providing color and blur. ex: fill=rio.FrostedGlassFill(rio.Color.from_rgb(0, 0, 0, 0.4), 10),

16amattice avatar May 26 '24 20:05 16amattice