diff --git a/frontend/src/components/General/RoundedButton.svelte b/frontend/src/components/General/RoundedButton.svelte index b177455..db7d6bc 100644 --- a/frontend/src/components/General/RoundedButton.svelte +++ b/frontend/src/components/General/RoundedButton.svelte @@ -7,6 +7,7 @@ export let icon = '' export let tooltip = "Default tooltip" export let active = false; + export let style = ''; // Import the main colors from the store let firstColor, secondColor, thirdColor, fourthColor, okColor, nokColor, whiteColor @@ -47,7 +48,7 @@ on:mousedown={emitClick} on:mouseenter={toggleTooltip} on:mouseleave={toggleTooltip} - style='color: {whiteColor}; background-color: { active ? secondColor : thirdColor }; border:none;'> { text } + style='color: {whiteColor}; background-color: { active ? secondColor : thirdColor }; border:none; {style}'> { text }