How to access individual theme settings from code?
It seems this is actually the recommended way. It is used in theme_get_settings() as well:

$theme = \Drupal::theme()-&gt;getActiveTheme()-&gt;getName();
...
  if ($theme_settings = \Drupal::config($theme . '.settings')-&gt;get()) {
    ...
  }