diff options
Diffstat (limited to 'packages/forms/src/input')
-rw-r--r-- | packages/forms/src/input/styles.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/forms/src/input/styles.ts b/packages/forms/src/input/styles.ts index e2ab30a4f..99b0685a8 100644 --- a/packages/forms/src/input/styles.ts +++ b/packages/forms/src/input/styles.ts | |||
@@ -1,5 +1,5 @@ | |||
1 | import { Theme } from '@meetfranz/theme'; | 1 | import { Theme } from '@meetfranz/theme'; |
2 | import CSS from 'csstype'; | 2 | import * as CSS from 'csstype'; |
3 | 3 | ||
4 | const prefixStyles = (theme: Theme) => ({ | 4 | const prefixStyles = (theme: Theme) => ({ |
5 | background: theme.inputPrefixBackground, | 5 | background: theme.inputPrefixBackground, |
@@ -13,7 +13,7 @@ export default (theme: Theme) => ({ | |||
13 | label: { | 13 | label: { |
14 | '& > div': { | 14 | '& > div': { |
15 | marginTop: 5, | 15 | marginTop: 5, |
16 | } | 16 | }, |
17 | }, | 17 | }, |
18 | disabled: { | 18 | disabled: { |
19 | opacity: theme.inputDisabledOpacity, | 19 | opacity: theme.inputDisabledOpacity, |
@@ -85,7 +85,7 @@ export default (theme: Theme) => ({ | |||
85 | background: theme.inputBackground, | 85 | background: theme.inputBackground, |
86 | border: theme.inputBorder, | 86 | border: theme.inputBorder, |
87 | borderRadius: theme.borderRadiusSmall, | 87 | borderRadius: theme.borderRadiusSmall, |
88 | boxSizing: 'border-box' as CSS.BoxSizingProperty, | 88 | boxSizing: 'border-box' as CSS.Property.BoxSizing, |
89 | display: 'flex', | 89 | display: 'flex', |
90 | height: theme.inputHeight, | 90 | height: theme.inputHeight, |
91 | order: 1, | 91 | order: 1, |