Replies: 1 comment 1 reply
-
Does anyone know if there is a way to do this in the meantime? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm making this as a feature request because I believe the current behavior is intended. However, the current behavior is confusing. So, this could probably also be listed as a bug report.
Basically, if I use
bg-gradient-to-{direction}
withbg-opacity-{#}
, I'd expect to get a gradient background with # opacity. However, at the momentbg-opacity-{#}
does nothing. So, my request is that the API be ammended to either applybg-opacity-{#}
to background gradients, or introduce a newbg-gradient-opacity-{#}
set of classes.An alternative would be to add
from-opacity-{#}
,via-opacity-{#}
, andto-opacity-{#}
class sets, but this seems like it might be too much bloat for only a small amount of extra control.Beta Was this translation helpful? Give feedback.
All reactions