Skip to content

Commit 47bd403

Browse files
committed
[Frontend] Renaming symbols font files
Fixes #1047 - Modified sass to point to renamed font files; - Added new 12px symbols font files to sass;
1 parent 22a51d6 commit 47bd403

File tree

1 file changed

+22
-6
lines changed

1 file changed

+22
-6
lines changed

platform/commonUI/general/res/sass/_global.scss

+22-6
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,34 @@
2222
/************************** FONTS */
2323
@font-face {
2424
/*
25-
* Use https://icomoon.io/app with /platform/commonUI/general/res/fonts/symbols/icomoon.io-WTD-symbols-project.json
25+
* Use https://icomoon.io/app with icomoon-project-openmct-symbols-16px.json
26+
* to generate font files
2627
*/
2728
font-family: 'symbolsfont';
28-
src: url($dirCommonRes + 'fonts/symbols/wtdsymbols.eot');
29-
src: url($dirCommonRes + 'fonts/symbols/wtdsymbols.eot?#iefix') format('embedded-opentype'),
30-
url($dirCommonRes + 'fonts/symbols/wtdsymbols.woff') format('woff'),
31-
url($dirCommonRes + 'fonts/symbols/wtdsymbols.ttf') format('truetype'),
32-
url($dirCommonRes + 'fonts/symbols/wtdsymbols.svg#armataregular') format('svg');
29+
src: url($dirCommonRes + 'fonts/symbols/openmct-symbols-16px.eot');
30+
src: url($dirCommonRes + 'fonts/symbols/openmct-symbols-16px.eot?#iefix') format('embedded-opentype'),
31+
url($dirCommonRes + 'fonts/symbols/openmct-symbols-16px.woff') format('woff'),
32+
url($dirCommonRes + 'fonts/symbols/openmct-symbols-16px.ttf') format('truetype'),
33+
url($dirCommonRes + 'fonts/symbols/openmct-symbols-16px.svg') format('svg');
3334
font-weight: normal;
3435
font-style: normal;
3536
}
3637

38+
@font-face {
39+
/*
40+
* Use https://icomoon.io/app with icomoon-project-openmct-symbols-12px.json
41+
* to generate font files
42+
*/
43+
font-family: 'symbolsfont 12px';
44+
src: url($dirCommonRes + 'fonts/symbols/openmct-symbols-12px.eot');
45+
src: url($dirCommonRes + 'fonts/symbols/openmct-symbols-12px.eot?#iefix') format('embedded-opentype'),
46+
url($dirCommonRes + 'fonts/symbols/openmct-symbols-12px.woff') format('woff'),
47+
url($dirCommonRes + 'fonts/symbols/openmct-symbols-12px.ttf') format('truetype'),
48+
url($dirCommonRes + 'fonts/symbols/openmct-symbols-12px.svg') format('svg');
49+
font-weight: normal;
50+
font-style: normal;
51+
}
52+
3753
/************************** HTML ENTITIES */
3854
a {
3955
color: $colorA;

0 commit comments

Comments
 (0)