-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #269 from oceanbase/dengfuping-codemod
fix(codemod): should import ~@oceanbase/design/es/theme/index.less for existed token
- Loading branch information
Showing
4 changed files
with
32 additions
and
7 deletions.
There are no files selected for viewing
8 changes: 8 additions & 0 deletions
8
...ges/codemod/transforms/__testfixtures__/less-to-token/obui-less-token-to-token.input.less
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
@import '~@alipay/ob-ui/es/theme/index.less'; | ||
|
||
.container { | ||
color: @colorInfo; | ||
background: @colorSuccess; | ||
background-color: @colorWarning; | ||
border-color: @colorError; | ||
} |
7 changes: 7 additions & 0 deletions
7
...es/codemod/transforms/__testfixtures__/less-to-token/obui-less-token-to-token.output.less
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
@import '~@oceanbase/design/es/theme/index.less'; | ||
.container { | ||
color: @colorInfo; | ||
background: @colorSuccess; | ||
background-color: @colorWarning; | ||
border-color: @colorError; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters