Remove FontAwesome Brands icon set
This commit is contained in:
		
										
											
												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 {library, dom} from '@fortawesome/fontawesome-svg-core/index.es';
 | 
				
			||||||
import {fas} from '@fortawesome/free-solid-svg-icons/index.es';
 | 
					import {fas} from '@fortawesome/free-solid-svg-icons/index.es';
 | 
				
			||||||
import {far} from '@fortawesome/free-regular-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);
 | 
				
			||||||
library.add(fas, far, fab);
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
document.addEventListener('DOMContentLoaded', () => {
 | 
					document.addEventListener('DOMContentLoaded', () => {
 | 
				
			||||||
  Theme.init();
 | 
					  Theme.init();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  // This is required to seach DOM and convert i tags to SVG
 | 
					  // Replace any existing <i> tags with <svg> and set up a MutationObserver to
 | 
				
			||||||
  dom.i2svg();
 | 
					  // continue doing this as the DOM changes.
 | 
				
			||||||
 | 
					  dom.watch();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  document.getElementById('theme-switch-btn').addEventListener('click', () => {
 | 
					  document.getElementById('theme-switch-btn').addEventListener('click', () => {
 | 
				
			||||||
    Theme.swap();
 | 
					    Theme.swap();
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user