mirror of
https://github.com/discourse/discourse.git
synced 2025-09-07 12:02:53 +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:
parent
6b60646330
commit
005e1ecb9b
124 changed files with 6692 additions and 2211 deletions
|
@ -34,6 +34,11 @@
|
|||
}
|
||||
|
||||
Discourse.HighlightJSPath = setupData.highlightJsPath;
|
||||
Discourse.SvgSpritePath = setupData.svgSpritePath;
|
||||
|
||||
if (Discourse.Environment === "development") {
|
||||
Discourse.SvgIconList = setupData.svgIconList;
|
||||
}
|
||||
|
||||
if (setupData.s3BaseUrl) {
|
||||
Discourse.S3CDN = setupData.s3Cdn;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue