1<?php
2
3namespace LesserPHP;
4
5class Constants
6{
7    public const TRUE = ['keyword', 'true'];
8    public const FALSE = ['keyword', 'false'];
9
10    /** @var string prefix of abstract properties */
11    public const VPREFIX = '@';
12    /** @var string prefix of abstract blocks */
13    public const MPREFIX = '$';
14
15    /** @var string Parent Selector in LESS */
16    public const PARENT_SELECTOR = '&';
17
18    /** @var string Convertable lenght units */
19    public const LENGTH_UNITS = ['px', 'm', 'cm', 'mm', 'in', 'pt', 'pc'];
20
21    /** @var float[] Above length units converted to pixel */
22    public const LENGTH_BASES = [1, 3779.52755906, 37.79527559, 3.77952756, 96, 1.33333333, 16];
23
24    /** @var string time units */
25    public const TIME_UNITS = ['s', 'ms'];
26
27    /** @var string angle units */
28    public const ANGLE_UNITS = ['rad', 'deg', 'grad', 'turn'];
29
30    /** @var array Named CSS colors ["name" => "r,g,b"] */
31    public const CSS_COLORS = [
32        'aliceblue' => '240,248,255',
33        'antiquewhite' => '250,235,215',
34        'aqua' => '0,255,255',
35        'aquamarine' => '127,255,212',
36        'azure' => '240,255,255',
37        'beige' => '245,245,220',
38        'bisque' => '255,228,196',
39        'black' => '0,0,0',
40        'blanchedalmond' => '255,235,205',
41        'blue' => '0,0,255',
42        'blueviolet' => '138,43,226',
43        'brown' => '165,42,42',
44        'burlywood' => '222,184,135',
45        'cadetblue' => '95,158,160',
46        'chartreuse' => '127,255,0',
47        'chocolate' => '210,105,30',
48        'coral' => '255,127,80',
49        'cornflowerblue' => '100,149,237',
50        'cornsilk' => '255,248,220',
51        'crimson' => '220,20,60',
52        'cyan' => '0,255,255',
53        'darkblue' => '0,0,139',
54        'darkcyan' => '0,139,139',
55        'darkgoldenrod' => '184,134,11',
56        'darkgray' => '169,169,169',
57        'darkgreen' => '0,100,0',
58        'darkgrey' => '169,169,169',
59        'darkkhaki' => '189,183,107',
60        'darkmagenta' => '139,0,139',
61        'darkolivegreen' => '85,107,47',
62        'darkorange' => '255,140,0',
63        'darkorchid' => '153,50,204',
64        'darkred' => '139,0,0',
65        'darksalmon' => '233,150,122',
66        'darkseagreen' => '143,188,143',
67        'darkslateblue' => '72,61,139',
68        'darkslategray' => '47,79,79',
69        'darkslategrey' => '47,79,79',
70        'darkturquoise' => '0,206,209',
71        'darkviolet' => '148,0,211',
72        'deeppink' => '255,20,147',
73        'deepskyblue' => '0,191,255',
74        'dimgray' => '105,105,105',
75        'dimgrey' => '105,105,105',
76        'dodgerblue' => '30,144,255',
77        'firebrick' => '178,34,34',
78        'floralwhite' => '255,250,240',
79        'forestgreen' => '34,139,34',
80        'fuchsia' => '255,0,255',
81        'gainsboro' => '220,220,220',
82        'ghostwhite' => '248,248,255',
83        'gold' => '255,215,0',
84        'goldenrod' => '218,165,32',
85        'gray' => '128,128,128',
86        'green' => '0,128,0',
87        'greenyellow' => '173,255,47',
88        'grey' => '128,128,128',
89        'honeydew' => '240,255,240',
90        'hotpink' => '255,105,180',
91        'indianred' => '205,92,92',
92        'indigo' => '75,0,130',
93        'ivory' => '255,255,240',
94        'khaki' => '240,230,140',
95        'lavender' => '230,230,250',
96        'lavenderblush' => '255,240,245',
97        'lawngreen' => '124,252,0',
98        'lemonchiffon' => '255,250,205',
99        'lightblue' => '173,216,230',
100        'lightcoral' => '240,128,128',
101        'lightcyan' => '224,255,255',
102        'lightgoldenrodyellow' => '250,250,210',
103        'lightgray' => '211,211,211',
104        'lightgreen' => '144,238,144',
105        'lightgrey' => '211,211,211',
106        'lightpink' => '255,182,193',
107        'lightsalmon' => '255,160,122',
108        'lightseagreen' => '32,178,170',
109        'lightskyblue' => '135,206,250',
110        'lightslategray' => '119,136,153',
111        'lightslategrey' => '119,136,153',
112        'lightsteelblue' => '176,196,222',
113        'lightyellow' => '255,255,224',
114        'lime' => '0,255,0',
115        'limegreen' => '50,205,50',
116        'linen' => '250,240,230',
117        'magenta' => '255,0,255',
118        'maroon' => '128,0,0',
119        'mediumaquamarine' => '102,205,170',
120        'mediumblue' => '0,0,205',
121        'mediumorchid' => '186,85,211',
122        'mediumpurple' => '147,112,219',
123        'mediumseagreen' => '60,179,113',
124        'mediumslateblue' => '123,104,238',
125        'mediumspringgreen' => '0,250,154',
126        'mediumturquoise' => '72,209,204',
127        'mediumvioletred' => '199,21,133',
128        'midnightblue' => '25,25,112',
129        'mintcream' => '245,255,250',
130        'mistyrose' => '255,228,225',
131        'moccasin' => '255,228,181',
132        'navajowhite' => '255,222,173',
133        'navy' => '0,0,128',
134        'oldlace' => '253,245,230',
135        'olive' => '128,128,0',
136        'olivedrab' => '107,142,35',
137        'orange' => '255,165,0',
138        'orangered' => '255,69,0',
139        'orchid' => '218,112,214',
140        'palegoldenrod' => '238,232,170',
141        'palegreen' => '152,251,152',
142        'paleturquoise' => '175,238,238',
143        'palevioletred' => '219,112,147',
144        'papayawhip' => '255,239,213',
145        'peachpuff' => '255,218,185',
146        'peru' => '205,133,63',
147        'pink' => '255,192,203',
148        'plum' => '221,160,221',
149        'powderblue' => '176,224,230',
150        'purple' => '128,0,128',
151        'red' => '255,0,0',
152        'rosybrown' => '188,143,143',
153        'royalblue' => '65,105,225',
154        'saddlebrown' => '139,69,19',
155        'salmon' => '250,128,114',
156        'sandybrown' => '244,164,96',
157        'seagreen' => '46,139,87',
158        'seashell' => '255,245,238',
159        'sienna' => '160,82,45',
160        'silver' => '192,192,192',
161        'skyblue' => '135,206,235',
162        'slateblue' => '106,90,205',
163        'slategray' => '112,128,144',
164        'slategrey' => '112,128,144',
165        'snow' => '255,250,250',
166        'springgreen' => '0,255,127',
167        'steelblue' => '70,130,180',
168        'tan' => '210,180,140',
169        'teal' => '0,128,128',
170        'thistle' => '216,191,216',
171        'tomato' => '255,99,71',
172        'transparent' => '0,0,0,0',
173        'turquoise' => '64,224,208',
174        'violet' => '238,130,238',
175        'wheat' => '245,222,179',
176        'white' => '255,255,255',
177        'whitesmoke' => '245,245,245',
178        'yellow' => '255,255,0',
179        'yellowgreen' => '154,205,50'
180    ];
181}
182