Skip to content

Commit

Permalink
fix(theming): properly apply warning style to update output
Browse files Browse the repository at this point in the history
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
  • Loading branch information
st3iny committed Jun 19, 2024
1 parent 42fa007 commit 9c93014
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/theming/lib/Command/UpdateConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,9 @@ protected function execute(InputInterface $input, OutputInterface $output): int
$value = $this->imageManager->updateImage($key, $value);
$key = $key . 'Mime';
}

if ($key === 'color') {
$output->writeln('<warning>Using "color" is depreacted, use "primary_color" instead');
$output->writeln('<comment>Using "color" is deprecated, use "primary_color" instead</comment>');
$key = 'primary_color';
}

Expand Down

0 comments on commit 9c93014

Please sign in to comment.