File Coverage

blib/lib/Color/Library/Dictionary/Tango.pm
Criterion Covered Total %
statement 10 11 90.9
branch n/a
condition n/a
subroutine 4 5 80.0
pod n/a
total 14 16 87.5


line stmt bran cond sub pod time code
1             package Color::Library::Dictionary::Tango;
2              
3 2     2   1900 use strict;
  2         4  
  2         75  
4 2     2   11 use warnings;
  2         5  
  2         69  
5              
6 2     2   10 use base qw/Color::Library::Dictionary/;
  2         41  
  2         1055  
7              
8             __PACKAGE__->_register_dictionary;
9              
10             package Color::Library::Dictionary::Tango;
11              
12             =pod
13              
14             =head1 NAME
15              
16             Color::Library::Dictionary::Tango - (Tango) The Tango color palette
17              
18             =head1 DESCRIPTION
19              
20             The Tango icon theme's goal is to make applications not seem alien on any desktop. A user running a multiplatform application should not have the impression that the look is unpolished and inconsistent with what he or she is used to. While this isn't about merging styles of all desktop systems, we do aim to not be drastically different on each platform.
21              
22             The Tango color palette consists of 27 RGB colors.
23              
24             L
25              
26             =head1 COLORS
27              
28             Aluminium 1 aluminium1 #eeeeec
29              
30             Aluminium 2 aluminium2 #d3d7cf
31              
32             Aluminium 3 aluminium3 #babdb6
33              
34             Aluminium 4 aluminium4 #888a85
35              
36             Aluminium 5 aluminium5 #555753
37              
38             Aluminium 6 aluminium6 #2e3436
39              
40             Butter 1 butter1 #fce94f
41              
42             Butter 2 butter2 #edd400
43              
44             Butter 3 butter3 #c4a000
45              
46             Chameleon 1 chameleon1 #8ae234
47              
48             Chameleon 2 chameleon2 #73d216
49              
50             Chameleon 3 chameleon3 #4e9a06
51              
52             Chocolate 1 chocolate1 #e9b96e
53              
54             Chocolate 2 chocolate2 #c17d11
55              
56             Chocolate 3 chocolate3 #8f5902
57              
58             Orange 1 orange1 #fcaf3e
59              
60             Orange 2 orange2 #f57900
61              
62             Orange 3 orange3 #ce5c00
63              
64             Plum 1 plum1 #ad7fa8
65              
66             Plum 2 plum2 #75507b
67              
68             Plum 3 plum3 #5c3566
69              
70             Scarlet Red 1 scarletred1 #ef2929
71              
72             Scarlet Red 2 scarletred2 #cc0000
73              
74             Scarlet Red 3 scarletred3 #a40000
75              
76             Sky Blue 1 skyblue1 #729fcf
77              
78             Sky Blue 2 skyblue2 #3465a4
79              
80             Sky Blue 3 skyblue3 #204a87
81              
82              
83             =cut
84              
85             sub _load_color_list() {
86             return [
87 1     1   44 ['tango:aluminium1','aluminium1','Aluminium 1',[238,238,236],'eeeeec',15658732],
88             ['tango:aluminium2','aluminium2','Aluminium 2',[211,215,207],'d3d7cf',13883343],
89             ['tango:aluminium3','aluminium3','Aluminium 3',[186,189,182],'babdb6',12238262],
90             ['tango:aluminium4','aluminium4','Aluminium 4',[136,138,133],'888a85',8948357],
91             ['tango:aluminium5','aluminium5','Aluminium 5',[85,87,83],'555753',5592915],
92             ['tango:aluminium6','aluminium6','Aluminium 6',[46,52,54],'2e3436',3028022],
93             ['tango:butter1','butter1','Butter 1',[252,233,79],'fce94f',16574799],
94             ['tango:butter2','butter2','Butter 2',[237,212,0],'edd400',15586304],
95             ['tango:butter3','butter3','Butter 3',[196,160,0],'c4a000',12886016],
96             ['tango:chameleon1','chameleon1','Chameleon 1',[138,226,52],'8ae234',9101876],
97             ['tango:chameleon2','chameleon2','Chameleon 2',[115,210,22],'73d216',7590422],
98             ['tango:chameleon3','chameleon3','Chameleon 3',[78,154,6],'4e9a06',5151238],
99             ['tango:chocolate1','chocolate1','Chocolate 1',[233,185,110],'e9b96e',15317358],
100             ['tango:chocolate2','chocolate2','Chocolate 2',[193,125,17],'c17d11',12680465],
101             ['tango:chocolate3','chocolate3','Chocolate 3',[143,89,2],'8f5902',9394434],
102             ['tango:orange1','orange1','Orange 1',[252,175,62],'fcaf3e',16559934],
103             ['tango:orange2','orange2','Orange 2',[245,121,0],'f57900',16087296],
104             ['tango:orange3','orange3','Orange 3',[206,92,0],'ce5c00',13523968],
105             ['tango:plum1','plum1','Plum 1',[173,127,168],'ad7fa8',11370408],
106             ['tango:plum2','plum2','Plum 2',[117,80,123],'75507b',7688315],
107             ['tango:plum3','plum3','Plum 3',[92,53,102],'5c3566',6042982],
108             ['tango:scarletred1','scarletred1','Scarlet Red 1',[239,41,41],'ef2929',15673641],
109             ['tango:scarletred2','scarletred2','Scarlet Red 2',[204,0,0],'cc0000',13369344],
110             ['tango:scarletred3','scarletred3','Scarlet Red 3',[164,0,0],'a40000',10747904],
111             ['tango:skyblue1','skyblue1','Sky Blue 1',[114,159,207],'729fcf',7512015],
112             ['tango:skyblue2','skyblue2','Sky Blue 2',[52,101,164],'3465a4',3433892],
113             ['tango:skyblue3','skyblue3','Sky Blue 3',[32,74,135],'204a87',2116231]
114             ];
115             }
116              
117             sub _description {
118             return {
119 0     0     'subtitle' => 'The Tango color palette',
120             'title' => 'Tango',
121             'description' => 'The Tango icon theme\'s goal is to make applications not seem alien on any desktop. A user running a multiplatform application should not have the impression that the look is unpolished and inconsistent with what he or she is used to. While this isn\'t about merging styles of all desktop systems, we do aim to not be drastically different on each platform.
122              
123             The Tango color palette consists of 27 RGB colors.
124              
125             [http://tango.freedesktop.org/Tango_Icon_Theme_Guidelines]
126             '
127             }
128              
129             }
130              
131             1;