Skip to content

Commit c1c49e2

Browse files
committed
fix: fix tailwind class order warnings
1 parent 4419521 commit c1c49e2

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/app/(app)/_layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ const CreateNewPostLink = () => {
6868
return (
6969
<Link href="/feed/add-post" asChild>
7070
<Pressable>
71-
<Text className="text-primary-300 px-3">Create</Text>
71+
<Text className="px-3 text-primary-300">Create</Text>
7272
</Pressable>
7373
</Link>
7474
);

src/components/ui/input.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const inputTv = tv({
1919
container: 'mb-2',
2020
label: 'text-grey-100 mb-1 text-lg dark:text-neutral-100',
2121
input:
22-
'font-inter mt-0 rounded-xl border-[0.5px] border-neutral-300 bg-neutral-100 px-4 py-3 text-base font-medium leading-5 dark:border-neutral-700 dark:bg-neutral-800 dark:text-white',
22+
'mt-0 rounded-xl border-[0.5px] border-neutral-300 bg-neutral-100 px-4 py-3 font-inter text-base font-medium leading-5 dark:border-neutral-700 dark:bg-neutral-800 dark:text-white',
2323
},
2424

2525
variants: {
@@ -114,7 +114,7 @@ export const Input = React.forwardRef<NTextInput, NInputProps>((props, ref) => {
114114
{error && (
115115
<Text
116116
testID={testID ? `${testID}-error` : undefined}
117-
className="text-danger-400 dark:text-danger-600 text-sm"
117+
className="text-sm text-danger-400 dark:text-danger-600"
118118
>
119119
{error}
120120
</Text>

src/components/ui/select.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ export const Select = (props: SelectProps) => {
210210
{error && (
211211
<Text
212212
testID={`${testID}-error`}
213-
className="text-danger-300 dark:text-danger-600 text-sm"
213+
className="text-sm text-danger-300 dark:text-danger-600"
214214
>
215215
{error}
216216
</Text>

0 commit comments

Comments
 (0)