ColorTheme/JSON/Color/default_rgb.pm

filter: Statementstmt 100% 16 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 19 / 19 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« ColorTheme/JSON/Color/default_ansi.pm ↑ Summary
1 package ColorTheme::JSON::Color::default_rgb;
2  
3 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use parent 'ColorThemeBase::Static::FromStructColors';
Subroutine BEGIN: called CC=1 SCAR=0.0
5 1 ▶use Graphics::ColorNamesLite::WWW;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 1 our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY
8 1 our $DATE = '2021-11-24'; # DATE
9 1 our $DIST = 'JSON-Color'; # DIST
10 1 our $VERSION = '0.133'; # VERSION
11  
12 1 my $t = $Graphics::ColorNamesLite::WWW::NAMES_RGB_TABLE;
13  
14 our %THEME = (
15 v => 2,
16 summary => 'The default color theme for JSON::Color, using RGB color codes',
17 items => {
18 string_quote => $t->{forestgreen},
19 string => $t->{green},
20 string_escape => $t->{greenyellow},
21 number => $t->{darkmagenta},
22 true => $t->{cyan},
23 false => $t->{darkcyan},
24 null => $t->{blue},
25 object_key => $t->{darkmagenta},
26 object_key_quote => $t->{darkmagenta},
27 object_key_escape => $t->{magenta},
28 linum => {bg=>$t->{white}, fg=>$t->{black}},
29 },
30 1 );
31  
32 1 1;
33 # ABSTRACT: The default color theme for JSON::Color, using RGB color codes
34  
35 __END__
« ColorTheme/JSON/Color/default_ansi.pm ↑ Summary