Skip to content

Commit dfddb0a

Browse files
committed
refactor(ui): fix input label size
1 parent 2dd061c commit dfddb0a

File tree

4 files changed

+3
-4
lines changed

4 files changed

+3
-4
lines changed

src/app/(app)/style.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ export default function Style() {
1414
<SafeAreaView className="flex-1 px-4">
1515
<Typography />
1616
<Colors />
17-
<Inputs />
1817
<Buttons />
18+
<Inputs />
1919
</SafeAreaView>
2020
</ScrollView>
2121
</>

src/components/inputs.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ export const Inputs = () => {
2626
options={options}
2727
value={value}
2828
onSelect={(option) => setValue(option)}
29-
error="This is a message error"
3029
/>
3130
<CheckboxExample />
3231
<RadioExample />

src/ui/input.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import { Text } from './text';
1717
const inputTv = tv({
1818
slots: {
1919
container: 'mb-2',
20-
label: 'text-grey-100 dark:text-neutral-100 text-sm',
20+
label: 'text-grey-100 dark:text-neutral-100 text-lg mb-1',
2121
input:
2222
'mt-0 border-[0.5px] font-jakarta text-base leading-5 font-[500] px-4 py-3 rounded-xl bg-neutral-100 border-neutral-300 ',
2323
},

src/ui/select.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import { Text } from './text';
2121
const selectTv = tv({
2222
slots: {
2323
container: 'mb-4',
24-
label: 'text-grey-100 dark:text-neutral-100 text-sm',
24+
label: 'text-grey-100 dark:text-neutral-100 text-lg mb-1',
2525
input:
2626
'mt-0 flex-row items-center justify-center border-[0.5px] border-grey-50 px-3 py-3 rounded-xl',
2727
inputValue: 'dark:text-neutral-100',

0 commit comments

Comments
 (0)