Skip to content

Commit e42d60a

Browse files
fix(theme/Accordion): reset heading styles
1 parent 26dbcd1 commit e42d60a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/@chakra-ui/components/Accordion.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ const { defineMultiStyleConfig, definePartsStyle } =
55
createMultiStyleConfigHelpers(accordionAnatomy.keys)
66

77
const baseStyle = definePartsStyle({
8+
container: {
9+
'& > :is(h2, h3)': {
10+
fontSize: "initial",
11+
fontWeight: 'initial'
12+
}
13+
},
814
button: {
915
py: "2",
1016
px: { base: "2", md: "4" },

0 commit comments

Comments
 (0)