Update material icons font
This commit is contained in:
parent
0166ba8db5
commit
5bf75accce
@ -63,11 +63,6 @@
|
||||
"glob": "marker-shadow.png",
|
||||
"input": "node_modules/leaflet/dist/images/",
|
||||
"output": "/"
|
||||
},
|
||||
{
|
||||
"glob": "**/*",
|
||||
"input": "node_modules/material-design-icons/iconfont/",
|
||||
"output": "assets/fonts"
|
||||
}
|
||||
],
|
||||
"styles": [
|
||||
|
||||
@ -61,7 +61,6 @@
|
||||
"leaflet-providers": "^1.13.0",
|
||||
"leaflet.gridlayer.googlemutant": "^0.13.4",
|
||||
"leaflet.markercluster": "^1.5.3",
|
||||
"material-design-icons": "^3.0.1",
|
||||
"messageformat": "^2.3.0",
|
||||
"moment": "^2.29.1",
|
||||
"moment-timezone": "^0.5.34",
|
||||
|
||||
2142
ui-ngx/src/app/core/services/material-icons-codepoints.raw
Normal file
2142
ui-ngx/src/app/core/services/material-icons-codepoints.raw
Normal file
File diff suppressed because it is too large
Load Diff
@ -41,7 +41,7 @@ import { alarmFields } from '@shared/models/alarm.models';
|
||||
import { materialColors } from '@app/shared/models/material.models';
|
||||
import { WidgetInfo } from '@home/models/widget-component.models';
|
||||
import jsonSchemaDefaults from 'json-schema-defaults';
|
||||
import materialIconsCodepoints from '!raw-loader!material-design-icons/iconfont/codepoints';
|
||||
import materialIconsCodepoints from '!raw-loader!./material-icons-codepoints.raw';
|
||||
import { Observable, of, ReplaySubject } from 'rxjs';
|
||||
|
||||
const i18nRegExp = new RegExp(`{${i18nPrefix}:[^{}]+}`, 'g');
|
||||
|
||||
BIN
ui-ngx/src/assets/fonts/MaterialIcons-Regular.ttf
Normal file
BIN
ui-ngx/src/assets/fonts/MaterialIcons-Regular.ttf
Normal file
Binary file not shown.
33
ui-ngx/src/assets/fonts/material-icons.css
Normal file
33
ui-ngx/src/assets/fonts/material-icons.css
Normal file
@ -0,0 +1,33 @@
|
||||
@font-face {
|
||||
font-family: 'Material Icons';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: local('Material Icons'),
|
||||
local('MaterialIcons-Regular'),
|
||||
url(MaterialIcons-Regular.ttf) format('truetype');
|
||||
}
|
||||
|
||||
.material-icons {
|
||||
font-family: 'Material Icons';
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
font-size: 24px; /* Preferred icon size */
|
||||
display: inline-block;
|
||||
line-height: 1;
|
||||
text-transform: none;
|
||||
letter-spacing: normal;
|
||||
word-wrap: normal;
|
||||
white-space: nowrap;
|
||||
direction: ltr;
|
||||
|
||||
/* Support for all WebKit browsers. */
|
||||
-webkit-font-smoothing: antialiased;
|
||||
/* Support for Safari and Chrome. */
|
||||
text-rendering: optimizeLegibility;
|
||||
|
||||
/* Support for Firefox. */
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
|
||||
/* Support for IE. */
|
||||
font-feature-settings: 'liga';
|
||||
}
|
||||
@ -24,7 +24,7 @@
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="icon" type="image/x-icon" href="thingsboard.ico">
|
||||
<link rel="preload" href="assets/fonts/MaterialIcons-Regular.woff2" as="font" type="font/woff2" crossorigin="anonymous" />
|
||||
<link rel="preload" href="assets/fonts/MaterialIcons-Regular.ttf" as="font" type="font/ttf" crossorigin="anonymous" />
|
||||
<link rel="stylesheet" href="assets/fonts/material-icons.css" />
|
||||
<style type="text/css">
|
||||
|
||||
|
||||
@ -6255,11 +6255,6 @@ marked@^2.0.0:
|
||||
resolved "https://registry.yarnpkg.com/marked/-/marked-2.1.3.tgz#bd017cef6431724fd4b27e0657f5ceb14bff3753"
|
||||
integrity sha512-/Q+7MGzaETqifOMWYEA7HVMaZb4XbcRfaOzcSsHZEith83KGlvaSG33u0SKu89Mj5h+T8V2hM+8O45Qc5XTgwA==
|
||||
|
||||
material-design-icons@^3.0.1:
|
||||
version "3.0.1"
|
||||
resolved "https://registry.yarnpkg.com/material-design-icons/-/material-design-icons-3.0.1.tgz#9a71c48747218ebca51e51a66da682038cdcb7bf"
|
||||
integrity sha1-mnHEh0chjrylHlGmbaaCA4zct78=
|
||||
|
||||
mdn-data@2.0.14:
|
||||
version "2.0.14"
|
||||
resolved "https://registry.yarnpkg.com/mdn-data/-/mdn-data-2.0.14.tgz#7113fc4281917d63ce29b43446f701e68c25ba50"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user