Skip to content

Add support for bright colours in symfony/console #39869

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
CupOfTea696 opened this issue Jan 18, 2021 · 2 comments · Fixed by #39976
Closed

Add support for bright colours in symfony/console #39869

CupOfTea696 opened this issue Jan 18, 2021 · 2 comments · Fixed by #39976

Comments

@CupOfTea696
Copy link
Contributor

Description
Allow using the "bright" ANSI colours in symfony/console. This would be ANSI escape codes 90-97 and 100-107.

Example

// Using underscores for naming
$output->writeln('<fg=bright_red;bg=blue>foo</>');
$output->writeln('<fg=black;bg=bright_green>foo</>');

// Using dashes for naming
$output->writeln('<fg=bright-red;bg=blue>foo</>');
$output->writeln('<fg=black;bg=bright-green>foo</>');
@OskarStark
Copy link
Contributor

Are you willing to provide a PR?

@CupOfTea696
Copy link
Contributor Author

@OskarStark can do, might take some time cuz i'm quite busy atm, tho

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants