. */ /** * Css * * Manages stylesheets. * * @since 4.7.0 * @package Skin */ namespace Textpattern\Skin; class Css extends AssetBase implements CssInterface { protected static $extension = 'css'; protected static $dir = 'styles'; protected static $fileContentsField = 'css'; protected static $mimeTypes = array(); protected static $essential = array( array( 'name' => 'default', 'css' => '/* Contents of the css tag goes here. See https://docs.textpattern.com/tags/css */' ), ); /** * {@inheritdoc} */ public function setInfos( $name, $css = null ) { $name = $this->setName($name)->getName(); $this->infos = compact('name', 'css'); return $this; } }