Skip to content

Commit

Permalink
Default to empty icon-font.scss file
Browse files Browse the repository at this point in the history
  • Loading branch information
xavez committed Dec 5, 2019
1 parent 87afe91 commit c87d3fa
Showing 1 changed file with 4 additions and 42 deletions.
46 changes: 4 additions & 42 deletions content/scss/_icon-font.scss
Original file line number Diff line number Diff line change
@@ -1,42 +1,4 @@
/*
Icon Font: icon-font
*/

@font-face {
font-family: "icon-font";
src: url("/fonts/icon-font.eot");
src: url("/fonts/icon-font.eot?#iefix") format("embedded-opentype"),
url("/fonts/icon-font.woff2") format("woff2"),
url("/fonts/icon-font.woff") format("woff"),
url("/fonts/icon-font.ttf") format("truetype"),
url("/fonts/icon-font.svg#icon-font") format("svg");
font-weight: normal;
font-style: normal;
}

@media screen and (-webkit-min-device-pixel-ratio:0) {
@font-face {
font-family: "icon-font";
src: url("/fonts/icon-font.svg#icon-font") format("svg");
}
}

[data-icon]:before { content: attr(data-icon); }

[data-icon]:before,
.if-example:before {
display: inline-block;
font-family: "icon-font";
font-style: normal;
font-weight: normal;
font-variant: normal;
line-height: 1;
text-decoration: inherit;
text-rendering: optimizeLegibility;
text-transform: none;
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
font-smoothing: antialiased;
}

.if-example:before { content: "\f100"; }
// This is an empty placeholder file. You need this
// when you use icon font generation in Bedrock.
// Check out README.md on how to enable
// icon font generation.

0 comments on commit c87d3fa

Please sign in to comment.