line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package ColorTheme::JSON::Color::default_ansi; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
541
|
use strict; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
33
|
|
4
|
1
|
|
|
1
|
|
423
|
use parent 'ColorThemeBase::Static::FromStructColors'; |
|
1
|
|
|
|
|
302
|
|
|
1
|
|
|
|
|
6
|
|
5
|
1
|
|
|
1
|
|
2748
|
use Term::ANSIColor qw(:constants); |
|
1
|
|
|
|
|
8321
|
|
|
1
|
|
|
|
|
1792
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY |
8
|
|
|
|
|
|
|
our $DATE = '2023-07-02'; # DATE |
9
|
|
|
|
|
|
|
our $DIST = 'JSON-Color'; # DIST |
10
|
|
|
|
|
|
|
our $VERSION = '0.134'; # VERSION |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
1; |
32
|
|
|
|
|
|
|
# ABSTRACT: The default color theme for JSON::Color, using ANSI codes |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
__END__ |