blib/lib/Astro/Montenbruck/Utils/Theme/Dark.pm untested

filter: Statementstmt 0.0% 0 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 22 CC 1 SCAR 6.9
CC
1
Cov
0%
new
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Astro::Montenbruck::Utils::Theme::Dark;
2  
3 use strict;
4 use warnings;
5  
6 use base qw/Astro::Montenbruck::Utils::Theme/;
7 use Readonly;
8  
9 Readonly::Hash our %SCHEME => (
10 data_row_title => 'white',
11 data_row_data => 'bright_white',
12 data_row_selected => 'bright_yellow',
13 table_row_title => 'white',
14 table_row_data => 'bright_yellow',
15 table_row_error => 'red',
16 table_col_title => 'white'
17 );
18  
19 our $VERSION = 0.01;
20  
21 sub new {
22 my $class = shift;
23 $class->SUPER::new( name => 'dark', scheme => \%SCHEME);
24 }
25  
26 1;
27  
28  
29 =pod
30  
31 =encoding UTF-8
32  
33 =head1 NAME
34 Astro::Montenbruck::Utils::Theme::Light - Console theme, for dark terminals.
35  
36 =head1 SYNOPSIS
37  
38 use Astro::Montenbruck::Utils::Theme;
39
40 my $theme = Astro::Montenbruck::Utils::Theme->create('dark');
41  
42  
43 =head1 DESCRIPTION
44  
45 Child class of LAstro::Montenbruck::Utils::Theme>, for dark terminals.
46 It uses the following colors scheme:
47  
48 (
49 data_row_title => 'white',
50 data_row_data => 'bright_white',
51 data_row_selected => 'bright_yellow',
52 table_row_title => 'white',
53 table_row_data => 'bright_yellow',
54 table_row_error => 'red',
55 table_col_title => 'white'
56 );
57  
58  
59 =head1 METHODS
60  
61 See he parent class L<Astro::Montenbruck::Utils::Theme>.
62  
63 =head1 AUTHOR
64  
65 Sergey Krushinsky, C<< <krushi at cpan.org> >>
66  
67 =head1 COPYRIGHT AND LICENSE
68  
69 Copyright (C) 2009-2022 by Sergey Krushinsky
70  
71 This library is free software; you can redistribute it and/or modify
72 it under the same terms as Perl itself.
73  
74 =cut