Skip to content

Commit

Permalink
feat(codemod): Add rgba(0,0,0,xx%) color map for token
Browse files Browse the repository at this point in the history
  • Loading branch information
dengfuping committed Jul 25, 2024
1 parent 81fba38 commit ed69b5d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/codemod/transforms/utils/token.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ const TOKEN_MAP = {
'rgba(0,0,0,.45)': 'colorTextTertiary',
'rgba(0,0,0,.25)': 'colorTextQuaternary',
'rgba(0,0,0,0.2)': 'colorFillQuaternary',
'rgba(0,0,0,85%)': 'colorText',
'rgba(0,0,0,65%)': 'colorTextSecondary',
'rgba(0,0,0,45%)': 'colorTextTertiary',
'rgba(0,0,0,25%)': 'colorTextQuaternary',
'rgb(0 0 0 / 85%)': 'colorText',
'rgb(0 0 0 / 65%)': 'colorTextSecondary',
'rgb(0 0 0 / 45%)': 'colorTextTertiary',
Expand Down

0 comments on commit ed69b5d

Please sign in to comment.