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

17 lines
667 B
XML

<snippet>
<content><![CDATA[
@font-face {
font-family: "${1:FontFamily}";
src: url(fonts/${1:FontFamily}/${2:FontName}.woff2) format("woff2");
font-weight: 400; /* thin/100, extralight/200, light/300, normal/400, medium/500, semibold/600, bold/700, extrabold/800, black/900 */
font-style: normal; /* normal, italic, oblique, oblique 10deg */
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>