aboutsummaryrefslogtreecommitdiffstats
path: root/packages/forms/src/input/styles.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/forms/src/input/styles.ts')
-rw-r--r--packages/forms/src/input/styles.ts6
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 @@
1import { Theme } from '@meetfranz/theme'; 1import { Theme } from '@meetfranz/theme';
2import CSS from 'csstype'; 2import * as CSS from 'csstype';
3 3
4const prefixStyles = (theme: Theme) => ({ 4const 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,