Skip to content

Commit

Permalink
feat: add postCSS tool
Browse files Browse the repository at this point in the history
  • Loading branch information
BernhardBaumrock committed Jan 30, 2023
1 parent ebaf314 commit 1daaded
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion RockFrontend.module.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public static function getModuleInfo()
{
return [
'title' => 'RockFrontend',
'version' => '2.20.1',
'version' => '2.21.0',
'summary' => 'Module for easy frontend development',
'autoload' => true,
'singular' => true,
Expand Down Expand Up @@ -1957,6 +1957,19 @@ private function configTools(&$inputfields)
$fs = new InputfieldFieldset();
$fs->label = "Tools";

$f = new InputfieldText();
$f->name = "postCssTool";
$f->label = "PostCSS";
$f->notes = "Enter rfGrow/rfShrink CSS and save the page then you'll get the transformed CSS to copy paste.
Eg rfGrow(10px, 100px);";
$f->collapsed = 1;
$f->value = $this->postCssTool;
if ($f->value) {
$f->collapsed = 0;
$f->notes = $this->postCSS($f->value);
}
$fs->add($f);

$this->profileExecute();
$f = new InputfieldSelect();
$f->label = "Install Profile";
Expand Down

0 comments on commit 1daaded

Please sign in to comment.