Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(theme update): add padding and border to input / textarea / selec… #70

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/themes/default.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export default {
},
// Textarea
textarea: {
base: 'block w-full text-sm dark:text-gray-300 rounded-md focus:outline-none',
base: 'block w-full text-sm dark:text-gray-300 rounded-md focus:outline-none border px-3 py-2',
active:
'focus:border-purple-400 border-gray-300 dark:border-gray-600 dark:focus:border-gray-600 dark:bg-gray-700 dark:focus:ring-gray-300 focus:ring focus:ring-purple-300',
disabled: 'cursor-not-allowed opacity-50 bg-gray-300 dark:bg-gray-800',
Expand All @@ -117,7 +117,7 @@ export default {
},
// Select
select: {
base: 'block w-full text-sm dark:text-gray-300 focus:outline-none rounded-md',
base: 'block w-full text-sm dark:text-gray-300 focus:outline-none rounded-md border px-3 py-2',
active:
'focus:border-purple-400 border-gray-300 dark:border-gray-600 dark:bg-gray-700 focus:ring focus:ring-purple-300 dark:focus:ring-gray-300 dark:focus:border-gray-600',
select: 'leading-5',
Expand All @@ -136,7 +136,7 @@ export default {
},
// Input
input: {
base: 'block w-full text-sm focus:outline-none dark:text-gray-300 leading-5 rounded-md',
base: 'block w-full text-sm focus:outline-none dark:text-gray-300 leading-5 rounded-md border py-2 px-3',
active:
'focus:border-purple-400 border-gray-300 dark:border-gray-600 focus:ring focus:ring-purple-300 dark:focus:border-gray-600 dark:focus:ring-gray-300 dark:bg-gray-700',
disabled: 'cursor-not-allowed opacity-50 bg-gray-300 dark:bg-gray-800',
Expand Down