jss 0.6.2

Create dynamic css easily using json notation
Documentation
1
2
3
4
5
6
use std::fmt::Display;

/// the rgb css function
pub fn rgb(r: impl Display, g: impl Display, b: impl Display) -> String {
    format!("rgb({r}, {g}, {b})")
}