Skip to content

Commit

Permalink
chore(icon-button): resolve ci fail
Browse files Browse the repository at this point in the history
  • Loading branch information
yangwooseong committed May 8, 2024
1 parent e36b942 commit d69b7db
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -136,18 +136,19 @@ $chromatic-colors: 'blue', 'red', 'green', 'cobalt', 'orange', 'pink', 'purple';
}

/* border-radius */
/* stylelint-disable-next-line order/order */
$border-radius-by-size: (
xs: var(--alpha-dimension-6),
s: var(--alpha-dimension-7),
m: var(--alpha-dimension-10),
l: var(--alpha-dimension-12),
xl: var(--alpha-dimension-14),
);

@each $size, $border-radius in $border-radius-by-size {
&:where(.size-#{$size}) {
border-radius: $border-radius;
&:where(.shape-rectangle) {
$border-radius-by-size: (
xs: var(--alpha-dimension-6),
s: var(--alpha-dimension-7),
m: var(--alpha-dimension-10),
l: var(--alpha-dimension-12),
xl: var(--alpha-dimension-14),
);

@each $size, $border-radius in $border-radius-by-size {
&:where(.size-#{$size}) {
border-radius: $border-radius;
}
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ export const IconButton = forwardRef<HTMLButtonElement, AlphaIconButtonProps>(
function IconButton(
{
as = BaseButton,
text,
color = 'blue',
variant = 'primary',
size = 'm',
Expand Down

0 comments on commit d69b7db

Please sign in to comment.