Skip to content

Commit 47ca2f9

Browse files
committed
Move FontWeight style in DateInput to DefaultTheme
1 parent e365eb3 commit 47ca2f9

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

‎src/components/DateInput.jsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ export default withStyles(({
305305
},
306306

307307
DateInput_input: {
308-
fontWeight: 200,
308+
fontWeight: font.input.weight,
309309
fontSize: font.input.size,
310310
lineHeight: font.input.lineHeight,
311311
color: color.text,

‎src/theme/DefaultTheme.js‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ export default {
184184
captionSize: 18,
185185
input: {
186186
size: 19,
187+
weight: 200,
187188
lineHeight: '24px',
188189
size_small: 15,
189190
lineHeight_small: '18px',

0 commit comments

Comments
 (0)