-
Notifications
You must be signed in to change notification settings - Fork 7
Closed
Description
Description:
Two errors were found in the .vscode/scss.code-snippets file that cause runtime errors when using Carbon Design System tokens:
Issues
-
Line 220: Missing quotes in motion mixin
- Current:
@include motion(entrance, 'expressive') - Expected:
@include motion('entrance', 'expressive') - The
entranceparameter is missing quotes
- Current:
-
Line 328: Incorrect capitalization in typography token
- Current:
@include type-style('productive-Heading-02') - Expected:
@include type-style('productive-heading-02') - The token name has incorrect capitalization (
Headingshould beheading)
- Current:
Impact
Both issues cause runtime errors when the snippets are used, as Carbon Design System expects exact token names with consistent lowercase formatting and properly quoted parameters.
Solution
PR #266 fixes both issues to align with Carbon Design System standards.
Labels: bug, documentation
Metadata
Metadata
Assignees
Labels
No labels