-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
jaskang
committed
Jan 12, 2023
1 parent
78c3ef4
commit 610e0ca
Showing
15 changed files
with
161 additions
and
169 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,6 +1,8 @@ | ||
module.exports = { | ||
plugins: { | ||
'postcss-import': {}, | ||
'tailwindcss/nesting': {}, | ||
tailwindcss: {}, | ||
autoprefixer: {}, | ||
}, | ||
}; | ||
} |
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
@import 'tailwindcss/base'; | ||
@import 'tailwindcss/components'; | ||
@import 'tailwindcss/utilities'; | ||
|
||
@import '../button/index.css'; | ||
@import '../checkbox/index.css'; | ||
@import '../radio/index.css'; |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,89 @@ | ||
.e-button { | ||
@apply inline-flex items-center rounded-md border border-solid border-gray-300 bg-white px-4 py-2 text-sm font-medium text-gray-700 shadow-sm | ||
hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2; | ||
|
||
&--xs { | ||
@apply rounded px-2.5 py-1.5 text-xs; | ||
} | ||
&--sm { | ||
@apply px-3 py-2 text-sm leading-4; | ||
} | ||
&--lg { | ||
@apply px-4 py-2 text-base; | ||
} | ||
&--xl { | ||
@apply px-6 py-3 text-base; | ||
} | ||
|
||
&--primary { | ||
@apply border-transparent bg-indigo-600 text-white hover:bg-indigo-700 focus:ring-indigo-500; | ||
} | ||
|
||
&--success { | ||
@apply border-transparent bg-green-500 text-white hover:bg-green-600 focus:ring-green-500; | ||
} | ||
|
||
&--warning { | ||
@apply border-transparent bg-amber-500 text-white hover:bg-amber-600 focus:ring-amber-500; | ||
} | ||
|
||
&--error { | ||
@apply border-transparent bg-red-500 text-white hover:bg-red-600 focus:ring-red-500; | ||
} | ||
|
||
&--round { | ||
@apply rounded-full; | ||
} | ||
|
||
&--circle { | ||
@apply justify-center overflow-hidden whitespace-nowrap rounded-full px-0; | ||
width: calc(theme('width.9') + 2px); | ||
&.e-button--xs { | ||
width: calc(theme('width.7') + 2px); | ||
} | ||
&.e-button--sm { | ||
width: calc(theme('width.8') + 2px); | ||
} | ||
&.e-button--lg { | ||
width: calc(theme('width.10') + 2px); | ||
} | ||
&.e-button--xl { | ||
width: calc(theme('width.12') + 2px); | ||
} | ||
} | ||
|
||
&--link { | ||
@apply border-transparent bg-transparent underline underline-offset-2 shadow-none hover:bg-transparent; | ||
&.e-button--primary { | ||
@apply text-indigo-600 hover:text-indigo-700; | ||
} | ||
&.e-button--success { | ||
@apply text-green-600 hover:text-green-700; | ||
} | ||
&.e-button--warning { | ||
@apply text-amber-600 hover:text-amber-700; | ||
} | ||
&.e-button--error { | ||
@apply text-red-600 hover:text-red-700; | ||
} | ||
|
||
&.is-disabled { | ||
@apply border-transparent bg-transparent !important; | ||
} | ||
} | ||
|
||
&.is-disabled { | ||
@apply cursor-not-allowed border border-slate-300 bg-slate-50 | ||
text-slate-400 focus:ring-0; | ||
} | ||
} | ||
|
||
.e-button-group { | ||
@apply relative z-0 inline-flex rounded-sm shadow-sm; | ||
> .e-button { | ||
@apply relative rounded-none first:rounded-l-md last:rounded-r-md focus:z-10 focus:ring-offset-0; | ||
+ .e-button { | ||
@apply -ml-px; | ||
} | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
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
Empty file.
Oops, something went wrong.
610e0ca
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
elenext – ./
elenext-git-main-jaskang.vercel.app
elenext-jaskang.vercel.app
elenext.vercel.app
elenext.jaskang.vip