|
1 | 1 | // WARNING: installed by carbon-vscode-snippets local updates will be lost on running package install |
2 | 2 | { |
3 | | - "// ============================================": {}, |
4 | | - "// Background Tokens": {}, |
5 | | - "// ============================================": {}, |
| 3 | + // ============================================ |
| 4 | + // Background Tokens |
| 5 | + // ============================================ |
6 | 6 | "Carbon background": { |
7 | 7 | "prefix": "$background", |
8 | 8 | "body": "$$background", |
|
43 | 43 | "body": "$$background-brand", |
44 | 44 | "description": "Feature background color" |
45 | 45 | }, |
46 | | - "// ============================================": {}, |
47 | | - "// Layer Tokens": {}, |
48 | | - "// ============================================": {}, |
| 46 | + // ============================================ |
| 47 | + // Layer Tokens |
| 48 | + // ============================================ |
49 | 49 | "Carbon layer 01": { |
50 | 50 | "prefix": "$layer-01", |
51 | 51 | "body": "$$layer-01", |
|
153 | 153 | }, |
154 | 154 | "Carbon layer selected disabled": { |
155 | 155 | "prefix": "$layer-selected-disabled", |
156 | | - "body": "$layer-selected-disabled", |
| 156 | + "body": "$$layer-selected-disabled", |
157 | 157 | "description": "Disabled color for selected layers" |
158 | 158 | }, |
159 | | - "// ============================================": {}, |
160 | | - "// Layer Accent Tokens": {}, |
161 | | - "// ============================================": {}, |
| 159 | + // ============================================ |
| 160 | + // Layer Accent Tokens |
| 161 | + // ============================================ |
162 | 162 | "Carbon layer accent 01": { |
163 | 163 | "prefix": "$layer-accent-01", |
164 | 164 | "body": "$$layer-accent-01", |
|
196 | 196 | }, |
197 | 197 | "Carbon layer accent hover": { |
198 | 198 | "prefix": "$layer-accent-hover", |
199 | | - "body": "$layer-accent-hover", |
| 199 | + "body": "$$layer-accent-hover", |
200 | 200 | "description": "Contextual layer accent hover token; Automatically matches layer context" |
201 | 201 | }, |
202 | 202 | "Carbon layer accent active 01": { |
|
216 | 216 | }, |
217 | 217 | "Carbon layer accent active": { |
218 | 218 | "prefix": "$layer-accent-active", |
219 | | - "body": "$layer-accent-active", |
| 219 | + "body": "$$layer-accent-active", |
220 | 220 | "description": "Contextual layer accent active token; Automatically matches layer context" |
221 | 221 | }, |
222 | | - "// ============================================": {}, |
223 | | - "// Field Tokens": {}, |
224 | | - "// ============================================": {}, |
| 222 | + // ============================================ |
| 223 | + // Field Tokens |
| 224 | + // ============================================ |
225 | 225 | "Carbon field 01": { |
226 | 226 | "prefix": "$field-01", |
227 | 227 | "body": "$$field-01", |
|
262 | 262 | "body": "$$field-hover", |
263 | 263 | "description": "Contextual field hover token; Automatically matches layer context" |
264 | 264 | }, |
265 | | - "// ============================================": {}, |
266 | | - "// Border Tokens": {}, |
267 | | - "// ============================================": {}, |
| 265 | + // ============================================ |
| 266 | + // Border Tokens |
| 267 | + // ============================================ |
268 | 268 | "Carbon border interactive": { |
269 | 269 | "prefix": "$border-interactive", |
270 | 270 | "body": "$$border-interactive", |
|
312 | 312 | }, |
313 | 313 | "Carbon border subtle selected": { |
314 | 314 | "prefix": "$border-subtle-selected", |
315 | | - "body": "$border-subtle-selected", |
| 315 | + "body": "$$border-subtle-selected", |
316 | 316 | "description": "Contextual subtle selected border token; Automatically matches layer context" |
317 | 317 | }, |
318 | 318 | "Carbon border strong 01": { |
|
365 | 365 | "body": "$$border-disabled", |
366 | 366 | "description": "Disabled border color (excluding border-subtles)" |
367 | 367 | }, |
368 | | - "// ============================================": {}, |
369 | | - "// Text Tokens": {}, |
370 | | - "// ============================================": {}, |
| 368 | + // ============================================ |
| 369 | + // Text Tokens |
| 370 | + // ============================================ |
371 | 371 | "Carbon text primary": { |
372 | 372 | "prefix": "$text-primary", |
373 | 373 | "body": "$$text-primary", |
|
385 | 385 | }, |
386 | 386 | "Carbon text on color": { |
387 | 387 | "prefix": "$text-on-color", |
388 | | - "body": "$text-on-color", |
| 388 | + "body": "$$text-on-color", |
389 | 389 | "description": "Text on interactive colors; Text on button colors" |
390 | 390 | }, |
391 | 391 | "Carbon text on color disabled": { |
|
413 | 413 | "body": "$$text-disabled", |
414 | 414 | "description": "Disabled text color" |
415 | 415 | }, |
416 | | - "// ============================================": {}, |
417 | | - "// Link Tokens": {}, |
418 | | - "// ============================================": {}, |
| 416 | + // ============================================ |
| 417 | + // Link Tokens |
| 418 | + // ============================================ |
419 | 419 | "Carbon link primary": { |
420 | 420 | "prefix": "$link-primary", |
421 | 421 | "body": "$$link-primary", |
422 | 422 | "description": "Primary links" |
423 | 423 | }, |
424 | 424 | "Carbon link primary hover": { |
425 | 425 | "prefix": "$link-primary-hover", |
426 | | - "body": "$link-primary-hover", |
| 426 | + "body": "$$link-primary-hover", |
427 | 427 | "description": "Hover color for $link-primary" |
428 | 428 | }, |
429 | 429 | "Carbon link secondary": { |
|
438 | 438 | }, |
439 | 439 | "Carbon link inverse hover": { |
440 | 440 | "prefix": "$link-inverse-hover", |
441 | | - "body": "$link-inverse-hover", |
| 441 | + "body": "$$link-inverse-hover", |
442 | 442 | "description": "Hover color for links on $background-inverse backgrounds" |
443 | 443 | }, |
444 | 444 | "Carbon link inverse active": { |
445 | 445 | "prefix": "$link-inverse-active", |
446 | | - "body": "$link-inverse-active", |
| 446 | + "body": "$$link-inverse-active", |
447 | 447 | "description": "Active color for links on $background-inverse backgrounds" |
448 | 448 | }, |
449 | 449 | "Carbon link inverse visited": { |
450 | 450 | "prefix": "$link-inverse-visited", |
451 | | - "body": "$link-inverse-visited", |
| 451 | + "body": "$$link-inverse-visited", |
452 | 452 | "description": "Color for visited links on $background-inverse backgrounds" |
453 | 453 | }, |
454 | 454 | "Carbon link visited": { |
455 | 455 | "prefix": "$link-visited", |
456 | 456 | "body": "$$link-visited", |
457 | 457 | "description": "Color for visited links" |
458 | 458 | }, |
459 | | - "// ============================================": {}, |
460 | | - "// Icon Tokens": {}, |
461 | | - "// ============================================": {}, |
| 459 | + // ============================================ |
| 460 | + // Icon Tokens |
| 461 | + // ============================================ |
462 | 462 | "Carbon icon primary": { |
463 | 463 | "prefix": "$icon-primary", |
464 | 464 | "body": "$$icon-primary", |
|
471 | 471 | }, |
472 | 472 | "Carbon icon on color": { |
473 | 473 | "prefix": "$icon-on-color", |
474 | | - "body": "$icon-on-color", |
| 474 | + "body": "$$icon-on-color", |
475 | 475 | "description": "Icons on interactive colors; Icons on non-layer colors" |
476 | 476 | }, |
477 | 477 | "Carbon icon on color disabled": { |
|
494 | 494 | "body": "$$icon-disabled", |
495 | 495 | "description": "Disabled icon color" |
496 | 496 | }, |
497 | | - "// ============================================": {}, |
498 | | - "// Support Tokens": {}, |
499 | | - "// ============================================": {}, |
| 497 | + // ============================================ |
| 498 | + // Support Tokens |
| 499 | + // ============================================ |
500 | 500 | "Carbon support error": { |
501 | 501 | "prefix": "$support-error", |
502 | 502 | "body": "$$support-error", |
|
552 | 552 | "body": "$support-caution-undefined", |
553 | 553 | "description": "Undefined status" |
554 | 554 | }, |
555 | | - "// ============================================": {}, |
556 | | - "// Focus Tokens": {}, |
557 | | - "// ============================================": {}, |
| 555 | + // ============================================ |
| 556 | + // Focus Tokens |
| 557 | + // ============================================ |
558 | 558 | "Carbon focus": { |
559 | 559 | "prefix": "$focus", |
560 | 560 | "body": "$$focus", |
|
570 | 570 | "body": "$$focus-inverse", |
571 | 571 | "description": "Focus on high contrast moments" |
572 | 572 | }, |
573 | | - "// ============================================": {}, |
574 | | - "// Miscellaneous Tokens": {}, |
575 | | - "// ============================================": {}, |
| 573 | + // ============================================ |
| 574 | + // Miscellaneous Tokens |
| 575 | + // ============================================ |
576 | 576 | "Carbon interactive": { |
577 | 577 | "prefix": "$interactive", |
578 | 578 | "body": "$$interactive", |
|
0 commit comments