Skip to content

1.0.0-alpha08

Choose a tag to compare

@Kyant0 Kyant0 released this 12 Sep 07:32

Dispersion

  • Fix dispersion doesn't take effect in the block variant liquidGlass modifier

Material

  • Remove the contrast modification in the default color filter

Highlight

  • Change to the more consistent highlight style APIs
data class GlassHighlight(
    val width: Dp,
    val color: Color,
    val blendMode: BlendMode,
    val style: GlassHighlightStyle = .Solid | .Soft | .Dynamic(angle, falloff)
)
  • Update dynamic highlight style to be more similar to Apple's
  • To disable the highlight effect, use highlight = null in GlassStyle.