original_string: public function loadSiteStyles()
      {
          $this->loadCdnStyles();
  
          $mainHandle = 'site';
          $this->loadMainStyleByHandle($mainHandle);
  
          $viewHandle = $this->getViewHandle();
  
          if (file_exists(sprintf('%s/css/views/%s.css', $this->paths->getThemeAssetsDir(), $viewHandle))) {
              $viewSrc = sprintf('%s/css/views/%s.css', $this->paths->getThemeAssetsUri(), $viewHandle);
              $this->loadStyle($viewHandle, $viewSrc, [$mainHandle]);
          }
      }
code: public function loadSiteStyles()
      {
          $this->loadCdnStyles();
  
          $mainHandle = 'site';
          $this->loadMainStyleByHandle($mainHandle);
  
          $viewHandle = $this->getViewHandle();
  
          if (file_exists(sprintf('%s/css/views/%s.css', $this->paths->getThemeAssetsDir(), $viewHandle))) {
              $viewSrc = sprintf('%s/css/views/%s.css', $this->paths->getThemeAssetsUri(), $viewHandle);
              $this->loadStyle($viewHandle, $viewSrc, [$mainHandle]);
          }
      }
code_tokens: public function loadSiteStyles ( ) { $ this -> loadCdnStyles ( ) ; $ mainHandle = 'site' ; $ this -> loadMainStyleByHandle ( $ mainHandle ) ; $ viewHandle = $ this -> getViewHandle ( ) ; if ( file_exists ( sprintf ( '%s/css/views/%s.css' , $ this -> paths -> getThemeAssetsDir ( ) , $ viewHandle ) ) ) { $ viewSrc = sprintf ( '%s/css/views/%s.css' , $ this -> paths -> getThemeAssetsUri ( ) , $ viewHandle ) ; $ this -> loadStyle ( $ viewHandle , $ viewSrc , [ $ mainHandle ] ) ; } }
docstring: Loads frontend styles
docstring_tokens: Loads frontend styles