src/View/Requirements_Backend.php
public function themedCSS($name, $media = null)
    {
        $path = ThemeResourceLoader::inst()->findThemedCSS($name, SSViewer::get_themes());
        if ($path) {
            $this->css($path, $media);
        } else {
            throw new InvalidArgumentException(
                "The css file doesn't exist. Please check if the file $name.css exists in any context or search for "
                . "themedCSS references calling this file in your templates."
            );
        }
    }
public function themedCSS($name, $media = null)
    {
        $path = ThemeResourceLoader::inst()->findThemedCSS($name, SSViewer::get_themes());
        if ($path) {
            $this->css($path, $media);
        } else {
            throw new InvalidArgumentException(
                "The css file doesn't exist. Please check if the file $name.css exists in any context or search for "
                . "themedCSS references calling this file in your templates."
            );
        }
    }
public function themedCSS ( $ name , $ media = null ) { $ path = ThemeResourceLoader :: inst ( ) -> findThemedCSS ( $ name , SSViewer :: get_themes ( ) ) ; if ( $ path ) { $ this -> css ( $ path , $ media ) ; } else { throw new InvalidArgumentException ( "The css file doesn't exist. Please check if the file $name.css exists in any context or search for " . "themedCSS references calling this file in your templates." ) ; } }
Registers the given themeable stylesheet as required.

A CSS file in the current theme path name 'themename/css/$name.css' is first searched for,
and it that doesn't exist and the module parameter is set then a CSS file with that name in
the module is used.

@param string $name The name of the file - eg '/css/File.css' would have the name 'File'
@param string $media Comma-separated list of media types to use in the link tag
(e.g. 'screen,projector')
Registers the given themeable stylesheet as required .