From f87bde872815df9503b75e87a3f0f2380d4ad002 Mon Sep 17 00:00:00 2001 From: Dylan Jeffers Date: Tue, 2 Jan 2024 09:27:02 -0800 Subject: [PATCH] Fix button color darkening --- packages/mobile/src/components/core/Button.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/mobile/src/components/core/Button.tsx b/packages/mobile/src/components/core/Button.tsx index 3b42d69e831..5694ec965a1 100644 --- a/packages/mobile/src/components/core/Button.tsx +++ b/packages/mobile/src/components/core/Button.tsx @@ -339,7 +339,7 @@ export const Button = (props: ButtonProps) => { // darken the color by 10% for the press state if (customColor) { const c = new Color(customColor) - return c.light(0.1).hex() + return c.darken(0.1).hex() } // If no custom color is specified