Default value for form_system_theme_settings_alter I'm trying to set some theme settings, and I can't figure out how to have my settings get their default value, which should be obviously the currently set value.

Here's an example:

$form['navbar_layout'] = array(
    '#type'          =&gt; 'radios',
    '#options'       =&gt; array(
        0 =&gt; 'Logo left, Menu right',
        1 =&gt; 'Logo right, Menu left',
    ),
    '#default_value' =&gt; theme_get_setting('navbar_layout'),
    '#title'         =&gt; t('Navbar\'s Layout'),
    '#description'   =&gt; t("Choose the layout of the navbar."),
);


Each time I'll access the theme settings page, no box will be checked, despite the fact theme_get_setting() correctly returns the right value.
I think it will only execute if you save the theme settings page. If you want to have the default work upon theme activation you have to have your setting in your theme's .info file. I could be wrong.