concrete/src/Page/Theme/Theme.php
public function getStylesheet($stylesheet)
    {
        $stylesheet = $this->getStylesheetObject($stylesheet);
        $styleValues = $this->getThemeCustomStyleObjectValues();
        if (!is_null($styleValues)) {
            $stylesheet->setValueList($styleValues);
        }
        if (!$this->isThemePreviewRequest()) {
            if (!$stylesheet->outputFileExists() || !Config::get('concrete.cache.theme_css')) {
                $stylesheet->output();
            }
        }
        $path = $stylesheet->getOutputRelativePath();
        if ($this->isThemePreviewRequest()) {
            $path .= '?ts='.time();
        } else {
            $path .= '?ts='.filemtime($stylesheet->getOutputPath());
        }

        return $path;
    }
public function getStylesheet($stylesheet)
    {
        $stylesheet = $this->getStylesheetObject($stylesheet);
        $styleValues = $this->getThemeCustomStyleObjectValues();
        if (!is_null($styleValues)) {
            $stylesheet->setValueList($styleValues);
        }
        if (!$this->isThemePreviewRequest()) {
            if (!$stylesheet->outputFileExists() || !Config::get('concrete.cache.theme_css')) {
                $stylesheet->output();
            }
        }
        $path = $stylesheet->getOutputRelativePath();
        if ($this->isThemePreviewRequest()) {
            $path .= '?ts='.time();
        } else {
            $path .= '?ts='.filemtime($stylesheet->getOutputPath());
        }

        return $path;
    }
public function getStylesheet ( $ stylesheet ) { $ stylesheet = $ this -> getStylesheetObject ( $ stylesheet ) ; $ styleValues = $ this -> getThemeCustomStyleObjectValues ( ) ; if ( ! is_null ( $ styleValues ) ) { $ stylesheet -> setValueList ( $ styleValues ) ; } if ( ! $ this -> isThemePreviewRequest ( ) ) { if ( ! $ stylesheet -> outputFileExists ( ) || ! Config :: get ( 'concrete.cache.theme_css' ) ) { $ stylesheet -> output ( ) ; } } $ path = $ stylesheet -> getOutputRelativePath ( ) ; if ( $ this -> isThemePreviewRequest ( ) ) { $ path .= '?ts=' . time ( ) ; } else { $ path .= '?ts=' . filemtime ( $ stylesheet -> getOutputPath ( ) ) ; } return $ path ; }
Looks into the current CSS directory and returns a fully compiled stylesheet
when passed a LESS stylesheet. Also serves up custom value list values for the stylesheet if they exist.

@param string $stylesheet The LESS stylesheet to compile

@return string The path to the stylesheet
Looks into the current CSS directory and returns a fully compiled stylesheet when passed a LESS stylesheet . Also serves up custom value list values for the stylesheet if they exist .