Skip to content

Commit

Permalink
including epub styles in init command
Browse files Browse the repository at this point in the history
  • Loading branch information
roberto-butti committed Dec 21, 2023
1 parent 93ddcbf commit 3db2683
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Commands/EpubCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
namespace Ibis\Commands;

use Ibis\Ibis;
use Mpdf\Mpdf;
use SplFileInfo;
use Mpdf\Config\FontVariables;
use Mpdf\Config\ConfigVariables;
Expand Down
4 changes: 4 additions & 0 deletions src/Commands/InitCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,10 @@ public function execute(InputInterface $input, OutputInterface $output): int
$this->disk->get(__DIR__ . '/../../stubs/assets/theme-light.html')
);

$this->disk->put(
$currentPath . '/assets/style.css',
$this->disk->get(__DIR__ . '/../../stubs/assets/style.css')
);
$this->output->writeln('');
$this->output->writeln('<info>Done!</info>');

Expand Down

0 comments on commit 3db2683

Please sign in to comment.