Skip to content

Commit d59e5e9

Browse files
authored
background color, not bold (#3443)
* background color, not bold * same thing for the nav items
1 parent 40118e1 commit d59e5e9

File tree

4 files changed

+5
-2
lines changed

4 files changed

+5
-2
lines changed

packages/compass-components/src/components/resizeable-sidebar.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff 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)',

packages/compass-databases-navigation/src/tree-item.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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: {

packages/compass-sidebar/src/components-legacy/sidebar/sidebar.module.less

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
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);

packages/compass-sidebar/src/components/navigation-items.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)