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

View File

@ -11,7 +11,7 @@ componentTest("default theme", {
test(assert) {
assert.expect(1);
assert.equal(this.$(".fa-check").length, 1, "shows default theme icon");
assert.equal(this.$(".d-icon-check").length, 1, "shows default theme icon");
}
});
@ -26,11 +26,15 @@ componentTest("pending updates", {
test(assert) {
assert.expect(1);
assert.equal(this.$(".fa-refresh").length, 1, "shows pending update icon");
assert.equal(
this.$(".d-icon-refresh").length,
1,
"shows pending update icon"
);
}
});
componentTest("borken theme", {
componentTest("broken theme", {
template: "{{themes-list-item theme=theme}}",
beforeEach() {
this.set(
@ -45,7 +49,7 @@ componentTest("borken theme", {
test(assert) {
assert.expect(1);
assert.equal(
this.$(".fa-exclamation-circle").length,
this.$(".d-icon-exclamation-circle").length,
1,
"shows broken theme icon"
);