App-GitGot

 view release on metacpan or  search on metacpan

lib/App/GitGot/Outputter/light.pm  view on Meta::CPAN

package App::GitGot::Outputter::light;
our $AUTHORITY = 'cpan:GENEHACK';
$App::GitGot::Outputter::light::VERSION = '1.339';
# ABSTRACT: Color scheme appropriate for dark terminal backgrounds
use 5.014;

use Types::Standard -types;

use App::GitGot::Types;

use Moo;
extends 'App::GitGot::Outputter';
use namespace::autoclean;

has color_error => (
  is      => 'ro' ,
  isa     => Str ,
  default => 'bold red'
);

# Color choices by drdrang based on a conversation that started with
# <http://www.leancrew.com/all-this/2010/12/batch-comparison-of-git-repositories/>

has color_major_change => (
  is      => 'ro' ,
  isa     => Str ,
  default => 'blue'
);

has color_minor_change => (
  is      => 'ro' ,
  isa     => Str ,
  default => 'uncolored'
);

has color_warning => (
  is      => 'ro' ,
  isa     => Str ,
  default => 'bold magenta'
);


1;

__END__

=pod

=encoding UTF-8

=head1 NAME

App::GitGot::Outputter::light - Color scheme appropriate for dark terminal backgrounds

=head1 VERSION

version 1.339

=for Pod::Coverage color_error color_major_change color_minor_change color_warning

=head1 AUTHOR

John SJ Anderson <john@genehack.org>

=head1 COPYRIGHT AND LICENSE

This software is copyright (c) 2020 by John SJ Anderson.

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

=cut



( run in 0.722 second using v1.01-cache-2.11-cpan-f56aa216473 )