diff --git a/invokeai/frontend/web/src/features/ui/components/ParametersPanelTextToImage.tsx b/invokeai/frontend/web/src/features/ui/components/ParametersPanelTextToImage.tsx index 79a9b5a03c..6cb9c6d762 100644 --- a/invokeai/frontend/web/src/features/ui/components/ParametersPanelTextToImage.tsx +++ b/invokeai/frontend/web/src/features/ui/components/ParametersPanelTextToImage.tsx @@ -1,3 +1,4 @@ +import type { ChakraProps } from '@invoke-ai/ui-library'; import { Box, Flex, Tab, TabList, TabPanel, TabPanels, Tabs } from '@invoke-ai/ui-library'; import { useAppSelector } from 'app/store/storeHooks'; import { overlayScrollbarsParams } from 'common/components/OverlayScrollbars/constants'; @@ -23,6 +24,29 @@ const overlayScrollbarsStyles: CSSProperties = { width: '100%', }; +const unselectedStyles: ChakraProps['sx'] = { + bg: 'none', + color: 'base.300', + fontWeight: 'semibold', + fontSize: 'sm', + w: '50%', + borderWidth: 1, + borderRadius: 'base', +}; + +const selectedStyles: ChakraProps['sx'] = { + color: 'invokeBlue.300', + borderColor: 'invokeBlueAlpha.400', + _hover: { + color: 'invokeBlue.200', + }, +}; + +const hoverStyles: ChakraProps['sx'] = { + bg: 'base.850', + color: 'base.100', +}; + const ParametersPanelTextToImage = () => { const { t } = useTranslation(); const activeTabName = useAppSelector(activeTabNameSelector); @@ -37,14 +61,17 @@ const ParametersPanelTextToImage = () => { {isSDXL ? : } - - - {t('common.settingsLabel')} - {controlLayersTitle} + + + + {t('common.settingsLabel')} + + + {controlLayersTitle} + - - + @@ -54,7 +81,7 @@ const ParametersPanelTextToImage = () => { - +