Skip to content

Commit

Permalink
Merge pull request #511 from oceanbase/dengfuping-feature-design
Browse files Browse the repository at this point in the history
[Feature Branch] improve(codemod): rgb(250,250,250) => colorBgLayout for style-to-token and less-to-token
  • Loading branch information
dengfuping authored Mar 14, 2024
2 parents 51bccec + 8825d5e commit ec8c12f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/codemod/transforms/utils/token.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ const TOKEN_MAP = {
'#f0f2f5': 'colorBgLayout',
'#fafafa': 'colorBgLayout',
'#f7f8fc': 'colorBgLayout',
'rgb(250,250,250)': 'colorBgLayout',
'#ffffff': 'colorBgContainer',
'#fff': 'colorBgContainer',
'rgba(0,0,0,0.85)': 'colorText',
Expand Down

0 comments on commit ec8c12f

Please sign in to comment.