diff --git a/classes/plugin/Whitebox.php b/classes/plugin/Whitebox.php index 1649218d..b6cc634d 100644 --- a/classes/plugin/Whitebox.php +++ b/classes/plugin/Whitebox.php @@ -31,7 +31,7 @@ class Whitebox $locator = $this->grav['locator']; $admin_in_base = $locator->findResource('plugin://admin/themes/grav/scss'); - $custom_out_base = $locator->findResource('plugin://admin-whitebox/css-compiled'); + $custom_out_base = $locator->findResource('plugin://admin/themes/grav/css-compiled'); $preset_in_path = $admin_in_base .'/preset.scss'; $preset_out_path = $custom_out_base . '/'.$filenames['preset'].'.css'; diff --git a/themes/grav/templates/partials/stylesheets.html.twig b/themes/grav/templates/partials/stylesheets.html.twig index ee6419d8..ee9de2a8 100644 --- a/themes/grav/templates/partials/stylesheets.html.twig +++ b/themes/grav/templates/partials/stylesheets.html.twig @@ -1,6 +1,6 @@ {% do assets.addCss(theme_url~'/css-compiled/nucleus.css') %} {% do assets.addCss(theme_url~'/css-compiled/template.css') %} -{% do assets.addCss(preset_url~'/css-compiled/preset.css') %} +{% do assets.addCss(theme_url~'/css-compiled/preset.css') %} {% if config.plugins.admin.google_fonts %} {% do assets.addCss(theme_url~'/css-compiled/fonts.css') %} {% else %}