~eliasnaur/gio#109: 
Support gradient/drop-shadow

Currently all buttons and elements have an solid color, would be nice if we have gradient colors. Also, support for shadows (like CSS equivalent of box-shadow: 0px 8px 14px 2px rgba(0,0,0,0.19);).

There's any plans to support that or any alternative to do that currently?

Status
REPORTED
Submitter
~inkeliz
Assigned to
No-one
Submitted
2 months ago
Updated
2 months ago
Labels
No labels applied.

~eliasnaur 2 months ago

On Wed May 6, 2020 at 08:10, ~inkeliz wrote:

Currently all buttons and elements have an solid color, would be nice if we have gradient colors. Also, support for shadows (like CSS equivalent of box-shadow: 0px 8px 14px 2px rgba(0,0,0,0.19);).

There's any plans to support that or any alternative to do that currently?

Both would be nice.

I recently implemented a poor man's drop-shadow for Switch using a translucent disc:

https://git.sr.ht/~eliasnaur/gio/tree/master/widget/material/switch.go#L64

~inkeliz referenced this from #110 2 months ago

~inkeliz 2 months ago

Thank you, ~eliasnaur. I'll take an look on the code to see if I can re-use that. (:

~eliasnaur referenced this from #110 2 months ago

Register here or Log in to comment, or comment via email.