diff --git a/src/App.tsx b/src/App.tsx index 9cae1a0..5af0ac2 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,10 +1,16 @@ -import { Box, Flex } from "@chakra-ui/react"; +import { Box, Flex, Button } from "@chakra-ui/react"; function App() { return ( - + Drawer + + ); diff --git a/src/styles/theme.ts b/src/styles/theme.ts index 39fd7eb..35dfba2 100644 --- a/src/styles/theme.ts +++ b/src/styles/theme.ts @@ -1,18 +1,31 @@ import { extendTheme } from "@chakra-ui/react"; -const config = { - initialColorMode: "light", - useSystemColorMode: false, -}; - const theme = extendTheme({ - config, colors: { primaryBg: "#112D4E", promptBtn: "#3F72AF", quickRespBtn: "#DBE2Ef", settingBtn: "#F9F7F7", }, + components: { + Button: { + sizes: { + customBtn: { + width: "180px", + height: "35px", + }, + }, + variants: { + promptButton: (props: any) => ({ + bg: props.theme.colors.promptBtn, + color: "white", + }), + quickRespButton: (props: any) => ({ + bg: props.theme.colors.quickRespBtn, + }), + }, + }, + }, }); export default theme;