Skip to content

Commit

Permalink
Merge pull request #45980 from nextcloud/fix/theming/update-warning
Browse files Browse the repository at this point in the history
fix(theming): properly apply warning style to update output
  • Loading branch information
st3iny authored Jun 20, 2024
2 parents 392ee62 + 9c93014 commit c925290
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 c925290

Please sign in to comment.