Skip to content

Commit

Permalink
use button border radius token for button and segmented control
Browse files Browse the repository at this point in the history
  • Loading branch information
Haberkamp committed Aug 27, 2024
1 parent e644cef commit bebea2e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .changeset/yellow-deers-join.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@shopware-ag/meteor-component-library": patch
---

Use button border radius token for buttons and segmented control
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ $mt-button-transition: all 0.15s ease-out;
color: $color-darkgray-200;
transition: $mt-button-transition;
display: inline-block;
border-radius: var(--border-radius-xs);
border-radius: var(--border-radius-button);
padding: 2px 24px;
font-size: var(--font-size-xs);
line-height: 34px;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ export default defineComponent({
width: max-content;
background-color: var(--color-elevation-surface-overlay);
border: 1px solid var(--color-border-primary-default);
border-radius: var(--border-radius-xs);
border-radius: var(--border-radius-button);
padding: 2px;
.mt-floating-ui {
Expand All @@ -232,7 +232,7 @@ export default defineComponent({
position: relative;
cursor: pointer;
border: none;
border-radius: var(--border-radius-xs);
border-radius: var(--border-radius-button);
padding: 6px 12px;
font-family: var(--font-family-body);
font-size: var(--font-size-2xs);
Expand Down Expand Up @@ -351,7 +351,7 @@ export default defineComponent({
gap: 0;
.mt-floating-ui .mt-segmented-control__action {
border-radius: 0;
border-radius: var(--border-radius-none);
border-right: 1px solid var(--color-border-primary-default);
}
Expand Down

0 comments on commit bebea2e

Please sign in to comment.