File tree Expand file tree Collapse file tree 7 files changed +18
-16
lines changed Expand file tree Collapse file tree 7 files changed +18
-16
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ protected static function updatePackageArray(array $packages)
32
32
'laravel-mix-purgecss ' => '^4.1 ' ,
33
33
'laravel-mix-tailwind ' => '^0.1.0 ' ,
34
34
'tailwindcss ' => '^1.0 ' ,
35
+ '@tailwindcss/custom-forms ' => '^0.2 ' ,
35
36
], Arr::except ($ packages , [
36
37
'bootstrap ' ,
37
38
'bootstrap-sass ' ,
Original file line number Diff line number Diff line change 18
18
{{ __ (' E-Mail Address' ) } } :
19
19
</label >
20
20
21
- <input id =" email" type =" email" class =" shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline @error (' email' ) border-red-500 @enderror " name =" email" value =" {{ old (' email' ) } }" required autocomplete =" email" autofocus >
21
+ <input id =" email" type =" email" class =" form-input w-full @error (' email' ) border-red-500 @enderror " name =" email" value =" {{ old (' email' ) } }" required autocomplete =" email" autofocus >
22
22
23
23
@error (' email' )
24
24
<p class =" text-red-500 text-xs italic mt-4" >
32
32
{{ __ (' Password' ) } } :
33
33
</label >
34
34
35
- <input id =" password" type =" password" class =" shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline @error (' password' ) border-red-500 @enderror " name =" password" required >
35
+ <input id =" password" type =" password" class =" form-input w-full @error (' password' ) border-red-500 @enderror " name =" password" required >
36
36
37
37
@error (' password' )
38
38
<p class =" text-red-500 text-xs italic mt-4" >
42
42
</div >
43
43
44
44
<div class =" flex mb-6" >
45
- <input type =" checkbox" name =" remember" id =" remember" {{ old (' remember' ) ? ' checked' : ' ' } } >
46
-
47
- <label class =" text-sm text-gray-700 ml-3" for =" remember" >
48
- {{ __ (' Remember Me' ) } }
45
+ <label class =" inline-flex items-center text-sm text-gray-700" for =" remember" >
46
+ <input type =" checkbox" name =" remember" id =" remember" class =" form-checkbox" {{ old (' remember' ) ? ' checked' : ' ' } } >
47
+ <span class =" ml-2" >{{ __ (' Remember Me' ) } } </span >
49
48
</label >
50
49
</div >
51
50
Original file line number Diff line number Diff line change 22
22
{{ __ (' Password' ) } } :
23
23
</label >
24
24
25
- <input id =" password" type =" password" class =" shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline @error (' password' ) border-red-500 @enderror " name =" password" required autocomplete =" new-password" >
25
+ <input id =" password" type =" password" class =" form-input w-full @error (' password' ) border-red-500 @enderror " name =" password" required autocomplete =" new-password" >
26
26
27
27
@error (' password' )
28
28
<p class =" text-red-500 text-xs italic mt-4" >
Original file line number Diff line number Diff line change 25
25
{{ __ (' E-Mail Address' ) } } :
26
26
</label >
27
27
28
- <input id =" email" type =" email" class =" shadow appearance-none border rounded w-full py-2 px-3 text-grey-darker leading-tight focus:outline-none focus:shadow-outline @error (' email' ) border-red-500 @enderror " name =" email" value =" {{ old (' email' ) } }" required autocomplete =" email" autofocus >
28
+ <input id =" email" type =" email" class =" form-input w-full @error (' email' ) border-red-500 @enderror " name =" email" value =" {{ old (' email' ) } }" required autocomplete =" email" autofocus >
29
29
30
30
@error (' email' )
31
31
<p class =" text-red-500 text-xs italic mt-4" >
Original file line number Diff line number Diff line change 20
20
{{ __ (' E-Mail Address' ) } } :
21
21
</label >
22
22
23
- <input id =" email" type =" email" class =" shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline @error (' email' ) border-red-500 @enderror " name =" email" value =" {{ old (' email' ) } }" required autocomplete =" email" autofocus >
23
+ <input id =" email" type =" email" class =" form-input w-full @error (' email' ) border-red-500 @enderror " name =" email" value =" {{ old (' email' ) } }" required autocomplete =" email" autofocus >
24
24
25
25
@error (' email' )
26
26
<p class =" text-red-500 text-xs italic mt-4" >
34
34
{{ __ (' Password' ) } } :
35
35
</label >
36
36
37
- <input id =" password" type =" password" class =" shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline @error (' password' ) border-red-500 @enderror " name =" password" required autocomplete =" new-password" >
37
+ <input id =" password" type =" password" class =" form-input w-full @error (' password' ) border-red-500 @enderror " name =" password" required autocomplete =" new-password" >
38
38
39
39
@error (' password' )
40
40
<p class =" text-red-500 text-xs italic mt-4" >
48
48
{{ __ (' Confirm Password' ) } } :
49
49
</label >
50
50
51
- <input id =" password-confirm" type =" password" class =" shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline " name =" password_confirmation" required autocomplete =" new-password" >
51
+ <input id =" password-confirm" type =" password" class =" form-input w-full" name =" password_confirmation" required autocomplete =" new-password" >
52
52
</div >
53
53
54
54
<div class =" flex flex-wrap" >
Original file line number Diff line number Diff line change 18
18
{{ __ (' Name' ) } } :
19
19
</label >
20
20
21
- <input id =" name" type =" text" class =" shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline @error (' name' ) border-red-500 @enderror " name =" name" value =" {{ old (' name' ) } }" required autocomplete =" name" autofocus >
21
+ <input id =" name" type =" text" class =" form-input w-full @error (' name' ) border-red-500 @enderror " name =" name" value =" {{ old (' name' ) } }" required autocomplete =" name" autofocus >
22
22
23
23
@error (' name' )
24
24
<p class =" text-red-500 text-xs italic mt-4" >
32
32
{{ __ (' E-Mail Address' ) } } :
33
33
</label >
34
34
35
- <input id =" email" type =" email" class =" shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline @error (' email' ) border-red-500 @enderror " name =" email" value =" {{ old (' email' ) } }" required autocomplete =" email" >
35
+ <input id =" email" type =" email" class =" form-input w-full @error (' email' ) border-red-500 @enderror " name =" email" value =" {{ old (' email' ) } }" required autocomplete =" email" >
36
36
37
37
@error (' email' )
38
38
<p class =" text-red-500 text-xs italic mt-4" >
46
46
{{ __ (' Password' ) } } :
47
47
</label >
48
48
49
- <input id =" password" type =" password" class =" shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline @error (' password' ) border-red-500 @enderror " name =" password" required autocomplete =" new-password" >
49
+ <input id =" password" type =" password" class =" form-input w-full @error (' password' ) border-red-500 @enderror " name =" password" required autocomplete =" new-password" >
50
50
51
51
@error (' password' )
52
52
<p class =" text-red-500 text-xs italic mt-4" >
60
60
{{ __ (' Confirm Password' ) } } :
61
61
</label >
62
62
63
- <input id =" password-confirm" type =" password" class =" shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline " name =" password_confirmation" required autocomplete =" new-password" >
63
+ <input id =" password-confirm" type =" password" class =" form-input w-full" name =" password_confirmation" required autocomplete =" new-password" >
64
64
</div >
65
65
66
66
<div class =" flex flex-wrap" >
Original file line number Diff line number Diff line change @@ -3,5 +3,7 @@ module.exports = {
3
3
extend : { }
4
4
} ,
5
5
variants : { } ,
6
- plugins : [ ]
6
+ plugins : [
7
+ require ( '@tailwindcss/custom-forms' )
8
+ ]
7
9
}
You can’t perform that action at this time.
0 commit comments