public function customize( $type, $scss, $overrides = [] ) {
		$scss = $this->applyOverrides( $scss, $overrides );

		// Apply Theme Options
		if ( $type === 'prince' ) {
			$scss = apply_filters( 'pb_pdf_css_override', $scss );
		} else {
			$scss = apply_filters( "pb_{$type}_css_override", $scss );
		}

		if ( $this->isCurrentThemeCompatible( 1 ) ) {
			$css = $this->sass->compile(
				$scss,
				[
					$this->sass->pathToUserGeneratedSass(),
					$this->sass->pathToPartials(),
					$this->sass->pathToFonts(),
					$this->getDir(),
				]
			);
		} elseif ( $this->isCurrentThemeCompatible( 2 ) ) {
			$css = $this->sass->compile(
				$scss,
				$this->sass->defaultIncludePaths( $type )
			);
		} elseif ( CustomCss::isCustomCss() ) {
			// Compile pressbooks-book web stylesheet when using the *DEPRECATED* Custom CSS theme
			$custom_css_includes = $this->sass->defaultIncludePaths( $type, wp_get_theme( 'pressbooks-book' ) );
			// Append deprecated partials path last, in case we can't find old stuff in previous paths
			$custom_css_includes[] = $this->sass->pathToPartials();
			$css = $this->sass->compile(
				$scss,
				$custom_css_includes
			);
		} else {
			$css = $this->injectHouseStyles( $scss );
		}

		return $css;
	}