Skip to content

Commit

Permalink
fix(theme): @boxShadowSecondary less variable should be correct
Browse files Browse the repository at this point in the history
  • Loading branch information
dengfuping committed Apr 25, 2024
1 parent eb57354 commit 3939dd4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/design/src/theme/style/compact.less
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@
@borderRadiusSM: 4;
@borderRadiusLG: 8;
@borderRadiusOuter: 4;
@boxShadowSecondary: 0 1px 2px 0 rgba(54, 69, 99, 0.03), 0 1px 6px -1px rgba(54, 69, 99, 0.02), 0 2px 4px 0 rgba(54, 69, 99, 0.02);
@boxShadowSecondary: 0 6px 16px 0 rgba(54, 69, 99, 0.08), 0 3px 6px -4px rgba(54, 69, 99, 0.12), 0 9px 28px 8px rgba(54, 69, 99, 0.05);
@boxShadow: 0 1px 2px 0 rgba(54, 69, 99, 0.03), 0 1px 6px -1px rgba(54, 69, 99, 0.02), 0 2px 4px 0 rgba(54, 69, 99, 0.02);
@colorFillContent: #e2e8f3;
@colorFillContentHover: #cdd5e4;
Expand Down
2 changes: 1 addition & 1 deletion packages/design/src/theme/style/default.less
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@
@borderRadiusSM: 4;
@borderRadiusLG: 8;
@borderRadiusOuter: 4;
@boxShadowSecondary: 0 1px 2px 0 rgba(54, 69, 99, 0.03), 0 1px 6px -1px rgba(54, 69, 99, 0.02), 0 2px 4px 0 rgba(54, 69, 99, 0.02);
@boxShadowSecondary: 0 6px 16px 0 rgba(54, 69, 99, 0.08), 0 3px 6px -4px rgba(54, 69, 99, 0.12), 0 9px 28px 8px rgba(54, 69, 99, 0.05);
@boxShadow: 0 1px 2px 0 rgba(54, 69, 99, 0.03), 0 1px 6px -1px rgba(54, 69, 99, 0.02), 0 2px 4px 0 rgba(54, 69, 99, 0.02);
@colorFillContent: #e2e8f3;
@colorFillContentHover: #cdd5e4;
Expand Down
2 changes: 1 addition & 1 deletion plugin-theme-less.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export default (api: IApi) => {
: // 对于非暗色主题,需要覆盖部分 Alias Token 的值
{
boxShadow: item.token.boxShadow,
boxShadowSecondary: item.token.boxShadow,
boxShadowSecondary: item.token.boxShadowSecondary,
},
};
const aliasToken = formatToken(mapToken);
Expand Down

0 comments on commit 3939dd4

Please sign in to comment.