Skip to main content

theme_setting_set

Function theme_setting_set 

Source
pub fn theme_setting_set(
    config: &Config,
    discourse_name: &str,
    theme_id: u64,
    key: &str,
    value: &str,
    dry_run: bool,
) -> Result<()>
Expand description

Set a single theme/component setting. The value is sent verbatim, so a JSON-schema list setting takes its JSON text directly.