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

Commit a74aae5

Browse files
committed
adding new fonts
1 parent 01db5dd commit a74aae5

File tree

1 file changed

+53
-32
lines changed

1 file changed

+53
-32
lines changed

public/styleguide/css/styleguide.css

Lines changed: 53 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -636,45 +636,66 @@ div.clear {
636636

637637
/* Pattern Lab icon fonts */
638638
@font-face {
639-
font-family: 'icons';
640-
src: url("../assets/icons.eot");
641-
src: url("../assets/icons.eot?#iefix") format("embedded-opentype"), url("../assets/icons.woff") format("woff"), url("../assets/icons.ttf") format("truetype"), url("../assets/icons.svg#icons") format("svg");
642-
font-weight: normal;
643-
font-style: normal; }
644-
645-
.icon-reload, .icon-cog, .icon-minus, .icon-plus, .icon-menu, .icon-checkbox-unchecked, .sg-checkbox, .icon-checkbox-checked, .sg-checkbox.active, .icon-eye {
646-
font-family: 'icons';
647-
speak: none;
648-
font-style: normal;
649-
font-weight: normal;
650-
font-variant: normal;
651-
text-transform: none;
652-
line-height: 1;
653-
-webkit-font-smoothing: antialiased; }
639+
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');
645+
font-weight: normal;
646+
font-style: normal;
647+
}
654648

655-
.icon-reload:before {
656-
content: "\e002"; }
649+
.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 {
650+
font-family: 'icomoon';
651+
speak: none;
652+
font-style: normal;
653+
font-weight: normal;
654+
font-variant: normal;
655+
text-transform: none;
656+
line-height: 1;
657+
658+
/* Better Font Rendering =========== */
659+
-webkit-font-smoothing: antialiased;
660+
-moz-osx-font-smoothing: grayscale;
661+
}
657662

663+
.icon-search:before {
664+
content: "\e600";
665+
}
658666
.icon-cog:before {
659-
content: "\e000"; }
660-
667+
content: "\e601";
668+
}
661669
.icon-minus:before {
662-
content: "\e003"; }
663-
670+
content: "\e602";
671+
}
664672
.icon-plus:before {
665-
content: "\e004"; }
666-
673+
content: "\e603";
674+
}
667675
.icon-menu:before {
668-
content: "\e005"; }
669-
670-
.icon-checkbox-unchecked:before, .sg-checkbox:before {
671-
content: "\e006"; }
672-
673-
.icon-checkbox-checked:before, .sg-checkbox.active:before {
674-
content: "\e007"; }
675-
676+
content: "\e604";
677+
}
678+
.icon-radio-checked:before, .sg-checkbox.active:before {
679+
content: "\e605";
680+
}
681+
.icon-radio-unchecked:before, .sg-checkbox:before {
682+
content: "\e606";
683+
}
684+
.icon-file:before {
685+
content: "\e607";
686+
}
687+
.icon-link:before {
688+
content: "\e608";
689+
}
690+
.icon-keyboard:before {
691+
content: "\e609";
692+
}
693+
.icon-qrcode:before {
694+
content: "\e60a";
695+
}
676696
.icon-eye:before {
677-
content: "\e001"; }
697+
content: "\e60b";
698+
}
678699

679700
/******************************************************************/
680701
/* End Pattern Lab Interface code */

0 commit comments

Comments
 (0)