mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-10-27 16:26:32 +01:00
renamed Whitebox to WhiteLabel
This commit is contained in:
@@ -2164,7 +2164,7 @@ class AdminController extends AdminBaseController
|
||||
}
|
||||
|
||||
$preview = $this->data['preview'] ?? false;
|
||||
$data = ['color_scheme' => $this->data['whitebox']['color_scheme'] ?? null];
|
||||
$data = ['color_scheme' => $this->data['whitelabel']['color_scheme'] ?? null];
|
||||
$output_file = $preview ? 'admin-preset.css' : 'admin-preset__tmp.css';
|
||||
|
||||
$options = [
|
||||
@@ -2172,7 +2172,7 @@ class AdminController extends AdminBaseController
|
||||
'output' => 'asset://' .$output_file
|
||||
];
|
||||
|
||||
[$compile_status, $msg] = $this->grav['admin-whitebox']->compileScss($data, $options);
|
||||
[$compile_status, $msg] = $this->grav['admin-whitelabel']->compileScss($data, $options);
|
||||
|
||||
$json_response = [
|
||||
'status' => $compile_status ? 'success' : 'error',
|
||||
|
||||
Reference in New Issue
Block a user