layoutcss_parser/utilities/
line_height.rs

1
2
3
4
5
6
7
8
9
10
11
use indoc::formatdoc;
use std::collections::HashSet;
pub fn line_height_css(value: &str, set: &mut HashSet<String>) {
    set.insert(formatdoc!(
        r#"
        [layout~="line-height:{value}"]{{
            line-height: {value};
        }}
        "#
    ));
}