mirror of
https://github.com/wassname/Open-Assistant.git
synced 2026-07-20 12:10:50 +08:00
12 lines
380 B
TypeScript
12 lines
380 B
TypeScript
import { color, defineStyle, defineStyleConfig, transition } from "@chakra-ui/styled-system"
|
|
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"
|
|
}))
|
|
|
|
export const containerTheme = defineStyleConfig({
|
|
baseStyle,
|
|
}) |