Skip to content

Commit 0a728a5

Browse files
authored
fix(stylelint-plugin): add box-shadow property token rule (#159)
* fix(shadow-border): add nominal gradation for width in tokens * fix(shadow-border): undo add with gradation in shadow-border tokens * fix(stylelint-plugin): add box-shadow property token rule
1 parent 4337e37 commit 0a728a5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

stylelint-plugin/rules/use-proper-token/token-map.js

+1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ const PROPERTY_TOKEN_MAP = {
3333
'border-top-width': ['border-width'],
3434
'border-width': ['border-width'],
3535
bottom: [],
36+
'box-shadow': ['border-width', 'color-border', 'shadow'],
3637
color: ['color-text', 'method-color-text'],
3738
'column-gap': ['space'],
3839
'column-width': [],

0 commit comments

Comments
 (0)