Correct Aphlict websocket URI construction after PHP8 compatibility changes
[phabricator.git] / src / view / phui / PHUIIconView.php
bloba5897e02d6e7b70debf56d13f4b1e2457bc9f74f
1 <?php
3 final class PHUIIconView extends AphrontTagView {
5 const SPRITE_TOKENS = 'tokens';
6 const SPRITE_LOGIN = 'login';
8 const HEAD_SMALL = 'phuihead-small';
9 const HEAD_MEDIUM = 'phuihead-medium';
11 private $href = null;
12 private $image;
13 private $text;
14 private $headSize = null;
16 private $spriteIcon;
17 private $spriteSheet;
18 private $iconFont;
19 private $iconColor;
20 private $iconBackground;
21 private $tooltip;
22 private $emblemColor;
24 public function setHref($href) {
25 $this->href = $href;
26 return $this;
29 public function setImage($image) {
30 $this->image = $image;
31 return $this;
34 public function setText($text) {
35 $this->text = $text;
36 return $this;
39 public function setHeadSize($size) {
40 $this->headSize = $size;
41 return $this;
44 public function setSpriteIcon($sprite) {
45 $this->spriteIcon = $sprite;
46 return $this;
49 public function setSpriteSheet($sheet) {
50 $this->spriteSheet = $sheet;
51 return $this;
54 public function setIcon($icon, $color = null) {
55 $this->iconFont = $icon;
56 $this->iconColor = $color;
57 return $this;
60 public function setColor($color) {
61 $this->iconColor = $color;
62 return $this;
65 public function getIconName() {
66 return $this->iconFont;
69 public function setBackground($color) {
70 $this->iconBackground = $color;
71 return $this;
74 public function setTooltip($text) {
75 $this->tooltip = $text;
76 return $this;
79 public function setEmblemColor($emblem_color) {
80 $this->emblemColor = $emblem_color;
81 return $this;
84 public function getEmblemColor() {
85 return $this->emblemColor;
88 protected function getTagName() {
89 $tag = 'span';
90 if ($this->href) {
91 $tag = 'a';
93 return $tag;
96 protected function getTagAttributes() {
97 require_celerity_resource('phui-icon-view-css');
98 $style = null;
99 $classes = array();
100 $classes[] = 'phui-icon-view';
101 if ($this->spriteIcon) {
102 require_celerity_resource('sprite-'.$this->spriteSheet.'-css');
103 $classes[] = 'sprite-'.$this->spriteSheet;
104 $classes[] = $this->spriteSheet.'-'.$this->spriteIcon;
105 } else if ($this->iconFont) {
106 require_celerity_resource('phui-font-icon-base-css');
107 require_celerity_resource('font-fontawesome');
108 $classes[] = 'phui-font-fa';
109 $classes[] = $this->iconFont;
110 if ($this->iconColor) {
111 $classes[] = $this->iconColor;
113 if ($this->iconBackground) {
114 $classes[] = 'phui-icon-square';
115 $classes[] = $this->iconBackground;
117 } else {
118 if ($this->headSize) {
119 $classes[] = $this->headSize;
121 $style = 'background-image: url('.$this->image.');';
123 if ($this->text) {
124 $classes[] = 'phui-icon-has-text';
125 $this->appendChild($this->text);
128 if ($this->emblemColor) {
129 $classes[] = 'phui-icon-emblem phui-icon-emblem-'.$this->emblemColor;
132 $sigil = null;
133 $meta = array();
134 if ($this->tooltip) {
135 Javelin::initBehavior('phabricator-tooltips');
136 require_celerity_resource('aphront-tooltip-css');
137 $sigil = 'has-tooltip';
138 $meta = array(
139 'tip' => $this->tooltip,
143 return array(
144 'href' => $this->href,
145 'style' => $style,
146 'aural' => false,
147 'class' => $classes,
148 'sigil' => $sigil,
149 'meta' => $meta,
153 public static function getSheetManifest($sheet) {
154 $root = dirname(phutil_get_library_root('phabricator'));
155 $path = $root.'/resources/sprite/manifest/'.$sheet.'.json';
156 $data = Filesystem::readFile($path);
157 return idx(phutil_json_decode($data), 'sprites');
160 public static function getIcons() {
161 return array(
162 'fa-glass',
163 'fa-music',
164 'fa-search',
165 'fa-envelope-o',
166 'fa-heart',
167 'fa-star',
168 'fa-star-o',
169 'fa-user',
170 'fa-film',
171 'fa-th-large',
172 'fa-th',
173 'fa-th-list',
174 'fa-check',
175 'fa-times',
176 'fa-search-plus',
177 'fa-search-minus',
178 'fa-power-off',
179 'fa-signal',
180 'fa-cog',
181 'fa-trash-o',
182 'fa-home',
183 'fa-file-o',
184 'fa-clock-o',
185 'fa-road',
186 'fa-download',
187 'fa-arrow-circle-o-down',
188 'fa-arrow-circle-o-up',
189 'fa-inbox',
190 'fa-play-circle-o',
191 'fa-repeat',
192 'fa-refresh',
193 'fa-list-alt',
194 'fa-lock',
195 'fa-flag',
196 'fa-headphones',
197 'fa-volume-off',
198 'fa-volume-down',
199 'fa-volume-up',
200 'fa-qrcode',
201 'fa-barcode',
202 'fa-tag',
203 'fa-tags',
204 'fa-book',
205 'fa-bookmark',
206 'fa-print',
207 'fa-camera',
208 'fa-font',
209 'fa-bold',
210 'fa-italic',
211 'fa-text-height',
212 'fa-text-width',
213 'fa-align-left',
214 'fa-align-center',
215 'fa-align-right',
216 'fa-align-justify',
217 'fa-list',
218 'fa-outdent',
219 'fa-indent',
220 'fa-video-camera',
221 'fa-picture-o',
222 'fa-pencil',
223 'fa-map-marker',
224 'fa-adjust',
225 'fa-tint',
226 'fa-pencil-square-o',
227 'fa-share-square-o',
228 'fa-check-square-o',
229 'fa-arrows',
230 'fa-step-backward',
231 'fa-fast-backward',
232 'fa-backward',
233 'fa-play',
234 'fa-pause',
235 'fa-stop',
236 'fa-forward',
237 'fa-fast-forward',
238 'fa-step-forward',
239 'fa-eject',
240 'fa-chevron-left',
241 'fa-chevron-right',
242 'fa-plus-circle',
243 'fa-minus-circle',
244 'fa-times-circle',
245 'fa-check-circle',
246 'fa-question-circle',
247 'fa-info-circle',
248 'fa-crosshairs',
249 'fa-times-circle-o',
250 'fa-check-circle-o',
251 'fa-ban',
252 'fa-arrow-left',
253 'fa-arrow-right',
254 'fa-arrow-up',
255 'fa-arrow-down',
256 'fa-share',
257 'fa-expand',
258 'fa-compress',
259 'fa-plus',
260 'fa-minus',
261 'fa-asterisk',
262 'fa-exclamation-circle',
263 'fa-gift',
264 'fa-leaf',
265 'fa-fire',
266 'fa-eye',
267 'fa-eye-slash',
268 'fa-exclamation-triangle',
269 'fa-plane',
270 'fa-calendar',
271 'fa-random',
272 'fa-comment',
273 'fa-magnet',
274 'fa-chevron-up',
275 'fa-chevron-down',
276 'fa-retweet',
277 'fa-shopping-cart',
278 'fa-folder',
279 'fa-folder-open',
280 'fa-arrows-v',
281 'fa-arrows-h',
282 'fa-bar-chart-o',
283 'fa-twitter-square',
284 'fa-facebook-square',
285 'fa-camera-retro',
286 'fa-key',
287 'fa-cogs',
288 'fa-comments',
289 'fa-thumbs-o-up',
290 'fa-thumbs-o-down',
291 'fa-star-half',
292 'fa-heart-o',
293 'fa-sign-out',
294 'fa-linkedin-square',
295 'fa-thumb-tack',
296 'fa-external-link',
297 'fa-sign-in',
298 'fa-trophy',
299 'fa-github-square',
300 'fa-upload',
301 'fa-lemon-o',
302 'fa-phone',
303 'fa-square-o',
304 'fa-bookmark-o',
305 'fa-phone-square',
306 'fa-twitter',
307 'fa-facebook',
308 'fa-github',
309 'fa-unlock',
310 'fa-credit-card',
311 'fa-rss',
312 'fa-hdd-o',
313 'fa-bullhorn',
314 'fa-bell',
315 'fa-certificate',
316 'fa-hand-o-right',
317 'fa-hand-o-left',
318 'fa-hand-o-up',
319 'fa-hand-o-down',
320 'fa-arrow-circle-left',
321 'fa-arrow-circle-right',
322 'fa-arrow-circle-up',
323 'fa-arrow-circle-down',
324 'fa-globe',
325 'fa-wrench',
326 'fa-tasks',
327 'fa-filter',
328 'fa-briefcase',
329 'fa-arrows-alt',
330 'fa-users',
331 'fa-link',
332 'fa-cloud',
333 'fa-flask',
334 'fa-scissors',
335 'fa-files-o',
336 'fa-paperclip',
337 'fa-floppy-o',
338 'fa-square',
339 'fa-bars',
340 'fa-list-ul',
341 'fa-list-ol',
342 'fa-strikethrough',
343 'fa-underline',
344 'fa-table',
345 'fa-magic',
346 'fa-truck',
347 'fa-pinterest',
348 'fa-pinterest-square',
349 'fa-google-plus-square',
350 'fa-google-plus',
351 'fa-money',
352 'fa-caret-down',
353 'fa-caret-up',
354 'fa-caret-left',
355 'fa-caret-right',
356 'fa-columns',
357 'fa-sort',
358 'fa-sort-asc',
359 'fa-sort-desc',
360 'fa-envelope',
361 'fa-linkedin',
362 'fa-undo',
363 'fa-gavel',
364 'fa-tachometer',
365 'fa-comment-o',
366 'fa-comments-o',
367 'fa-bolt',
368 'fa-sitemap',
369 'fa-umbrella',
370 'fa-clipboard',
371 'fa-lightbulb-o',
372 'fa-exchange',
373 'fa-cloud-download',
374 'fa-cloud-upload',
375 'fa-user-md',
376 'fa-stethoscope',
377 'fa-suitcase',
378 'fa-bell-o',
379 'fa-coffee',
380 'fa-cutlery',
381 'fa-file-text-o',
382 'fa-building-o',
383 'fa-hospital-o',
384 'fa-ambulance',
385 'fa-medkit',
386 'fa-fighter-jet',
387 'fa-beer',
388 'fa-h-square',
389 'fa-plus-square',
390 'fa-angle-double-left',
391 'fa-angle-double-right',
392 'fa-angle-double-up',
393 'fa-angle-double-down',
394 'fa-angle-left',
395 'fa-angle-right',
396 'fa-angle-up',
397 'fa-angle-down',
398 'fa-desktop',
399 'fa-laptop',
400 'fa-tablet',
401 'fa-mobile',
402 'fa-circle-o',
403 'fa-quote-left',
404 'fa-quote-right',
405 'fa-spinner',
406 'fa-circle',
407 'fa-reply',
408 'fa-github-alt',
409 'fa-folder-o',
410 'fa-folder-open-o',
411 'fa-smile-o',
412 'fa-frown-o',
413 'fa-meh-o',
414 'fa-gamepad',
415 'fa-keyboard-o',
416 'fa-flag-o',
417 'fa-flag-checkered',
418 'fa-terminal',
419 'fa-code',
420 'fa-reply-all',
421 'fa-mail-reply-all',
422 'fa-star-half-o',
423 'fa-location-arrow',
424 'fa-crop',
425 'fa-code-fork',
426 'fa-chain-broken',
427 'fa-question',
428 'fa-info',
429 'fa-exclamation',
430 'fa-superscript',
431 'fa-subscript',
432 'fa-eraser',
433 'fa-puzzle-piece',
434 'fa-microphone',
435 'fa-microphone-slash',
436 'fa-shield',
437 'fa-calendar-o',
438 'fa-fire-extinguisher',
439 'fa-rocket',
440 'fa-maxcdn',
441 'fa-chevron-circle-left',
442 'fa-chevron-circle-right',
443 'fa-chevron-circle-up',
444 'fa-chevron-circle-down',
445 'fa-html5',
446 'fa-css3',
447 'fa-anchor',
448 'fa-unlock-alt',
449 'fa-bullseye',
450 'fa-ellipsis-h',
451 'fa-ellipsis-v',
452 'fa-rss-square',
453 'fa-play-circle',
454 'fa-ticket',
455 'fa-minus-square',
456 'fa-minus-square-o',
457 'fa-level-up',
458 'fa-level-down',
459 'fa-check-square',
460 'fa-pencil-square',
461 'fa-external-link-square',
462 'fa-share-square',
463 'fa-compass',
464 'fa-caret-square-o-down',
465 'fa-caret-square-o-up',
466 'fa-caret-square-o-right',
467 'fa-eur',
468 'fa-gbp',
469 'fa-usd',
470 'fa-inr',
471 'fa-jpy',
472 'fa-rub',
473 'fa-krw',
474 'fa-btc',
475 'fa-file',
476 'fa-file-text',
477 'fa-sort-alpha-asc',
478 'fa-sort-alpha-desc',
479 'fa-sort-amount-asc',
480 'fa-sort-amount-desc',
481 'fa-sort-numeric-asc',
482 'fa-sort-numeric-desc',
483 'fa-thumbs-up',
484 'fa-thumbs-down',
485 'fa-youtube-square',
486 'fa-youtube',
487 'fa-xing',
488 'fa-xing-square',
489 'fa-youtube-play',
490 'fa-dropbox',
491 'fa-stack-overflow',
492 'fa-instagram',
493 'fa-flickr',
494 'fa-adn',
495 'fa-bitbucket',
496 'fa-bitbucket-square',
497 'fa-tumblr',
498 'fa-tumblr-square',
499 'fa-long-arrow-down',
500 'fa-long-arrow-up',
501 'fa-long-arrow-left',
502 'fa-long-arrow-right',
503 'fa-apple',
504 'fa-windows',
505 'fa-android',
506 'fa-linux',
507 'fa-dribbble',
508 'fa-skype',
509 'fa-foursquare',
510 'fa-trello',
511 'fa-female',
512 'fa-male',
513 'fa-gittip',
514 'fa-sun-o',
515 'fa-moon-o',
516 'fa-archive',
517 'fa-bug',
518 'fa-vk',
519 'fa-weibo',
520 'fa-renren',
521 'fa-pagelines',
522 'fa-stack-exchange',
523 'fa-arrow-circle-o-right',
524 'fa-arrow-circle-o-left',
525 'fa-caret-square-o-left',
526 'fa-dot-circle-o',
527 'fa-wheelchair',
528 'fa-vimeo-square',
529 'fa-try',
530 'fa-plus-square-o',
531 'fa-space-shuttle',
532 'fa-slack',
533 'fa-envelope-square',
534 'fa-wordpress',
535 'fa-openid',
536 'fa-institution',
537 'fa-bank',
538 'fa-university',
539 'fa-mortar-board',
540 'fa-graduation-cap',
541 'fa-yahoo',
542 'fa-google',
543 'fa-reddit',
544 'fa-reddit-square',
545 'fa-stumbleupon-circle',
546 'fa-stumbleupon',
547 'fa-delicious',
548 'fa-digg',
549 'fa-pied-piper-square',
550 'fa-pied-piper',
551 'fa-pied-piper-alt',
552 'fa-pied-piper-pp',
553 'fa-drupal',
554 'fa-joomla',
555 'fa-language',
556 'fa-fax',
557 'fa-building',
558 'fa-child',
559 'fa-paw',
560 'fa-spoon',
561 'fa-cube',
562 'fa-cubes',
563 'fa-behance',
564 'fa-behance-square',
565 'fa-steam',
566 'fa-steam-square',
567 'fa-recycle',
568 'fa-automobile',
569 'fa-car',
570 'fa-cab',
571 'fa-tree',
572 'fa-spotify',
573 'fa-deviantart',
574 'fa-soundcloud',
575 'fa-database',
576 'fa-file-pdf-o',
577 'fa-file-word-o',
578 'fa-file-excel-o',
579 'fa-file-powerpoint-o',
580 'fa-file-photo-o',
581 'fa-file-picture-o',
582 'fa-file-image-o',
583 'fa-file-zip-o',
584 'fa-file-archive-o',
585 'fa-file-sound-o',
586 'fa-file-movie-o',
587 'fa-file-code-o',
588 'fa-vine',
589 'fa-codepen',
590 'fa-jsfiddle',
591 'fa-life-bouy',
592 'fa-support',
593 'fa-life-ring',
594 'fa-circle-o-notch',
595 'fa-rebel',
596 'fa-empire',
597 'fa-git-square',
598 'fa-git',
599 'fa-hacker-news',
600 'fa-tencent-weibo',
601 'fa-qq',
602 'fa-wechat',
603 'fa-send',
604 'fa-paper-plane',
605 'fa-send-o',
606 'fa-paper-plane-o',
607 'fa-history',
608 'fa-circle-thin',
609 'fa-header',
610 'fa-paragraph',
611 'fa-sliders',
612 'fa-share-alt',
613 'fa-share-alt-square',
614 'fa-bomb',
615 'fa-soccer-ball',
616 'fa-futbol-o',
617 'fa-tty',
618 'fa-binoculars',
619 'fa-plug',
620 'fa-slideshare',
621 'fa-twitch',
622 'fa-yelp',
623 'fa-newspaper-o',
624 'fa-wifi',
625 'fa-calculator',
626 'fa-paypal',
627 'fa-google-wallet',
628 'fa-cc-visa',
629 'fa-cc-mastercard',
630 'fa-cc-discover',
631 'fa-cc-amex',
632 'fa-cc-paypal',
633 'fa-cc-stripe',
634 'fa-bell-slash',
635 'fa-bell-slash-o',
636 'fa-trash',
637 'fa-copyright',
638 'fa-at',
639 'fa-eyedropper',
640 'fa-paint-brush',
641 'fa-birthday-cake',
642 'fa-area-chart',
643 'fa-pie-chart',
644 'fa-line-chart',
645 'fa-lastfm',
646 'fa-lastfm-square',
647 'fa-toggle-off',
648 'fa-toggle-on',
649 'fa-bicycle',
650 'fa-bus',
651 'fa-ioxhost',
652 'fa-angellist',
653 'fa-cc',
654 'fa-shekel',
655 'fa-sheqel',
656 'fa-ils',
657 'fa-meanpath',
658 'fa-buysellads',
659 'fa-connectdevelop',
660 'fa-dashcube',
661 'fa-forumbee',
662 'fa-leanpub',
663 'fa-sellsy',
664 'fa-shirtsinbulk',
665 'fa-simplybuilt',
666 'fa-skyatlas',
667 'fa-cart-plus',
668 'fa-cart-arrow-down',
669 'fa-diamond',
670 'fa-ship',
671 'fa-user-secret',
672 'fa-motorcycle',
673 'fa-street-view',
674 'fa-heartbeat',
675 'fa-venus',
676 'fa-mars',
677 'fa-mercury',
678 'fa-transgender',
679 'fa-transgender-alt',
680 'fa-venus-double',
681 'fa-mars-double',
682 'fa-venus-mars',
683 'fa-mars-stroke',
684 'fa-mars-stroke-v',
685 'fa-mars-stroke-h',
686 'fa-neuter',
687 'fa-facebook-official',
688 'fa-pinterest-p',
689 'fa-whatsapp',
690 'fa-server',
691 'fa-user-plus',
692 'fa-user-times',
693 'fa-hotel',
694 'fa-bed',
695 'fa-viacoin',
696 'fa-train',
697 'fa-subway',
698 'fa-medium',
699 'fa-git',
700 'fa-y-combinator-square',
701 'fa-yc-square',
702 'fa-hacker-news',
703 'fa-yc',
704 'fa-y-combinator',
705 'fa-optin-monster',
706 'fa-opencart',
707 'fa-expeditedssl',
708 'fa-battery-4',
709 'fa-battery-full',
710 'fa-battery-3',
711 'fa-battery-three-quarters',
712 'fa-battery-2',
713 'fa-battery-half',
714 'fa-battery-1',
715 'fa-battery-quarter',
716 'fa-battery-0',
717 'fa-battery-empty',
718 'fa-mouse-pointer',
719 'fa-i-cursor',
720 'fa-object-group',
721 'fa-object-ungroup',
722 'fa-sticky-note',
723 'fa-sticky-note-o',
724 'fa-cc-jcb',
725 'fa-cc-diners-club',
726 'fa-clone',
727 'fa-balance-scale',
728 'fa-hourglass-o',
729 'fa-hourglass-1',
730 'fa-hourglass-start',
731 'fa-hourglass-2',
732 'fa-hourglass-half',
733 'fa-hourglass-3',
734 'fa-hourglass-end',
735 'fa-hourglass',
736 'fa-hand-grab-o',
737 'fa-hand-rock-o',
738 'fa-hand-stop-o',
739 'fa-hand-paper-o',
740 'fa-hand-scissors-o',
741 'fa-hand-lizard-o',
742 'fa-hand-spock-o',
743 'fa-hand-pointer-o',
744 'fa-hand-peace-o',
745 'fa-trademark',
746 'fa-registered',
747 'fa-creative-commons',
748 'fa-gg',
749 'fa-gg-circle',
750 'fa-tripadvisor',
751 'fa-odnoklassniki',
752 'fa-odnoklassniki-square',
753 'fa-get-pocket',
754 'fa-wikipedia-w',
755 'fa-safari',
756 'fa-chrome',
757 'fa-firefox',
758 'fa-opera',
759 'fa-internet-explorer',
760 'fa-tv',
761 'fa-television',
762 'fa-contao',
763 'fa-500px',
764 'fa-amazon',
765 'fa-calendar-plus-o',
766 'fa-calendar-minus-o',
767 'fa-calendar-times-o',
768 'fa-calendar-check-o',
769 'fa-industry',
770 'fa-map-pin',
771 'fa-map-signs',
772 'fa-map-o',
773 'fa-map',
774 'fa-commenting',
775 'fa-commenting-o',
776 'fa-houzz',
777 'fa-vimeo',
778 'fa-black-tie',
779 'fa-fonticons',
780 'fa-reddit-alien',
781 'fa-edge',
782 'fa-credit-card-alt',
783 'fa-codiepie:before',
784 'fa-modx',
785 'fa-fort-awesome',
786 'fa-usb',
787 'fa-product-hunt',
788 'fa-mixcloud',
789 'fa-scribd',
790 'fa-pause-circle',
791 'fa-pause-circle-o',
792 'fa-stop-circle',
793 'fa-stop-circle-o',
794 'fa-shopping-bag',
795 'fa-shopping-basket',
796 'fa-hashtag',
797 'fa-bluetooth',
798 'fa-bluetooth-b',
799 'fa-percent',
800 'fa-gitlab',
801 'fa-wpbeginner',
802 'fa-wpforms',
803 'fa-envira',
804 'fa-universal-access',
805 'fa-wheelchair-alt',
806 'fa-question-circle-o',
807 'fa-blind',
808 'fa-audio-description',
809 'fa-volume-control-phone',
810 'fa-braille',
811 'fa-assistive-listening-systems',
812 'fa-asl-interpreting',
813 'fa-american-sign-language-interpreting',
814 'fa-deafness',
815 'fa-hard-of-hearing',
816 'fa-deaf',
817 'fa-glide',
818 'fa-glide-g',
819 'fa-signing',
820 'fa-sign-language',
821 'fa-low-vision',
822 'fa-viadeo',
823 'fa-viadeo-square',
824 'fa-snapchat',
825 'fa-snapchat-ghost',
826 'fa-snapchat-square',
827 'fa-first-order',
828 'fa-yoast',
829 'fa-themeisle',
830 'fa-google-plus-circle',
831 'fa-google-plus-official',
832 'fa-fa',
833 'fa-font-awesome',
834 'fa-handshake-o',
835 'fa-envelope-open',
836 'fa-envelope-open-o',
837 'fa-linode',
838 'fa-address-book',
839 'fa-address-book-o',
840 'fa-vcard',
841 'fa-address-card',
842 'fa-vcard-o',
843 'fa-address-card-o',
844 'fa-user-circle',
845 'fa-user-circle-o',
846 'fa-user-o:before',
847 'fa-id-badge',
848 'fa-drivers-license',
849 'fa-id-card',
850 'fa-drivers-license-o',
851 'fa-id-card-o',
852 'fa-quora',
853 'fa-free-code-camp',
854 'fa-telegram',
855 'fa-thermometer-4',
856 'fa-thermometer',
857 'fa-thermometer-full',
858 'fa-thermometer-3',
859 'fa-thermometer-three-quarters',
860 'fa-thermometer-2',
861 'fa-thermometer-half',
862 'fa-thermometer-1',
863 'fa-thermometer-quarter',
864 'fa-thermometer-0:',
865 'fa-thermometer-empty',
866 'fa-shower',
867 'fa-bathtub',
868 'fa-s15',
869 'fa-bath',
870 'fa-podcast',
871 'fa-window-maximize',
872 'fa-window-minimize',
873 'fa-window-restore',
874 'fa-times-rectangle',
875 'fa-window-close',
876 'fa-times-rectangle-o',
877 'fa-window-close-o',
878 'fa-bandcamp',
879 'fa-grav',
880 'fa-etsy',
881 'fa-imdb',
882 'fa-ravelry',
883 'fa-eercast',
884 'fa-microchip',
885 'fa-snowflake-o',
886 'fa-superpowers',
887 'fa-wpexplorer',
888 'fa-meetup',
893 public static function getIconColors() {
894 return array(
895 'bluegrey',
896 'white',
897 'red',
898 'orange',
899 'yellow',
900 'green',
901 'blue',
902 'sky',
903 'indigo',
904 'violet',
905 'pink',
906 'lightgreytext',
907 'lightbluetext',