From 11fe40b86d3f2b20c6e9fc4bc058399385afe63f Mon Sep 17 00:00:00 2001 From: RustamRu Date: Sun, 8 Dec 2024 09:56:34 +0300 Subject: [PATCH] override Input, Select components styles (#8) --- .../LandingThemeProvider/theme-config.ts | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/src/containers/LandingThemeProvider/theme-config.ts b/src/containers/LandingThemeProvider/theme-config.ts index 43a0676..19916c4 100644 --- a/src/containers/LandingThemeProvider/theme-config.ts +++ b/src/containers/LandingThemeProvider/theme-config.ts @@ -37,6 +37,44 @@ const overrides = { } }, }, + components: { + Input: { + variants: { + filled: { + field: { + borderRadius: 12, + bgColor: 'primary.50', + color: 'primary.600', + _hover: { + borderColor: 'primary.100', + bgColor: 'primary.50', + }, + _focus: { + borderColor: 'primary.200', + } + } + } + } + }, + Select: { + variants: { + filled: { + field: { + borderRadius: 12, + bgColor: 'primary.50', + color: 'primary.600', + _hover: { + borderColor: 'primary.100', + bgColor: 'primary.50', + }, + _focus: { + borderColor: 'primary.200', + } + } + } + } + } + } }; export default extendTheme(overrides); \ No newline at end of file