adding a cubic bezier for transition

This commit is contained in:
Lucian Petri
2022-12-30 02:18:48 +02:00
parent 8bb2a3c902
commit 80d2e02e90
@@ -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,
}))