From 96a723d838b98aecba01a69d4cdba15ce826b469 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Thu, 14 Oct 2021 10:43:17 +0100 Subject: [PATCH] Fix issue with button roundness when using other sizes than medium --- packages/client/src/components/CustomThemeWrapper.svelte | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/client/src/components/CustomThemeWrapper.svelte b/packages/client/src/components/CustomThemeWrapper.svelte index 053c206572..9b466bb7d7 100644 --- a/packages/client/src/components/CustomThemeWrapper.svelte +++ b/packages/client/src/components/CustomThemeWrapper.svelte @@ -16,7 +16,10 @@ /* Buttons */ --spectrum-semantic-cta-color-background-default: var(--primaryColor); --spectrum-semantic-cta-color-background-hover: var(--primaryColorHover); + --spectrum-button-primary-s-border-radius: var(--buttonBorderRadius); --spectrum-button-primary-m-border-radius: var(--buttonBorderRadius); + --spectrum-button-primary-l-border-radius: var(--buttonBorderRadius); + --spectrum-button-primary-xl-border-radius: var(--buttonBorderRadius); /* Loading spinners */ --spectrum-progresscircle-medium-track-fill-color: var(--primaryColor);