function olivero_post_update_add_olivero_primary_color

Sets the default `base_primary_color` value of Olivero's theme settings.

File

core/themes/olivero/olivero.post_update.php, line 11

Code

function olivero_post_update_add_olivero_primary_color() {
    \Drupal::configFactory()->getEditable('olivero.settings')
        ->set('base_primary_color', '#1b9ae4')
        ->save();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.