mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
ui: Bolden text & add activation color for expanded state
This commit is contained in:
parent
71f6f77ae8
commit
0db47dd5e7
@ -21,7 +21,13 @@ export const InvAccordionButton = (props: InvAccordionButtonProps) => {
|
||||
{children}
|
||||
<Spacer />
|
||||
{badges?.map((b, i) => (
|
||||
<InvBadge key={`${b}.${i}`} variant="solid">
|
||||
<InvBadge
|
||||
key={`${b}.${i}`}
|
||||
variant="solid"
|
||||
background="blue.400"
|
||||
fontSize={10}
|
||||
fontWeight={800}
|
||||
>
|
||||
{b}
|
||||
</InvBadge>
|
||||
))}
|
||||
|
@ -24,10 +24,17 @@ export const InvExpander = ({
|
||||
>
|
||||
<Icon
|
||||
as={isOpen ? BiCollapseVertical : BiExpandVertical}
|
||||
fontSize="12px"
|
||||
color="base.400"
|
||||
fontSize="14px"
|
||||
color={isOpen ? 'blue.400' : 'base.400'}
|
||||
/>
|
||||
<InvText variant="subtext" fontSize="sm" flexShrink={0} mb="2px">
|
||||
<InvText
|
||||
variant="subtext"
|
||||
fontSize="sm"
|
||||
fontWeight="bold"
|
||||
flexShrink={0}
|
||||
mb="2px"
|
||||
color={isOpen ? 'blue.400' : 'base.400'}
|
||||
>
|
||||
{label}
|
||||
</InvText>
|
||||
</Flex>
|
||||
|
Loading…
Reference in New Issue
Block a user