Skip to content
This repository was archived by the owner on Mar 16, 2024. It is now read-only.

Commit 965f5c9

Browse files
committed
fix: global table font-size
1 parent 9fd2f5b commit 965f5c9

File tree

4 files changed

+13
-8
lines changed

4 files changed

+13
-8
lines changed

package-lock.json

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cherry-components",
3-
"version": "0.0.1-1",
3+
"version": "0.0.1-2",
44
"description": "Cherry React Components",
55
"main": "dist/cherry.js",
66
"module": "dist/cherry.module.js",

src/Layout/FontStyle/FontStyle.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,12 @@ function FontStyle({
1111
...props
1212
}) {
1313
return (
14-
<span id={id} className={className} css={fontStyles(theme, variant)} {...props}>
14+
<span
15+
id={id}
16+
className={className}
17+
css={fontStyles(theme, variant)}
18+
{...props}
19+
>
1520
{children}
1621
</span>
1722
);

src/globalStyles.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -195,19 +195,19 @@ const globalStyles = (
195195
}
196196
197197
& th {
198-
font-size: ${theme.sizes.button.mobile};
198+
font-size: ${theme.sizes.button.size.mobile};
199199
200200
${mq(Breakpoints.lg)} {
201-
font-size: ${theme.sizes.button.desktop};
201+
font-size: ${theme.sizes.button.size.desktop};
202202
}
203203
}
204204
205205
& td {
206-
font-size: ${theme.sizes.text.mobile};
206+
font-size: ${theme.sizes.text.size.mobile};
207207
color: ${theme.colors.gray};
208208
209209
${mq(Breakpoints.lg)} {
210-
font-size: ${theme.sizes.text.desktop};
210+
font-size: ${theme.sizes.text.size.desktop};
211211
}
212212
213213
&:first-of-type {

0 commit comments

Comments
 (0)