Skip to content

Commit

Permalink
fix(components): --t-radius命名错误为--t-redis
Browse files Browse the repository at this point in the history
  • Loading branch information
mengxinssfd committed Jun 29, 2023
1 parent 46d6eed commit 2800fb0
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/components/src/button/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ $r: #{$prefix}button;
--t-btn-border-style: solid;
--t-btn-border-color: unset;
--t-btn-border-width: 0;
--t-btn-radius: var(--t-redis);
--t-btn-radius: var(--t-radius);
--t-btn-padding: 12px;

// ------
Expand Down
6 changes: 3 additions & 3 deletions packages/components/src/css.variable.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

// ---

--t-redis: 8px;
--t-radius: 8px;
--t-size: 36px;
--t-transition-duration: 0.5s;
--t-mask-bg-color: rgb(255 255 255 / 38%);
Expand All @@ -29,11 +29,11 @@
--t-bg-color: black;
}
.#{$class-size-sm} {
--t-redis: 4px;
--t-radius: 4px;
--t-size: 22px;
}
.#{$class-size-lg} {
--t-redis: 12px;
--t-radius: 12px;
--t-size: 46px;
}
}
2 changes: 1 addition & 1 deletion packages/components/src/dialog/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ $c: '#{$prefix}dialog';
width: 30%;
max-width: 100vw;
min-height: 80px;
border-radius: var(--t-redis);
border-radius: var(--t-radius);
background-color: var(--t-bg-color);
box-shadow: rgb(0 0 0 / 8%) 0 6px 16px 0,
rgb(0 0 0 / 12%) 0 3px 6px -4px, rgb(0 0 0 / 5%) 0 9px 28px 8px;
Expand Down
2 changes: 1 addition & 1 deletion packages/components/src/message/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ $r: '#{$prefix}message';
align-items: center;
gap: 8px;
padding: 10px 12px;
border-radius: var(--t-redis);
border-radius: var(--t-radius);
background-color: var(--t-bg-color);
box-shadow: 0 6px 16px 0 rgb(0 0 0 / 8%), 0 3px 6px -4px rgb(0 0 0 / 12%),
0 9px 28px 8px rgb(0 0 0 / 5%);
Expand Down

0 comments on commit 2800fb0

Please sign in to comment.