forced-color-adjust
Utilities for opting elements out of OS forced high-contrast color overrides, plus sr-only / not-sr-only screen-reader helpers.
ISS preview

Examples
Section titled “Examples”use iced::widget::text;use iss::{tw, TwExt};
let label = text("Close dialog").tw(tw!("sr-only sm:not-sr-only text-sm"));let swatch = container(dot).tw(tw!("forced-color-adjust-none size-4 rounded-full bg-blue-600"));use iss::typed::*;
let label_style = IssStyle::new().sr_only().sm(|s| s.not_sr_only());let swatch_style = IssStyle::new().forced_color_adjust_none().size(4).rounded_full();Class Reference
Section titled “Class Reference”| Tailwind Class | CSS Property / Effect | iss::typed Builder |
|---|---|---|
forced-color-adjust-auto |
forced-color-adjust: auto; |
.forced_color_adjust_auto() |
forced-color-adjust-none |
forced-color-adjust: none; |
.forced_color_adjust_none() |
sr-only |
Visually hidden with zero layout footprint; |
.sr_only() |
not-sr-only |
Restore normal visual display; |
.not_sr_only() |
Behavior Notes
Section titled “Behavior Notes”sr-onlycollapses visual and layout footprint while remaining toggleable responsively (for examplesr-only md:not-sr-only).