Skip to content

Commit 90538a4

Browse files
Update accordion font weight (#1358)
* Update font weight * Add changeset
1 parent 5abf6d0 commit 90538a4

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/swift-cases-care.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@obosbbl/grunnmuren-react": patch
3+
---
4+
5+
Change font-weight from semibold to medium in `<Accordion>`

packages/react/src/accordion/accordion.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ function AccordionItem(props: AccordionItemProps) {
113113
HeadingContext,
114114
{
115115
// Negative margin to strech the button to the entire with of the accordion (to support containers with a background color)
116-
className: 'font-semibold leading-7 -mx-2 text-base',
116+
className: 'font-medium leading-7 -mx-2 text-base',
117117
// Supply a default level here to make this typecheck ok. Will be overwritten with the consumers set heading level anyways
118118
level: 3,
119119
_innerWrapper: (children) => (

0 commit comments

Comments
 (0)