@@ -155,20 +155,14 @@
155 "description": "Hero section with title, description, and CTA"
155 "description": "Hero section with title, description, and CTA"
157 "Theme tokens": {
157 "Theme tokens": {
158− "prefix": "@theme",
158+ "prefix": "@let-tokens",
159 "body": [
159 "body": [
161− " primary ${1:#3b82f6}",
160+ "@let --primary ${1:#3b82f6}",
162− " secondary ${2:#10b981}",
161+ "@let --secondary ${2:#10b981}",
163− " bg ${3:#ffffff}",
162+ "@let --radius ${3:8}",
164− " text ${4:#1a1a2e}",
165− " spacing-sm ${5:8}",
166− " spacing-md ${6:16}",
167− " spacing-lg ${7:32}",
168− " font-body ${8:system-ui, sans-serif}",
171− "description": "Design token theme definition"
165+ "description": "Design tokens as CSS custom properties (use as $--primary)"
173 "Keyframes animation": {
167 "Keyframes animation": {
174 "prefix": "@keyframes",
168 "prefix": "@keyframes",
@@ -183,12 +177,12 @@
183 "description": "Keyframe animation with element usage"
177 "description": "Keyframe animation with element usage"
185 "Include/Import": {
179 "Include/Import": {
186− "prefix": "@import",
180+ "prefix": "@include",
187 "body": [
181 "body": [
188− "@import ${1:components.hl}",
182+ "@include ${1:components.hl}",
191− "description": "Import definitions from another file"
185+ "description": "Include another file (a library of @let definitions emits nothing)"
193 "Template inheritance": {
187 "Template inheritance": {
194 "prefix": "@extends",
188 "prefix": "@extends",
@@ -258,23 +252,22 @@
258 "Font face": {
252 "Font face": {
259 "prefix": "@font-face",
253 "prefix": "@font-face",
260 "body": [
254 "body": [
261− "@font-face ${1:Inter} ${2:fonts/${3:inter.woff2}}",
256+ " @font-face { font-family: '${1:Inter}'; src: url('${2:fonts/inter.woff2}') format('woff2'); font-display: swap; }",
264− "description": "Custom font face declaration"
259+ "description": "Custom font face in an @style block"
266 "JSON-LD structured data": {
261 "JSON-LD structured data": {
267 "prefix": "@json-ld",
262 "prefix": "@json-ld",
268 "body": [
263 "body": [
269− "@json-ld",
264+ "@head",
270− " {",
265+ " <script type=\"application/ld+json\">",
271− " \"@context\": \"https://schema.org\",",
266+ " {\"@context\": \"https://schema.org\", \"@type\": \"${1:WebPage}\", \"name\": \"${2:Page Title}\"}",
272− " \"@type\": \"${1:WebPage}\",",
267+ " </script>",
273− " \"name\": \"${2:Page Title}\"",
277− "description": "JSON-LD structured data block"
270+ "description": "JSON-LD structured data in @head"
279 "Page metadata": {
272 "Page metadata": {
280 "prefix": "@page-meta",
273 "prefix": "@page-meta",