Skip to content

Commit e6e588c

Browse files
committed
colours configured in theme.js
1 parent 1371a56 commit e6e588c

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/components/variant-select.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ const VariantItem = ({title, shortName, url, active}) => (
99
<ActionList.Item
1010
sx={{
1111
':hover:not([aria-disabled])': {
12-
backgroundColor: '#666D75',
13-
color: '#FFFFFF',
12+
backgroundColor: 'dropDown.backgroundColor',
13+
color: 'dropDown.color',
1414
},
1515
}}
1616
as={LinkNoUnderline}

src/theme.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ export const NPM_RED = '#cb0000'
77
export const npmTheme = deepmerge(theme, {
88
colors: {
99
logoBg: NPM_RED,
10+
dropDown: {
11+
backgroundColor: '#666D75',
12+
color: '#FFFFFF',
13+
},
1014
},
1115
colorSchemes: {
1216
light: {

0 commit comments

Comments
 (0)