| @@ -163,6 +163,9 @@ discard block | ||
| 163 | 163 | ); | 
| 164 | 164 | } | 
| 165 | 165 | |
| 166 | + /** | |
| 167 | + * @param string $content | |
| 168 | + */ | |
| 166 | 169 | private function handleThemeImports(&$content) | 
| 167 | 170 |      { | 
| 168 | 171 | if (($themeName = $this->configuration->getTheme())) | 
| @@ -172,6 +175,9 @@ discard block | ||
| 172 | 175 | } | 
| 173 | 176 | } | 
| 174 | 177 | |
| 178 | + /** | |
| 179 | + * @return string | |
| 180 | + */ | |
| 175 | 181 | public static function stringToFormatter($format) | 
| 176 | 182 |      { | 
| 177 | 183 | if ($format == 'nested') | 
| @@ -167,8 +167,8 @@ | ||
| 167 | 167 |      { | 
| 168 | 168 | if (($themeName = $this->configuration->getTheme())) | 
| 169 | 169 |          { | 
| 170 | -            $themePath = "../_themes/${themeName}/_sass"; | |
| 171 | -            $content = preg_replace("/(@import ['\"])(@theme)(.+)/", "$1${themePath}$3", $content); | |
| 170 | +            $themePath = "../_themes/${themename}/_sass"; | |
| 171 | +            $content = preg_replace("/(@import ['\"])(@theme)(.+)/", "$1${themepath}$3", $content); | |
| 172 | 172 | } | 
| 173 | 173 | } | 
| 174 | 174 | |