From 06c46dd3a7dd7397606df7a21bacb4fbfe3a99cf 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);