protected function generateCss() {
		$styles = Container::get( 'Styles' );
		$scss = $this->getScssVars();

		if ( $styles->isCurrentThemeCompatible( 1 ) ) {
			$scss .= "@import 'fonts-prince'; \n";
		} elseif ( $styles->isCurrentThemeCompatible( 2 ) ) {
			$scss .= "@import 'fonts'; \n";
		}
		$scss .= \Pressbooks\Utility\get_contents( PB_PLUGIN_DIR . 'assets/covergenerator/_jpg.scss' );

		$css = $styles->customize( 'prince', $scss );
		$css = \Pressbooks\Sanitize\normalize_css_urls( $css );

		if ( WP_DEBUG ) {
			Container::get( 'Sass' )->debug( $css, $scss, 'cover-jpg' );
		}

		return $css;
	}
protected function generateCss() {
		$styles = Container::get( 'Styles' );
		$scss = $this->getScssVars();

		if ( $styles->isCurrentThemeCompatible( 1 ) ) {
			$scss .= "@import 'fonts-prince'; \n";
		} elseif ( $styles->isCurrentThemeCompatible( 2 ) ) {
			$scss .= "@import 'fonts'; \n";
		}
		$scss .= \Pressbooks\Utility\get_contents( PB_PLUGIN_DIR . 'assets/covergenerator/_jpg.scss' );

		$css = $styles->customize( 'prince', $scss );
		$css = \Pressbooks\Sanitize\normalize_css_urls( $css );

		if ( WP_DEBUG ) {
			Container::get( 'Sass' )->debug( $css, $scss, 'cover-jpg' );
		}

		return $css;
	}
protected function generateCss ( ) { $ styles = Container :: get ( 'Styles' ) ; $ scss = $ this -> getScssVars ( ) ; if ( $ styles -> isCurrentThemeCompatible ( 1 ) ) { $ scss .= "@import 'fonts-prince'; \n" ; } elseif ( $ styles -> isCurrentThemeCompatible ( 2 ) ) { $ scss .= "@import 'fonts'; \n" ; } $ scss .= \ Pressbooks \ Utility \ get_contents ( PB_PLUGIN_DIR . 'assets/covergenerator/_jpg.scss' ) ; $ css = $ styles -> customize ( 'prince' , $ scss ) ; $ css = \ Pressbooks \ Sanitize \ normalize_css_urls ( $ css ) ; if ( WP_DEBUG ) { Container :: get ( 'Sass' ) -> debug ( $ css , $ scss , 'cover-jpg' ) ; } return $ css ; }
Generate CSS for Ebook JPG cover

@return string the generated CSS
Generate CSS for Ebook JPG cover