FEATURE: Update Font Awesome to v5.4.1 and SVGs (#6557)

* First take on subsetting svg icons

* FontAwesome 5 svg subset WIP

* Include icons from plugins/badges into svg sprite subset

* add svg icon support to themes

* Add spec for SvgSprite

* Misc. SVG icon fixes

* Use FA5 svgs in local-dates plugin

* CSS adjustments, fix SVG icons in group flair

* Use SVG icons in poll plugin

* Add SVG icons to /wizard
This commit is contained in:
Penar Musaraj
2018-11-07 13:05:43 -05:00
committed by GitHub
parent 6b60646330
commit 005e1ecb9b
124 changed files with 6692 additions and 2211 deletions
@@ -39,9 +39,9 @@ createWidget("discourse-poll-option", {
const chosen = vote.indexOf(option.id) !== -1;
if (attrs.isMultiple) {
result.push(iconNode(chosen ? "check-square-o" : "square-o"));
result.push(iconNode(chosen ? "far-check-square" : "far-square"));
} else {
result.push(iconNode(chosen ? "dot-circle-o" : "circle-o"));
result.push(iconNode(chosen ? "far-dot-circle" : "far-circle"));
}
result.push(" ");
result.push(optionHtml(option));