So... I have some code:
rsx!{
document::Style {
r#"
body:has(.project) {{
background-color: {bg.color};
}}
"#
}
}
The problem is that this leads to a buildup of style tags when navigating around my page. This is probably not good, but the :has selector works for me as a band-aid fix. Is there a better fix out there?