Skip to content

Commit 98ca990

Browse files
committed
fix border color on header
1 parent 8642c60 commit 98ca990

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/react/src/ActionList/Group.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ export const Group: React.FC<React.PropsWithChildren<ActionListGroupProps>> = ({
9797
// because the heading is hidden from the accessibility tree and only used for presentation role.
9898
// We will instead use aria-label to label the list. See a line below.
9999
aria-labelledby={listRole ? undefined : groupHeadingId}
100-
aria-label={listRole ? (title ?? (slots.groupHeading?.props.children as string)) : undefined}
100+
aria-label={listRole ? title ?? (slots.groupHeading?.props.children as string) : undefined}
101101
role={role || (listRole && 'group')}
102102
>
103103
{slots.groupHeading ? childrenWithoutSlots : props.children}
@@ -164,7 +164,7 @@ export const GroupHeading: React.FC<React.PropsWithChildren<ActionListGroupHeadi
164164
marginBottom: 2,
165165
borderTop: '1px solid',
166166
borderBottom: '1px solid',
167-
borderColor: 'neutral.muted',
167+
borderColor: 'var(--borderColor-muted)',
168168
}),
169169

170170
[`.ActionListGroupHeading`]: {

0 commit comments

Comments
 (0)