Open thany opened 2 weeks ago
gradient
only supports linear-gradient syntax
for example: gradient="to top right, rgba(100,115,201,.33), rgba(25,32,72,.7)"
or with you reproduction link: gradient="to bottom, white, black"
Oh I see. Can this be added to the documentation please?
And maybe generate a warning when in development mode. Otherwise it's like a silent fail, which is difficult to debug.
Environment
Vuetify Version: 3.5.16 Vue Version: 3.4.23 Browsers: Firefox 124.0 OS: Windows 10
Steps to reproduce
v-img__gradient
element, which doesn't do anything useful.Expected Behavior
That
v-img__gradient
item should probably contain the gradient specified in thegradient
prop.Actual Behavior
The gradient in the
gradient
prop has no effect.Reproduction Link
https://play.vuetifyjs.com/#...
Other comments
The documentation is ambiguous on what exactly the
gradient
prop is supposed to do, so we are left with nothing but the assumption that it is meant as a gradient overlay over the background image, and underneath the content, that is set usingsrc
.