-
-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Update time input controls (#305)
* refactor: Remove Tailwind Forms * refactor(inputTime): Make time input a two-part field
- Loading branch information
Showing
6 changed files
with
29 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,3 @@ | ||
@tailwind base; | ||
@tailwind components; | ||
@tailwind utilities; | ||
|
||
@layer base { | ||
[type='text'], | ||
[type='email'], | ||
[type='url'], | ||
[type='password'], | ||
[type='number'], | ||
[type='date'], | ||
[type='datetime-local'], | ||
[type='month'], | ||
[type='search'], | ||
[type='tel'], | ||
[type='time'], | ||
[type='week'], | ||
[type='checkbox'], | ||
[multiple], | ||
textarea, | ||
select { | ||
@apply rounded-md border-gray-300 focus:border-gray-300 bg-gray-50 dark:bg-gray-100 focus:bg-white focus:ring-primary focus:ring focus:ring-offset-2; | ||
@apply dark:bg-opacity-10 dark:hover:bg-opacity-20 dark:focus:bg-opacity-30 dark:text-gray-100 dark:border-gray-700 dark:focus:ring-offset-slate-800; | ||
@apply transition-colors; | ||
} | ||
} | ||
|
||
@layer base { | ||
[type="checkbox"] { | ||
@apply dark:bg-opacity-40 dark:hover:bg-opacity-50 dark:focus:bg-opacity-50 dark:active:bg-opacity-60 text-primary dark:text-primary; | ||
// @apply dark:bg-gray-100 dark:bg-opacity-20 dark:hover:bg-opacity-50 dark:active:bg-opacity-90; | ||
@apply dark:checked:hover:bg-current dark:checked:bg-current dark:checked:border-current; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters