aboutsummaryrefslogtreecommitdiffstats
path: root/packages/forms/src/input
diff options
context:
space:
mode:
authorLibravatar Vijay A <avijayr@protonmail.com>2021-07-28 19:24:47 +0530
committerLibravatar Vijay Raghavan Aravamudhan <vraravam@users.noreply.github.com>2021-07-28 15:46:43 +0000
commitd671afec794992d052f6f6b7ea73a571e67db7c1 (patch)
tree940f97875da81b34465e1981461ec7152c2b08a5 /packages/forms/src/input
parent- updated classnames to 2.3.1 to use added type definitions (diff)
downloadferdium-app-d671afec794992d052f6f6b7ea73a571e67db7c1.tar.gz
ferdium-app-d671afec794992d052f6f6b7ea73a571e67db7c1.tar.zst
ferdium-app-d671afec794992d052f6f6b7ea73a571e67db7c1.zip
Minor refactoring to use the destructured code pattern while importing from other modules.
Diffstat (limited to 'packages/forms/src/input')
-rw-r--r--packages/forms/src/input/styles.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/forms/src/input/styles.ts b/packages/forms/src/input/styles.ts
index 99b0685a8..1fe6a03cd 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 * as CSS from 'csstype'; 2import { Property } from 'csstype';
3 3
4const prefixStyles = (theme: Theme) => ({ 4const prefixStyles = (theme: Theme) => ({
5 background: theme.inputPrefixBackground, 5 background: theme.inputPrefixBackground,
@@ -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.Property.BoxSizing, 88 boxSizing: 'border-box' as Property.BoxSizing,
89 display: 'flex', 89 display: 'flex',
90 height: theme.inputHeight, 90 height: theme.inputHeight,
91 order: 1, 91 order: 1,