Open albarivas opened 2 years ago
Same issue with --lwc-spacingNone
Same issue with --lwc-fontSize5
@billyma I've also found a GA token that SLDS validator recommends to use, which you can deploy (so must be GA) but that is undocumented --> --lwc-borderWidthThin
Can you take a look at that too? Thanks!
Not sure whether this is the same bug but there's indeed an issue on some tokens.
As @albarivas mentioned, some of the validator recommendations like the use of --lwc-fontSize5
cannot be applied.
There's autocompletion in VS Code with those tokens but the deploy will fail as you can see in this screenshot:
Summary
Some SLDS tokens suggested by the extension are Salesforce internal. Eg: --lwc-varFontSize9 and --lwc-fontWeightLight
Steps To Reproduce:
Create a CSS file like this: .days { font-size: 28px; font-weight: 300; }
Expected result
Validator shows no errors.
Actual result
Validator shows two errors, suggesting to use --lwc-varFontSize9 and --lwc-fontWeightLight tokens, but those are internal.
Additional information
Feel free to attach a screenshot.
VS Code Version:
SFDX CLI Version:
OS and version: