UI: Added preload Material Icons font
This commit is contained in:
		
							parent
							
								
									6027958c24
								
							
						
					
					
						commit
						b81a933ba2
					
				@ -59,6 +59,11 @@
 | 
			
		||||
                "glob": "marker-shadow.png",
 | 
			
		||||
                "input": "node_modules/leaflet/dist/images/",
 | 
			
		||||
                "output": "/"
 | 
			
		||||
              },
 | 
			
		||||
              {
 | 
			
		||||
                "glob": "**/*",
 | 
			
		||||
                "input": "node_modules/material-design-icons/iconfont/",
 | 
			
		||||
                "output": "/fonts"
 | 
			
		||||
              }
 | 
			
		||||
            ],
 | 
			
		||||
            "styles": [
 | 
			
		||||
 | 
			
		||||
@ -24,6 +24,8 @@
 | 
			
		||||
 | 
			
		||||
  <meta name="viewport" content="width=device-width, initial-scale=1">
 | 
			
		||||
  <link rel="icon" type="image/x-icon" href="thingsboard.ico">
 | 
			
		||||
  <link rel="preload" href="fonts/MaterialIcons-Regular.woff2" as="font" type="font/woff2" crossorigin="anonymous" />
 | 
			
		||||
  <link rel="stylesheet" href="fonts/material-icons.css" />
 | 
			
		||||
  <style type="text/css">
 | 
			
		||||
 | 
			
		||||
    body, html {
 | 
			
		||||
 | 
			
		||||
@ -15,7 +15,6 @@
 | 
			
		||||
 */
 | 
			
		||||
/* You can add global styles to this file, and also import other style files */
 | 
			
		||||
 | 
			
		||||
@import '~material-design-icons/iconfont/material-icons.css';
 | 
			
		||||
@import '~typeface-roboto/index.css';
 | 
			
		||||
@import '~font-awesome/css/font-awesome.min.css';
 | 
			
		||||
@import 'theme.scss';
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user