Skip to content
This repository was archived by the owner on Feb 7, 2023. It is now read-only.

Commit dd71985

Browse files
committed
updating the fonts
1 parent 324ba43 commit dd71985

File tree

2 files changed

+41
-25
lines changed

2 files changed

+41
-25
lines changed

public/styleguide/css/styleguide.css

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -637,11 +637,11 @@ div.clear {
637637
/* Pattern Lab icon fonts */
638638
@font-face {
639639
font-family: 'icomoon';
640-
src:url('fonts/icomoon.eot?srsv7g');
641-
src:url('fonts/icomoon.eot?#iefixsrsv7g') format('embedded-opentype'),
642-
url('fonts/icomoon.woff?srsv7g') format('woff'),
643-
url('fonts/icomoon.ttf?srsv7g') format('truetype'),
644-
url('fonts/icomoon.svg?srsv7g#icomoon') format('svg');
640+
src:url('../fonts/icomoon.eot?srsv7g');
641+
src:url('../fonts/icomoon.eot?#iefixsrsv7g') format('embedded-opentype'),
642+
url('../fonts/icomoon.woff?srsv7g') format('woff'),
643+
url('../fonts/icomoon.ttf?srsv7g') format('truetype'),
644+
url('../fonts/icomoon.svg?srsv7g#icomoon') format('svg');
645645
font-weight: normal;
646646
font-style: normal;
647647
}

public/styleguide/css/styleguide.scss

Lines changed: 36 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -871,52 +871,68 @@ div.clear {
871871
opacity: .7;
872872
}
873873

874+
/* Pattern Lab icon fonts */
874875
/* Pattern Lab icon fonts */
875876
@font-face {
876-
font-family: 'icons';
877-
src:url('../assets/icons.eot');
878-
src:url('../assets/icons.eot?#iefix') format('embedded-opentype'),
879-
url('../assets/icons.woff') format('woff'),
880-
url('../assets/icons.ttf') format('truetype'),
881-
url('../assets/icons.svg#icons') format('svg');
877+
font-family: 'icomoon';
878+
src:url('../fonts/icomoon.eot?srsv7g');
879+
src:url('../fonts/icomoon.eot?#iefixsrsv7g') format('embedded-opentype'),
880+
url('../fonts/icomoon.woff?srsv7g') format('woff'),
881+
url('../fonts/icomoon.ttf?srsv7g') format('truetype'),
882+
url('../fonts/icomoon.svg?srsv7g#icomoon') format('svg');
882883
font-weight: normal;
883884
font-style: normal;
884885
}
885886

886-
887-
.icon-reload, .icon-cog, .icon-minus, .icon-plus, .icon-menu, .icon-checkbox-unchecked, .icon-checkbox-checked, .icon-eye {
888-
font-family: 'icons';
887+
.icon-search, .icon-cog, .icon-minus, .icon-plus, .icon-menu, .icon-radio-checked, .icon-radio-unchecked, .icon-file, .icon-link, .icon-keyboard, .icon-qrcode, .icon-eye, .sg-checkbox {
888+
font-family: 'icomoon';
889889
speak: none;
890890
font-style: normal;
891891
font-weight: normal;
892892
font-variant: normal;
893893
text-transform: none;
894894
line-height: 1;
895+
896+
/* Better Font Rendering =========== */
895897
-webkit-font-smoothing: antialiased;
898+
-moz-osx-font-smoothing: grayscale;
896899
}
897-
.icon-reload:before {
898-
content: "\e002";
900+
901+
.icon-search:before {
902+
content: "\e600";
899903
}
900904
.icon-cog:before {
901-
content: "\e000";
905+
content: "\e601";
902906
}
903907
.icon-minus:before {
904-
content: "\e003";
908+
content: "\e602";
905909
}
906910
.icon-plus:before {
907-
content: "\e004";
911+
content: "\e603";
908912
}
909913
.icon-menu:before {
910-
content: "\e005";
914+
content: "\e604";
915+
}
916+
.icon-radio-checked:before, .sg-checkbox.active:before {
917+
content: "\e605";
918+
}
919+
.icon-radio-unchecked:before, .sg-checkbox:before {
920+
content: "\e606";
921+
}
922+
.icon-file:before {
923+
content: "\e607";
924+
}
925+
.icon-link:before {
926+
content: "\e608";
911927
}
912-
.icon-checkbox-unchecked:before {
913-
content: "\e006";
928+
.icon-keyboard:before {
929+
content: "\e609";
914930
}
915-
.icon-checkbox-checked:before {
916-
content: "\e007";
931+
.icon-qrcode:before {
932+
content: "\e60a";
917933
}
918934
.icon-eye:before {
919-
content: "\e001";
935+
content: "\e60b";
920936
}
921937

922938
/******************************************************************/

0 commit comments

Comments
 (0)