Skip to content

Custom styles can not have style modifiers set in any order as advertised #114

@kodie

Description

@kodie

Example:

\Ahc\Cli\Output\Color::style('alert', ['fg' => Ahc\Cli\Output\Color::YELLOW]);
$writer = new Writer();

// This works
$writer->alertBold('alert');
$writer->colors('<alertBold>alert</end>');

// Currently doesn't work
$writer->boldAlert('alert');
$writer->colors('<boldAlert>alert</end>');

Fixed by #111

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions