diff --git a/__tests__/fixtures/tailwind.css b/__tests__/fixtures/tailwind.css index 86d3ecd15..1484f3381 100644 --- a/__tests__/fixtures/tailwind.css +++ b/__tests__/fixtures/tailwind.css @@ -586,7 +586,7 @@ button, } } -.input-reset { +.appearance-none { appearance: none; } @@ -3525,7 +3525,7 @@ button, } @media (min-width: 576px) { - .sm\:input-reset { + .sm\:appearance-none { appearance: none; } @@ -6465,7 +6465,7 @@ button, } @media (min-width: 768px) { - .md\:input-reset { + .md\:appearance-none { appearance: none; } @@ -9405,7 +9405,7 @@ button, } @media (min-width: 992px) { - .lg\:input-reset { + .lg\:appearance-none { appearance: none; } @@ -12345,7 +12345,7 @@ button, } @media (min-width: 1200px) { - .xl\:input-reset { + .xl\:appearance-none { appearance: none; } diff --git a/docs/source/docs/forms.blade.md b/docs/source/docs/forms.blade.md index ef6fa995a..34fff99e9 100644 --- a/docs/source/docs/forms.blade.md +++ b/docs/source/docs/forms.blade.md @@ -5,18 +5,41 @@ title: "Forms" # Forms -
-
-
-
- -
-
-

Work in progress!

-

More detailed documentation is coming soon.

-
-
-
+
+ Utilities for styling form controls. +
+ +@include('_partials.feature-badges', [ + 'responsive' => true, + 'customizable' => false, + 'hover' => false, + 'focus' => false +]) + +@include('_partials.work-in-progress') + +
+ + + + + + + + + + + + + + + + + + + + +
ClassPropertiesDescription
.appearance-noneappearance: none;Remove any special styling applied to an element by the browser.
### Custom Select @@ -25,7 +48,7 @@ Form controls are great candidates for component classes, but just for fun, here @component('_partials.code-sample', ['lang' => 'html', 'class' => 'text-center'])
- diff --git a/src/generators/forms.js b/src/generators/forms.js index 57491fb98..2ed4a3be4 100644 --- a/src/generators/forms.js +++ b/src/generators/forms.js @@ -2,6 +2,6 @@ import defineClasses from '../util/defineClasses' export default function() { return defineClasses({ - 'input-reset': { 'appearance': 'none' }, + 'appearance-none': { 'appearance': 'none' }, }) }