Skip to content

Commit 937c960

Browse files
authored
Update ButtonItem to use body font (#1598)
1 parent 97894d2 commit 937c960

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2626
- Improved test coverage / added image-snapshots
2727
- InputFilter to support multiline filter tokens
2828
- Reduced & consolidated dependencies on `polished` library
29+
- `ButtonItem` used inside `ButtonToggle` and `ButtonGroup` now uses `body`
2930

3031
### Fixed
3132

packages/components/src/Button/ButtonItem.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ export const ButtonItem = styled(ButtonLayout)`
112112
color: ${({ theme }) => theme.colors.text3};
113113
cursor: pointer;
114114
display: inline-flex;
115-
font-family: ${({ theme }) => theme.fonts.brand};
115+
font-family: ${({ theme }) => theme.fonts.body};
116116
font-size: ${({ theme }) => theme.fontSizes.small};
117117
height: ${inputHeight};
118118
justify-content: center;

packages/components/src/Button/__snapshots__/ButtonGroup.test.tsx.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ exports[`ButtonGroup controlled 1`] = `
1414
display: -webkit-inline-flex;
1515
display: -ms-inline-flexbox;
1616
display: inline-flex;
17-
font-family: Roboto,'Noto Sans JP','Noto Sans CJK KR','Noto Sans Arabic UI','Noto Sans Devanagari UI','Noto Sans Hebrew','Noto Sans Thai UI','Helvetica','Arial',sans-serif;
17+
font-family: 'Roboto','Noto Sans JP','Noto Sans CJK KR','Noto Sans Arabic UI','Noto Sans Devanagari UI','Noto Sans Hebrew','Noto Sans Thai UI','Helvetica','Arial',sans-serif;
1818
font-size: 0.875rem;
1919
height: 36px;
2020
-webkit-box-pack: center;

packages/components/src/Button/__snapshots__/ButtonToggle.test.tsx.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ exports[`ButtonToggle controlled 1`] = `
1414
display: -webkit-inline-flex;
1515
display: -ms-inline-flexbox;
1616
display: inline-flex;
17-
font-family: Roboto,'Noto Sans JP','Noto Sans CJK KR','Noto Sans Arabic UI','Noto Sans Devanagari UI','Noto Sans Hebrew','Noto Sans Thai UI','Helvetica','Arial',sans-serif;
17+
font-family: 'Roboto','Noto Sans JP','Noto Sans CJK KR','Noto Sans Arabic UI','Noto Sans Devanagari UI','Noto Sans Hebrew','Noto Sans Thai UI','Helvetica','Arial',sans-serif;
1818
font-size: 0.875rem;
1919
height: 36px;
2020
-webkit-box-pack: center;

0 commit comments

Comments
 (0)