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)
3232 'laravel-mix-purgecss ' => '^4.1 ' ,
3333 'laravel-mix-tailwind ' => '^0.1.0 ' ,
3434 'tailwindcss ' => '^1.0 ' ,
35+ '@tailwindcss/custom-forms ' => '^0.2 ' ,
3536 ], Arr::except ($ packages , [
3637 'bootstrap ' ,
3738 'bootstrap-sass ' ,
Original file line number Diff line number Diff line change 1818 {{ __ (' E-Mail Address' ) } } :
1919 </label >
2020
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 >
2222
2323 @error (' email' )
2424 <p class =" text-red-500 text-xs italic mt-4" >
3232 {{ __ (' Password' ) } } :
3333 </label >
3434
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 >
3636
3737 @error (' password' )
3838 <p class =" text-red-500 text-xs italic mt-4" >
4242 </div >
4343
4444 <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 >
4948 </label >
5049 </div >
5150
Original file line number Diff line number Diff line change 2222 {{ __ (' Password' ) } } :
2323 </label >
2424
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" >
2626
2727 @error (' password' )
2828 <p class =" text-red-500 text-xs italic mt-4" >
Original file line number Diff line number Diff line change 2525 {{ __ (' E-Mail Address' ) } } :
2626 </label >
2727
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 >
2929
3030 @error (' email' )
3131 <p class =" text-red-500 text-xs italic mt-4" >
Original file line number Diff line number Diff line change 2020 {{ __ (' E-Mail Address' ) } } :
2121 </label >
2222
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 >
2424
2525 @error (' email' )
2626 <p class =" text-red-500 text-xs italic mt-4" >
3434 {{ __ (' Password' ) } } :
3535 </label >
3636
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" >
3838
3939 @error (' password' )
4040 <p class =" text-red-500 text-xs italic mt-4" >
4848 {{ __ (' Confirm Password' ) } } :
4949 </label >
5050
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" >
5252 </div >
5353
5454 <div class =" flex flex-wrap" >
Original file line number Diff line number Diff line change 1818 {{ __ (' Name' ) } } :
1919 </label >
2020
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 >
2222
2323 @error (' name' )
2424 <p class =" text-red-500 text-xs italic mt-4" >
3232 {{ __ (' E-Mail Address' ) } } :
3333 </label >
3434
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" >
3636
3737 @error (' email' )
3838 <p class =" text-red-500 text-xs italic mt-4" >
4646 {{ __ (' Password' ) } } :
4747 </label >
4848
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" >
5050
5151 @error (' password' )
5252 <p class =" text-red-500 text-xs italic mt-4" >
6060 {{ __ (' Confirm Password' ) } } :
6161 </label >
6262
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" >
6464 </div >
6565
6666 <div class =" flex flex-wrap" >
Original file line number Diff line number Diff line change @@ -3,5 +3,7 @@ module.exports = {
33 extend : { }
44 } ,
55 variants : { } ,
6- plugins : [ ]
6+ plugins : [
7+ require ( '@tailwindcss/custom-forms' )
8+ ]
79}
You can’t perform that action at this time.
0 commit comments