Skip to content

Commit 2fb343a

Browse files
Pavithra KodmadPavithra Kodmad
authored andcommitted
Use the new actionListItem colors
1 parent 807f32a commit 2fb343a

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"license": "MIT",
4545
"dependencies": {
4646
"@primer/octicons-react": "^13.0.0",
47-
"@primer/primitives": "5.1.0",
47+
"@primer/primitives": "6.1.0",
4848
"@radix-ui/react-polymorphic": "0.0.14",
4949
"@react-aria/ssr": "3.1.0",
5050
"@styled-system/css": "5.1.5",
@@ -155,4 +155,4 @@
155155
"running": false
156156
}
157157
]
158-
}
158+
}

src/ActionList/Item.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ import {AriaRole} from '../utils/types'
1919

2020
const customItemThemes = {
2121
default: {
22-
hover: get('colors.neutral.subtle'),
23-
focus: get('colors.neutral.muted')
22+
hover: get('colors.actionListItem.default.hoverBg'),
23+
focus: get('colors.actionListItem.default.focusBg')
2424
},
2525
danger: {
26-
hover: get('colors.danger.subtle'),
27-
focus: get('colors.danger.muted')
26+
hover: get('colors.actionListItem.danger.hoverBg'),
27+
focus: get('colors.actionListItem.danger.focusBg')
2828
}
2929
} as const
3030

0 commit comments

Comments
 (0)