fn build_theme(config: &config::Theme) -> String {
    format!(
        ":root {{
            --header-height: {}px;
            --header-padding: {}px;
            --navigation-color: {};
        }}",
        config.header_height,
        config.header_padding,
        config.color.navigation,
    )
}
// TODO: this function doesn't quite fit into this module, move it somewhere else.
this function doesn't quite fit into this module, move it somewhere else.
this function doesn ' t quite fit into this module move it somewhere else .
fn build_theme(config: &config::Theme) -> String {
    format!(
        ":root {{
            --header-height: {}px;
            --header-padding: {}px;
            --navigation-color: {};
        }}",
        config.header_height,
        config.header_padding,
        config.color.navigation,
    )
}
fn build_theme ( config : & config :: Theme ) -> String { format ! ( " " config header_height config header_padding config color navigation ) }
TODO: this function doesn't quite fit into this module, move it somewhere else.
TODO : this function doesn ' t quite fit into this module move it somewhere else .
config
&config::Theme