mirror of
https://github.com/wassname/Open-Assistant.git
synced 2026-06-28 16:20:34 +08:00
adding a cubic bezier for transition
This commit is contained in:
@@ -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