Skip to content

Add support for bright colours in symfony/console #39869

Closed
@CupOfTea696

Description

@CupOfTea696

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</>');

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions