color-scheme
Utilities for declaring light or dark system control color schemes on a subtree.
ISS preview

Examples
Section titled “Examples”use iced::widget::container;use iss::{tw, TwExt};
let panel = container(controls).tw(tw!("scheme-light dark:scheme-dark bg-white dark:bg-zinc-900 p-4 rounded-xl"));use iss::typed::*;
let style = IssStyle::new().scheme_light().dark(|s| s.scheme_dark());Class Reference
Section titled “Class Reference”| Tailwind Class | CSS Property / Effect | iss::typed Builder |
|---|---|---|
scheme-normal |
color-scheme: normal; |
.scheme_normal() |
scheme-dark / scheme-light |
color-scheme: dark / light; |
.scheme_dark() / .scheme_light() |
scheme-light-dark |
color-scheme: light dark; |
.scheme_light_dark() |
scheme-only-dark / scheme-only-light |
color-scheme: only dark / only light; |
.scheme_only_dark() |