Added my snippets and current settings on Linux
This commit is contained in:
17
Packages/User/fontface.sublime-snippet
Normal file
17
Packages/User/fontface.sublime-snippet
Normal file
@ -0,0 +1,17 @@
|
||||
<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>
|
Reference in New Issue
Block a user