++ed by:
SHARYANTO LXP AYOUNG PERLANCAR JRMASH

6 PAUSE user(s)
1 non-PAUSE user(s).

Kent Fredric
and 2 contributors

NAME

Dist::Zilla::dumpphases::Role::Theme::SimpleColor - A role for themes that are simple single-color themes with variations of bold/uncolored.

VERSION

version 1.000005

SYNOPSIS

    package Dist::Zilla::dumpphases::Theme::foo;

    use Moo;
    with 'Dist::Zilla::dumpphases::Role::Theme::SimpleColor';
    sub color { 'magenta' };

    ...

    dzil dumpphases --color-theme=foo

REQUIRED METHODS

color

You must define a method called color that returns a string (or list of strings ) that Term::ANSIColor recognizes.

METHODS

See "print_section_header" in Dist::Zilla::dumpphases::Role::Theme.

This satisfies that, printing label colored, and the value uncolored.

See "print_section_prelude" in Dist::Zilla::dumpphases::Role::Theme.

This satisfies that, printing label bold and colored, and the value simply colored.

See "print_star_assoc" in Dist::Zilla::dumpphases::Role::Theme.

This satisfies that, printing label uncolored, and the value simply colored.

AUTHOR

Kent Fredric <kentnl@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2014 by Kent Fredric <kentnl@cpan.org>.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.