Remove FontAwesome Brands icon set
This commit is contained in:
parent
5f61b7a390
commit
6414507fbe
File diff suppressed because one or more lines are too long
@ -13,14 +13,14 @@ import Theme from './theme.mjs';
|
||||
import {library, dom} from '@fortawesome/fontawesome-svg-core/index.es';
|
||||
import {fas} from '@fortawesome/free-solid-svg-icons/index.es';
|
||||
import {far} from '@fortawesome/free-regular-svg-icons/index.es';
|
||||
import {fab} from '@fortawesome/free-brands-svg-icons/index.es';
|
||||
library.add(fas, far, fab);
|
||||
library.add(fas, far);
|
||||
|
||||
document.addEventListener('DOMContentLoaded', () => {
|
||||
Theme.init();
|
||||
|
||||
// This is required to seach DOM and convert i tags to SVG
|
||||
dom.i2svg();
|
||||
// Replace any existing <i> tags with <svg> and set up a MutationObserver to
|
||||
// continue doing this as the DOM changes.
|
||||
dom.watch();
|
||||
|
||||
document.getElementById('theme-switch-btn').addEventListener('click', () => {
|
||||
Theme.swap();
|
||||
|
Loading…
x
Reference in New Issue
Block a user