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]);
        }
    }
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]);
        }
    }
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 ] ) ; } }
Loads frontend styles
Loads frontend styles