Dist::Zilla::dumpphases::Role::Theme::SimpleColor - A role for themes that are simple single-color themes with variations of bold/uncolored.
version 1.000005
package Dist::Zilla::dumpphases::Theme::foo; use Moo; with 'Dist::Zilla::dumpphases::Role::Theme::SimpleColor'; sub color { 'magenta' }; ... dzil dumpphases --color-theme=foo
color
You must define a method called color that returns a string (or list of strings ) that Term::ANSIColor recognizes.
Term::ANSIColor
print_section_header
See "print_section_header" in Dist::Zilla::dumpphases::Role::Theme.
This satisfies that, printing label colored, and the value uncolored.
print_section_prelude
See "print_section_prelude" in Dist::Zilla::dumpphases::Role::Theme.
This satisfies that, printing label bold and colored, and the value simply colored.
print_star_assoc
See "print_star_assoc" in Dist::Zilla::dumpphases::Role::Theme.
This satisfies that, printing label uncolored, and the value simply colored.
Kent Fredric <kentnl@cpan.org>
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.
To install Dist::Zilla::App::Command::dumpphases, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Dist::Zilla::App::Command::dumpphases
CPAN shell
perl -MCPAN -e shell install Dist::Zilla::App::Command::dumpphases
For more information on module installation, please visit the detailed CPAN module installation guide.