Skip to content

Commit

Permalink
fix: prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
andreaSimonePorceddu committed Nov 13, 2021
1 parent ef606a5 commit 7b37d32
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 20 deletions.
18 changes: 9 additions & 9 deletions apps/web-sandbox/src/morfeo-components/Forms/Input.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,51 +29,51 @@ export const Input: ComponentConfig = {
style: {
outlineColor: 'error',
outline: 'strong',
}
},
},
success: {
style: {
outlineColor: 'success',
outline: 'strong',
}
},
},
warning: {
style: {
outlineColor: 'warning',
outline: 'strong',
}
},
},
small: {
style: {
fontSize: 's',
py: '2xs',
px: '2xs',
lineHeight: 'none'
}
lineHeight: 'none',
},
},
'small.error': {
style: {
componentName: 'Input',
variant: 'Small',
outlineColor: 'error',
outline: 'strong',
}
},
},
'small.warning': {
style: {
componentName: 'Input',
variant: 'Small',
outlineColor: 'warning',
outline: 'strong',
}
},
},
'small.success': {
style: {
componentName: 'Input',
variant: 'Small',
outlineColor: 'success',
outline: 'strong',
}
}
},
},
},
};
16 changes: 8 additions & 8 deletions apps/web-sandbox/src/morfeo-components/Forms/InputFeedback.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ComponentConfig } from "@morfeo/react";
import { ComponentConfig } from '@morfeo/react';

export const InputFeedback: ComponentConfig = {
tag: 'p',
Expand All @@ -8,23 +8,23 @@ export const InputFeedback: ComponentConfig = {
fontWeight: 'bold',
lineHeight: 'none',
letterSpacing: 'body',
mt: '2xs'
mt: '2xs',
},
variants: {
error: {
style: {
color: 'error',
}
},
},
warning: {
style: {
color: 'warning',
}
},
},
success: {
style: {
color: 'success',
}
}
}
}
},
},
},
};
6 changes: 3 additions & 3 deletions apps/web-sandbox/src/morfeo-components/Forms/Label.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export const Label: ComponentConfig = {
small: {
style: {
fontSize: 'xs',
}
}
},
},
},
}
};

0 comments on commit 7b37d32

Please sign in to comment.