Skip to content

Commit

Permalink
fix(navigation): add component tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdehaven committed Dec 20, 2023
1 parent 0b19752 commit 8357018
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions stylelint-plugin/rules/use-proper-token/token-map.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,23 +11,23 @@ const PROPERTY_TOKEN_MAP = {
background: ['color-background', 'method-color-background', 'navigation-color-background'],
'background-color': ['color-background', 'method-color-background', 'navigation-color-background'],
'background-size': [],
border: ['border-radius', 'border-width', 'color-border'],
'border-bottom': ['border-radius', 'border-width', 'color-border'],
'border-bottom-color': ['color-border'],
border: ['border-radius', 'border-width', 'color-border', 'navigation-color-border'],
'border-bottom': ['border-radius', 'border-width', 'color-border', 'navigation-color-border'],
'border-bottom-color': ['color-border', 'navigation-color-border'],
'border-bottom-left-radius': ['border-radius'],
'border-bottom-right-radius': ['border-radius'],
'border-bottom-width': ['border-width'],
'border-color': ['color-border'],
'border-left': ['border-radius', 'border-width', 'color-border'],
'border-left-color': ['color-border'],
'border-color': ['color-border', 'navigation-color-border'],
'border-left': ['border-radius', 'border-width', 'color-border', 'navigation-color-border'],
'border-left-color': ['color-border', 'navigation-color-border'],
'border-left-width': ['border-width'],
'border-radius': ['border-radius'],
'border-right': ['border-radius', 'border-width', 'color-border'],
'border-right-color': ['color-border'],
'border-right': ['border-radius', 'border-width', 'color-border', 'navigation-color-border'],
'border-right-color': ['color-border', 'navigation-color-border'],
'border-right-width': ['border-width'],
'border-spacing': ['space'],
'border-top': ['border-radius', 'border-width', 'color-border'],
'border-top-color': ['color-border'],
'border-top': ['border-radius', 'border-width', 'color-border', 'navigation-color-border'],
'border-top-color': ['color-border', 'navigation-color-border'],
'border-top-left-radius': ['border-radius'],
'border-top-right-radius': ['border-radius'],
'border-top-width': ['border-width'],
Expand Down

0 comments on commit 8357018

Please sign in to comment.