mirror of
https://github.com/discourse/discourse.git
synced 2025-06-04 05:06:46 +08:00
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:
@ -14,7 +14,7 @@ widgetTest("single, not selected", {
|
||||
},
|
||||
|
||||
test(assert) {
|
||||
assert.ok(find("li .d-icon-circle-o:eq(0)").length === 1);
|
||||
assert.ok(find("li .d-icon-far-circle:eq(0)").length === 1);
|
||||
}
|
||||
});
|
||||
|
||||
@ -27,7 +27,7 @@ widgetTest("single, selected", {
|
||||
},
|
||||
|
||||
test(assert) {
|
||||
assert.ok(find("li .d-icon-dot-circle-o:eq(0)").length === 1);
|
||||
assert.ok(find("li .d-icon-far-dot-circle:eq(0)").length === 1);
|
||||
}
|
||||
});
|
||||
|
||||
@ -43,7 +43,7 @@ widgetTest("multi, not selected", {
|
||||
},
|
||||
|
||||
test(assert) {
|
||||
assert.ok(find("li .d-icon-square-o:eq(0)").length === 1);
|
||||
assert.ok(find("li .d-icon-far-square:eq(0)").length === 1);
|
||||
}
|
||||
});
|
||||
|
||||
@ -59,6 +59,6 @@ widgetTest("multi, selected", {
|
||||
},
|
||||
|
||||
test(assert) {
|
||||
assert.ok(find("li .d-icon-check-square-o:eq(0)").length === 1);
|
||||
assert.ok(find("li .d-icon-far-check-square:eq(0)").length === 1);
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user