diff --git a/assets/includes/skins-menu/skins_menu.inc b/assets/includes/skins-menu/skins_menu.inc
index d853410..79601a2 100644
--- a/assets/includes/skins-menu/skins_menu.inc
+++ b/assets/includes/skins-menu/skins_menu.inc
@@ -1,4 +1,3 @@
-
 <?php
 
 use Drupal\Core\Language\Language;
@@ -447,12 +446,12 @@ function skmn_preprocess_page(&$variables){
         theme_get_setting("default_logo") && 
         theme_get_setting("toggle_logo")) {
 
-        $variables['logo'] = file_create_url(drupal_get_path('theme', $theme_key)) . "/css/colors/" . $current_skin . "/images/logo.png";
+        $variables['logo'] = \Drupal::service('file_url_generator')->generateAbsoluteString(\Drupal::service('extension.list.theme')->getPath($theme_key)) . "/css/colors/" . $current_skin . "/images/logo.png";
     }
     if (!empty($current_skin)) {
 
         /*$pathfile = drupal_get_path('theme', $theme_key) . "/css/colors/" . $current_skin . "/style.css";
-      
+
         if (file_exists($pathfile)) {
 
             drupal_add_css($pathfile, array(
diff --git a/zircon.theme b/zircon.theme
index a6f4008..161c289 100644
--- a/zircon.theme
+++ b/zircon.theme
@@ -4,7 +4,7 @@ use Drupal\Component\Utility\Xss;
 use Drupal\Core\Template\Attribute;
 
 $active_theme = \Drupal::theme()->getActiveTheme()->getName();
-include_once(drupal_get_path('theme', $active_theme) . '/assets/includes/skins-menu/skins_menu.inc');
+include_once(\Drupal::service('extension.list.theme')->getPath($active_theme) . '/assets/includes/skins-menu/skins_menu.inc');
 function zircon_preprocess_html(&$variables) {
     $is_front_page =  \Drupal::service('path.matcher')->isFrontPage();
   if ($is_front_page) {
