Fix button roundess not applying properly to large and XL buttons

This commit is contained in:
Andrew Kingston 2022-07-29 11:44:57 +01:00
parent 99010ad770
commit 3adb95df55
1 changed files with 9 additions and 3 deletions

View File

@ -17,10 +17,16 @@
--spectrum-semantic-cta-color-background-default: var(--primaryColor);
--spectrum-semantic-cta-color-background-hover: var(--primaryColorHover);
--spectrum-semantic-cta-color-background-down: var(--primaryColorHover);
--spectrum-button-primary-s-border-radius: var(--buttonBorderRadius);
--spectrum-button-primary-s-border-radius: calc(
var(--buttonBorderRadius) * 0.9
);
--spectrum-button-primary-m-border-radius: var(--buttonBorderRadius);
--spectrum-button-primary-l-border-radius: var(--buttonBorderRadius);
--spectrum-button-primary-xl-border-radius: var(--buttonBorderRadius);
--spectrum-button-primary-l-border-radius: calc(
var(--buttonBorderRadius) * 1.25
);
--spectrum-button-primary-xl-border-radius: calc(
var(--buttonBorderRadius) * 1.5
);
/* Loading spinners */
--spectrum-progresscircle-medium-track-fill-color: var(--primaryColor);