mirror of
https://github.com/wassname/Open-Assistant.git
synced 2026-10-01 11:41:14 +08:00
adding a cubic bezier for transition
This commit is contained in:
1 parent
8bb2a3c902
commit
80d2e02e90
1 file changed
+1
-1
@@ -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,
|
||||
}))
|
||||
|
||||
|
||||
Reference in new issue
Block a user