sublime-settings/Packages/User/fontface.sublime-snippet

18 lines
633 B
XML

<snippet>
<content><![CDATA[
@font-face {
font-family: "${1:FontFamily}";
src: url(fonts/${1:FontFamily}/${2:FontName}.woff2) format("woff2"),
url(fonts/${1:FontFamily}/${2:FontName}.woff) format("woff");
font-weight: 400; /* normal/400, bold/700 */
font-style: normal; /* normal, italic, oblique */
font-display: swap; /* swap, fallback */
}
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>fontface</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<!-- <scope>source.python</scope> -->
</snippet>