How do I add custom theme settings? In my theme I have link to social network. So, I would like to have field in theme settings where administrator can put link what would be use in all place where is {{link-social-network}}.

&lt;a href="{{link-social-network}}" class="btn-social btn-outline"&gt;&lt;i class="fa fa-fw fa-facebook"&gt;&lt;/i&gt;&lt;/a&gt;


I also read that theme settings default values can not be set in a theme's info.yml files.

The theme's config/install/THEME.settings.yml file should have that information.
You can create new file and call it as theme-settings.php and add the following to it or even add this to THEME_NAME.theme file.

use Drupal\Core\Form\FormStateInterface;
use Drupal\Core\Theme\ThemeSettings;
use Drupal\system\Form\ThemeSettingsForm;
use Drupal\Core\Form;

function THEME_NAME_form_system_theme_settings_alter(&amp;$form, Drupal\Core\Form\FormStateInterface $form_state) {
  $form['THEME_NAME_settings']['social_icon']['social_url'] = array(
    '#type' =&gt; 'textfield',
    '#title' =&gt; t('Social Link'),
    '#default_value' =&gt; theme_get_setting('social_url', 'THEME_NAME'),
  );
}


Then you need to add the following to THEME_NAME.theme file.

function THEME_NAME_preprocess_page(&amp;$variables) {
  $variables['social_url'] = theme_get_setting('social_url','THEME_NAME');
}


Then you can use it in the twig file.

&lt;a href="{{ social_url }}" class="btn-social btn-outline"&gt;&lt;i class="fa fa-fw fa-facebook"&gt;&lt;/i&gt;&lt;/a&gt;


To have a default value for the social url, you can include it in your  config/install/THEME.settings.yml

Hope it helps!