Add snippet for handlebars icons

This commit is contained in:
Oliver-Akins 2024-01-20 14:50:05 -07:00
parent 1a2b465e6a
commit 337edb87ec

View file

@ -24,5 +24,14 @@
"scope": "handlebars,html",
"prefix": "i18n",
"body": ["localize \"dotdungeon.$1\""]
},
"Icon": {
"scope": "handlebars,html",
"prefix": "icon",
"body": [
"<div aria-hidden=\"true\" class=\"icon icon--${1:20}\">",
"\t{{{ $2 }}}",
"</div>"
]
}
}