Skip to content

Commit

Permalink
Console: remove dead style code
Browse files Browse the repository at this point in the history
  • Loading branch information
julien-boudry committed Mar 12, 2023
1 parent 9a2f56b commit 3dcf8f4
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions src/Console/Style/CondorcetStyle.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,15 +95,15 @@ public function instruction(string $prefix, string $message): void
$this->writeln("<condor1b>{$prefix}:</> <condor2>{$message}</>");
}

public function section(string $message): void
{
$this->block(
messages: $message,
type: null,
style: 'fg='.self::CONDORCET_MAIN_COLOR.';bg='.self::CONDORCET_SECONDARY_COLOR.';options=bold',
padding: false
);
}
// public function section(string $message): void
// {
// $this->block(
// messages: $message,
// type: null,
// style: 'fg='.self::CONDORCET_MAIN_COLOR.';bg='.self::CONDORCET_SECONDARY_COLOR.';options=bold',
// padding: false
// );
// }

public function methodResultSection(string $message): void
{
Expand Down Expand Up @@ -131,15 +131,15 @@ public function note(string|array $message): void
$this->block(messages: $message, style: 'fg=gray');
}

public function success(string|array $message): void
{
$this->block(
messages: $message,
type: 'OK',
style: 'fg='.self::CONDORCET_MAIN_COLOR.';bg='.self::CONDORCET_SECONDARY_COLOR.';options=bold',
padding: true
);
}
// public function success(string|array $message): void
// {
// $this->block(
// messages: $message,
// type: 'OK',
// style: 'fg='.self::CONDORCET_MAIN_COLOR.';bg='.self::CONDORCET_SECONDARY_COLOR.';options=bold',
// padding: true
// );
// }

public function version(): void
{
Expand Down

0 comments on commit 3dcf8f4

Please sign in to comment.