@@ -24,27 +24,16 @@ const overlayScrollbarsStyles: CSSProperties = {
24
24
width : '100%' ,
25
25
} ;
26
26
27
- const unselectedStyles : ChakraProps [ 'sx' ] = {
28
- bg : 'none' ,
29
- color : 'base.300' ,
27
+ const baseStyles : ChakraProps [ 'sx' ] = {
30
28
fontWeight : 'semibold' ,
31
29
fontSize : 'sm' ,
32
- w : '50%' ,
33
- borderWidth : 1 ,
34
- borderRadius : 'base' ,
30
+ color : 'base.300' ,
35
31
} ;
36
32
37
33
const selectedStyles : ChakraProps [ 'sx' ] = {
34
+ borderColor : 'base.800' ,
35
+ borderBottomColor : 'base.900' ,
38
36
color : 'invokeBlue.300' ,
39
- borderColor : 'invokeBlueAlpha.400' ,
40
- _hover : {
41
- color : 'invokeBlue.200' ,
42
- } ,
43
- } ;
44
-
45
- const hoverStyles : ChakraProps [ 'sx' ] = {
46
- bg : 'base.850' ,
47
- color : 'base.100' ,
48
37
} ;
49
38
50
39
const ParametersPanelTextToImage = ( ) => {
@@ -61,12 +50,12 @@ const ParametersPanelTextToImage = () => {
61
50
< OverlayScrollbarsComponent defer style = { overlayScrollbarsStyles } options = { overlayScrollbarsParams . options } >
62
51
< Flex gap = { 2 } flexDirection = "column" h = "full" w = "full" >
63
52
{ isSDXL ? < SDXLPrompts /> : < Prompts /> }
64
- < Tabs variant = "unstyled " display = "flex" flexDir = "column" w = "full" h = "full" gap = { 2 } >
65
- < TabList gap = { 2 } >
66
- < Tab _hover = { hoverStyles } _selected = { selectedStyles } sx = { unselectedStyles } >
53
+ < Tabs variant = "enclosed " display = "flex" flexDir = "column" w = "full" h = "full" gap = { 2 } >
54
+ < TabList gap = { 2 } fontSize = "sm" borderColor = "base.800" >
55
+ < Tab sx = { baseStyles } _selected = { selectedStyles } >
67
56
{ t ( 'common.settingsLabel' ) }
68
57
</ Tab >
69
- < Tab _hover = { hoverStyles } _selected = { selectedStyles } sx = { unselectedStyles } >
58
+ < Tab sx = { baseStyles } _selected = { selectedStyles } >
70
59
{ controlLayersTitle }
71
60
</ Tab >
72
61
</ TabList >
0 commit comments