invert
Utilities for inverting the color channels of an element subtree.
ISS preview

Examples
Section titled “Examples”use iced::widget::container;use iss::{tw, TwExt};
let glyph = container(img).tw(tw!("dark:invert"));use iss::typed::*;
let style = IssStyle::new().dark(|s| s.invert());Class Reference
Section titled “Class Reference”| Tailwind Class | CSS Property / Effect | iss::typed Builder |
|---|---|---|
invert |
filter: invert(100%); |
.invert() |
invert-0 |
filter: invert(0%); |
.invert_0() |
invert-50 / invert-[0.2] |
Partial color inversion; |
.invert_pct(50.0) |