ColorTheme/JSON/Color/default_ansi.pm

filter: Statementstmt 100% 15 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 18 / 18 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« JSON/Color.pm ↑ Summary ColorTheme/JSON/Color/default_rgb.pm »
1 package ColorTheme::JSON::Color::default_ansi;
2  
3 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 2 ▶use parent 'ColorThemeBase::Static::FromStructColors';
Subroutine BEGIN: called CC=1 SCAR=0.0
5 2 ▶use Term::ANSIColor qw(:constants);
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 2 our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY
8 2 our $DATE = '2021-11-24'; # DATE
9 2 our $DIST = 'JSON-Color'; # DIST
10 2 our $VERSION = '0.133'; # VERSION
11  
12 2 our %THEME = (
13 v => 2,
14 summary => 'The default color theme for JSON::Color, using ANSI codes',
15 items => {
16 string_quote => {ansi_fg=>BOLD . BRIGHT_GREEN},
17 string => {ansi_fg=>GREEN},
18 string_escape => {ansi_fg=>BOLD},
19 number => {ansi_fg=>BOLD . BRIGHT_MAGENTA},
20 true => {ansi_fg=>BOLD . CYAN},
21 false => {ansi_fg=>CYAN},
22 bool => {ansi_fg=>CYAN},
23 null => {ansi_fg=>BOLD . BLUE},
24 object_key => {ansi_fg=>MAGENTA},
25 object_key_quote => {ansi_fg=>MAGENTA},
26 object_key_escape => {ansi_fg=>BOLD},
27 linum => {ansi_fg=>REVERSE . WHITE},
28 },
29 );
30  
31 2 1;
32 # ABSTRACT: The default color theme for JSON::Color, using ANSI codes
33  
34 __END__
« JSON/Color.pm ↑ Summary ColorTheme/JSON/Color/default_rgb.pm »