From 80d2e02e90dc0ec9b7e6c5edab749744f012a6fb Mon Sep 17 00:00:00 2001 From: Lucian Petri Date: Fri, 30 Dec 2022 02:18:48 +0200 Subject: [PATCH] adding a cubic bezier for transition --- website/src/styles/Theme/components/Container.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/src/styles/Theme/components/Container.ts b/website/src/styles/Theme/components/Container.ts index be733490..9168e099 100644 --- a/website/src/styles/Theme/components/Container.ts +++ b/website/src/styles/Theme/components/Container.ts @@ -4,7 +4,7 @@ import { colors } from "../colors" const baseStyle = defineStyle(({colorMode}) => ({ minWidth: "100%", bg: colorMode === "light" ? colors.light.bg : colors.dark.bg, - transition: "background-color 250ms ease-in", + transition: "background-color 200ms cubic-bezier(0.4, 0, 1, 1)", color: colorMode === "light" ? colors.light.text : colors.dark.text, }))