GlassAccessibilitySettings
Semantic accessibility preferences that change how Glass separates itself from its content.
Haze deliberately does not read platform accessibility services from common code. Hosts map their platform settings to this value and provide it to the subtree that renders Glass.
Properties
Enforces minimum tone contrast and edge separation.
Opaque base for reduced-transparency fallback, or null for white in light and black in dark host appearance. Set it when the app theme differs from the host appearance.
Makes Glass materials more opaque by fully diffusing a stronger blur, so content behind them is less legible. Fallback rendering uses an opaque base that follows the system appearance supplied by the Compose host, not MaterialTheme or other in-app theme state. Set reducedTransparencyFallbackColor to match an in-app theme.
Enforces a visible edge without changing tone contrast.
Functions
Returns a copy of these settings with the given values replaced.