File tree Expand file tree Collapse file tree 4 files changed +5
-2
lines changed
compass-components/src/components
compass-databases-navigation/src Expand file tree Collapse file tree 4 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ const containerStylesDark = css({
3333 '--item-color' : 'white' ,
3434 '--item-color-active' : '#71F6BA' , // TODO: there is no uiColors.green.light1
3535 '--item-bg-color' : uiColors . gray . dark3 ,
36+ '--item-bg-color-hover' : uiColors . gray . dark2 ,
3637 '--item-bg-color-active' : uiColors . black ,
3738
3839 color : 'var(--color)' ,
@@ -51,6 +52,7 @@ const containerStylesLight = css({
5152 '--item-color' : uiColors . gray . dark3 ,
5253 '--item-color-active' : uiColors . green . dark2 ,
5354 '--item-bg-color' : uiColors . gray . light3 ,
55+ '--item-bg-color-hover' : uiColors . gray . light2 ,
5456 '--item-bg-color-active' : uiColors . green . light3 ,
5557
5658 color : 'var(--color)' ,
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ const itemContainer = css({
6565 backgroundColor : 'var(--item-bg-color)' ,
6666
6767 ':hover' : {
68- fontWeight : 'bold ' ,
68+ backgroundColor : 'var(--item-bg-color-hover) ' ,
6969 } ,
7070
7171 svg : {
Original file line number Diff line number Diff line change 2828 --item-color : @pw ;
2929 --item-color-active : @pw ;
3030 --item-bg-color : @compass-sidebar-base-background-color ;
31+ --item-bg-color-hover : @grayDark2 ;
3132 --item-bg-color-active : @grayDark1 ;
3233
3334 color : var (--color );
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ const navigationItem = css({
3131 position : 'relative' ,
3232
3333 ':hover' : {
34- fontWeight : 'bold ' ,
34+ backgroundColor : 'var(--item-bg-color-hover) ' ,
3535 } ,
3636} ) ;
3737
You can’t perform that action at this time.
0 commit comments