hover:opacity-{value}: Changes opacity on mouse hover
focus:opacity-{value}: Changes opacity when element receives focus
active:opacity-{value}: Changes opacity when element is active/pressed
group-hover:opacity-{value}: Changes opacity when parent with .group class is hovered
Animation:
transition-opacity: Adds smooth transition when opacity changes
Responsive: all opacity classes support responsive variants using the @breakpoint suffix:
opacity-50@sm: 50% opacity on small screens and up
hover:opacity-100@md: Full opacity on hover for medium screens and up
Available breakpoints: xs, sm, md, lg, xl, 2xl
Customization: opacity values are defined in the $opacities map (config/_opacity.scss) and emitted as --wu-opacity-{key} tokens.
Transition timing can be customized via CSS variables.
See also the transitions utilities (utilities/_transitions.scss).
Generated from the doc blocks in the core source when the site is built, so it always matches the current release of @wovenui/core. Every example is compiled against core during the build; open Compiled CSSunder an example to see its output. Guide: Opacity. The A to Z index lists every public mixin and function.
Sets opacity from a $opacities key, emitted as var(--wu-opacity-*) as in .opacity-50, or passes a percentage, calc(), var() or CSS-wide keyword through; a bare 0.5 raises an error.