Skip to content

Commit

Permalink
Merge pull request #656 from oceanbase/dengfuping-dev
Browse files Browse the repository at this point in the history
feat(codemod): Add rgba(0,0,0,xx%) color map for token
  • Loading branch information
dengfuping authored Jul 25, 2024
2 parents 81fba38 + ed69b5d commit 89fe6cd
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 89fe6cd

Please sign in to comment.