File tree Expand file tree Collapse file tree 3 files changed +14
-19
lines changed Expand file tree Collapse file tree 3 files changed +14
-19
lines changed Original file line number Diff line number Diff line change 1
1
'use client' ;
2
2
3
- import TextInput from '@/components/TextInput/TextInput' ;
3
+ import React from 'react' ;
4
+ import { InputTitleText , InputText } from '../../components/TextInput/styles' ;
4
5
5
- export default function InputText ( ) {
6
- return < TextInput /> ;
7
- }
6
+ export default function InputTextTest ( ) {
7
+ return (
8
+ < >
9
+ < InputTitleText > Label</ InputTitleText >
10
+ < InputText $error = { false } placeholder = "Input Suggestion" />
11
+ </ >
12
+ )
13
+ }
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -9,9 +9,9 @@ export const InputText = styled.input<{ $error: boolean }>`
9
9
font-size: 1rem; // 16px
10
10
font-family: ${ inter . style } ;
11
11
font-weight: 400;
12
- line-height: 19.2px;
12
+ line-height: 19.2px;
13
13
word-wrap: break-word;
14
- padding: 10px 20px 10px 20px;
14
+ padding: 0.625rem 1.25rem; // 10px 20px 10px 20px;
15
15
border-radius: 5px;
16
16
border: 1px solid
17
17
${ ( { $error } ) => ( $error ? COLORS . errorColor : COLORS . existingInputColor ) } ;
@@ -23,7 +23,7 @@ export const InputText = styled.input<{ $error: boolean }>`
23
23
24
24
&:focus {
25
25
outline: none !important;
26
- border: 1px solid
26
+ border: 2px solid
27
27
${ ( { $error } ) => ( $error ? COLORS . errorColor : COLORS . activeGreen ) } ;
28
28
}
29
29
&::placeholder {
@@ -32,7 +32,7 @@ export const InputText = styled.input<{ $error: boolean }>`
32
32
}
33
33
` ;
34
34
export const InputTitleText = styled . label `
35
- color: #555555 ;
35
+ color: ${ COLORS . existingInputColor } ;
36
36
font-size: 1.5rem; // 24px;
37
37
font-family: ${ inter . style } ;
38
38
font-weight: 500;
You can’t perform that action at this time.
0 commit comments