dioxus_tailwindcss/
dark_mode.rs

1use crate::ext::*;
2
3// https://tailwindcss.com/docs/dark-mode
4/// dark:
5pub fn dark(v: &str) -> String {
6    "dark:".to_owned() + v
7}
8
9// Can not have both modifier and constant with same name, so adding an extra understore
10constant!(dark_);
11