From fed606cafc65e967aa3f1ed6421aaa2807af2cad Mon Sep 17 00:00:00 2001 From: Ana Margarida Date: Thu, 28 Sep 2023 15:53:16 +0100 Subject: [PATCH] [fix](@svelteui/core): wrong color in dark mode for Burger when providing prop color ISSUES CLOSED: #463 --- packages/svelteui-core/src/components/Burger/Burger.styles.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/svelteui-core/src/components/Burger/Burger.styles.ts b/packages/svelteui-core/src/components/Burger/Burger.styles.ts index 59a19bec3..7811b03d1 100644 --- a/packages/svelteui-core/src/components/Burger/Burger.styles.ts +++ b/packages/svelteui-core/src/components/Burger/Burger.styles.ts @@ -34,7 +34,7 @@ export default createStyles((theme, { color, size, opened }: BurgerStyleParams) '&, &:before, &:after': { [`${theme.dark} &`]: { - backgroundColor: 'white' + backgroundColor: theme.fn.themeColor(color, 8) }, display: 'block', width: sizeValue,