first commit
This commit is contained in:
26
admin/webpack/assets/fonts/css.hbs
Normal file
26
admin/webpack/assets/fonts/css.hbs
Normal file
@@ -0,0 +1,26 @@
|
||||
@font-face {
|
||||
font-family: "{{fontName}}";
|
||||
src: {{{src}}};
|
||||
}
|
||||
|
||||
{{baseSelector}}:before {
|
||||
display: inline-block;
|
||||
font-family: {{fontName}};
|
||||
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;
|
||||
width: 1em;
|
||||
height: 1em;
|
||||
}
|
||||
|
||||
{{#each codepoints}}
|
||||
.{{../classPrefix}}{{@key}}:before {
|
||||
content: "\\{{this}}";
|
||||
}
|
||||
{{/each}}
|
||||
Reference in New Issue
Block a user