1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
/* |
4
|
|
|
* This file is part of the adminbsb-material-design-bundle package. |
5
|
|
|
* |
6
|
|
|
* (c) 2020 WEBEWEB |
7
|
|
|
* |
8
|
|
|
* For the full copyright and license information, please view the LICENSE |
9
|
|
|
* file that was distributed with this source code. |
10
|
|
|
*/ |
11
|
|
|
|
12
|
|
|
namespace WBW\Bundle\AdminBSBBundle\Theme; |
13
|
|
|
|
14
|
|
|
/** |
15
|
|
|
* Skins theme provider. |
16
|
|
|
* |
17
|
|
|
* @author webeweb <https://github.com/webeweb/> |
18
|
|
|
* @package WBW\Bundle\AdminBSBBundle\Theme |
19
|
|
|
*/ |
20
|
|
|
class SkinsThemeProvider { |
21
|
|
|
|
22
|
|
|
/** |
23
|
|
|
* Skin "amber". |
24
|
|
|
* |
25
|
|
|
* @var string |
26
|
|
|
*/ |
27
|
|
|
const SKIN_AMBER = "amber"; |
28
|
|
|
|
29
|
|
|
/** |
30
|
|
|
* Skin "black". |
31
|
|
|
* |
32
|
|
|
* @var string |
33
|
|
|
*/ |
34
|
|
|
const SKIN_BLACK = "black"; |
35
|
|
|
|
36
|
|
|
/** |
37
|
|
|
* Skin "blue". |
38
|
|
|
* |
39
|
|
|
* @var string |
40
|
|
|
*/ |
41
|
|
|
const SKIN_BLUE = "blue"; |
42
|
|
|
|
43
|
|
|
/** |
44
|
|
|
* Skin "blue grey". |
45
|
|
|
* |
46
|
|
|
* @var string |
47
|
|
|
*/ |
48
|
|
|
const SKIN_BLUE_GREY = "blue-grey"; |
49
|
|
|
|
50
|
|
|
/** |
51
|
|
|
* Skin "brown". |
52
|
|
|
* |
53
|
|
|
* @var string |
54
|
|
|
*/ |
55
|
|
|
const SKIN_BROWN = "brown"; |
56
|
|
|
|
57
|
|
|
/** |
58
|
|
|
* Skin "cyan". |
59
|
|
|
* |
60
|
|
|
* @var string |
61
|
|
|
*/ |
62
|
|
|
const SKIN_CYAN = "cyan"; |
63
|
|
|
|
64
|
|
|
/** |
65
|
|
|
* Skin "deep orange". |
66
|
|
|
* |
67
|
|
|
* @var string |
68
|
|
|
*/ |
69
|
|
|
const SKIN_DEEP_ORANGE = "deep-orange"; |
70
|
|
|
|
71
|
|
|
/** |
72
|
|
|
* Skin "deep purple". |
73
|
|
|
* |
74
|
|
|
* @var string |
75
|
|
|
*/ |
76
|
|
|
const SKIN_DEEP_PURPLE = "deep-purple"; |
77
|
|
|
|
78
|
|
|
/** |
79
|
|
|
* Skin "green". |
80
|
|
|
* |
81
|
|
|
* @var string |
82
|
|
|
*/ |
83
|
|
|
const SKIN_GREEN = "green"; |
84
|
|
|
|
85
|
|
|
/** |
86
|
|
|
* Skin "grey". |
87
|
|
|
* |
88
|
|
|
* @var string |
89
|
|
|
*/ |
90
|
|
|
const SKIN_GREY = "grey"; |
91
|
|
|
|
92
|
|
|
/** |
93
|
|
|
* Skin "indigo". |
94
|
|
|
* |
95
|
|
|
* @var string |
96
|
|
|
*/ |
97
|
|
|
const SKIN_INDIGO = "indigo"; |
98
|
|
|
|
99
|
|
|
/** |
100
|
|
|
* Skin "lightblue". |
101
|
|
|
* |
102
|
|
|
* @var string |
103
|
|
|
*/ |
104
|
|
|
const SKIN_LIGHT_BLUE = "light-blue"; |
105
|
|
|
|
106
|
|
|
/** |
107
|
|
|
* Skin "light green". |
108
|
|
|
* |
109
|
|
|
* @var string |
110
|
|
|
*/ |
111
|
|
|
const SKIN_LIGHT_GREEN = "light-green"; |
112
|
|
|
|
113
|
|
|
/** |
114
|
|
|
* Skin "lime". |
115
|
|
|
* |
116
|
|
|
* @var string |
117
|
|
|
*/ |
118
|
|
|
const SKIN_LIME = "lime"; |
119
|
|
|
|
120
|
|
|
/** |
121
|
|
|
* Skin "orange". |
122
|
|
|
* |
123
|
|
|
* @var string |
124
|
|
|
*/ |
125
|
|
|
const SKIN_ORANGE = "orange"; |
126
|
|
|
|
127
|
|
|
/** |
128
|
|
|
* Skin "pink". |
129
|
|
|
* |
130
|
|
|
* @var string |
131
|
|
|
*/ |
132
|
|
|
const SKIN_PINK = "pink"; |
133
|
|
|
|
134
|
|
|
/** |
135
|
|
|
* Skin "purple". |
136
|
|
|
* |
137
|
|
|
* @var string |
138
|
|
|
*/ |
139
|
|
|
const SKIN_PURPLE = "purple"; |
140
|
|
|
|
141
|
|
|
/** |
142
|
|
|
* Skin "red". |
143
|
|
|
* |
144
|
|
|
* @var string |
145
|
|
|
*/ |
146
|
|
|
const SKIN_RED = "red"; |
147
|
|
|
|
148
|
|
|
/** |
149
|
|
|
* Skin "teal". |
150
|
|
|
* |
151
|
|
|
* @var string |
152
|
|
|
*/ |
153
|
|
|
const SKIN_TEAL = "teal"; |
154
|
|
|
|
155
|
|
|
/** |
156
|
|
|
* Skin "yellow". |
157
|
|
|
* |
158
|
|
|
* @var string |
159
|
|
|
*/ |
160
|
|
|
const SKIN_YELLOW = "yellow"; |
161
|
|
|
|
162
|
|
|
/** |
163
|
|
|
* Enumerates the skins. |
164
|
|
|
* |
165
|
|
|
* @return string[] Returns the skins enumeration. |
166
|
|
|
*/ |
167
|
|
|
public static function enumSkins(): array { |
168
|
|
|
return [ |
169
|
|
|
self::SKIN_RED, |
170
|
|
|
self::SKIN_PINK, |
171
|
|
|
self::SKIN_PURPLE, |
172
|
|
|
self::SKIN_DEEP_PURPLE, |
173
|
|
|
self::SKIN_INDIGO, |
174
|
|
|
self::SKIN_BLUE, |
175
|
|
|
self::SKIN_LIGHT_BLUE, |
176
|
|
|
self::SKIN_CYAN, |
177
|
|
|
self::SKIN_TEAL, |
178
|
|
|
self::SKIN_GREEN, |
179
|
|
|
self::SKIN_LIGHT_GREEN, |
180
|
|
|
self::SKIN_LIME, |
181
|
|
|
self::SKIN_YELLOW, |
182
|
|
|
self::SKIN_AMBER, |
183
|
|
|
self::SKIN_ORANGE, |
184
|
|
|
self::SKIN_DEEP_ORANGE, |
185
|
|
|
self::SKIN_BROWN, |
186
|
|
|
self::SKIN_GREY, |
187
|
|
|
self::SKIN_BLUE_GREY, |
188
|
|
|
self::SKIN_BLACK, |
189
|
|
|
]; |
190
|
|
|
} |
191
|
|
|
} |