File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -71,6 +71,7 @@ Inside Your app.css import color configuration:
7171.no-scroll {
7272 overflow: hidden;
7373}
74+
7475@layer components {
7576 .input {
7677 @apply shadow transition bg-white border border-gray-300 hover:border-gray-400 focus:ring focus:ring-gray-200 placeholder-gray-300;
@@ -84,25 +85,25 @@ Inside Your app.css import color configuration:
8485 input[type="checkbox"], input[type="radio"] {
8586 @apply accent-slate-600;
8687 }
87- .btn {
88+ .button {
8889 @apply shadow transition;
8990 }
90- .btn .primary {
91+ .button .primary {
9192 @apply bg-blue-500 text-white hover:bg-blue-600 focus:ring-blue-600 focus:ring;
9293 }
93- .btn .error {
94+ .button .error {
9495 @apply bg-red-500 text-white hover:bg-red-600 focus:ring-red-600 focus:ring;
9596 }
96- .btn .ghost {
97+ .button .ghost {
9798 @apply bg-gray-200 text-gray-600 hover:bg-gray-300 focus:ring-gray-300 focus:ring;
9899 }
99- .btn .primary.link {
100+ .button .primary.link {
100101 @apply text-blue-500 hover:underline hover:bg-white;
101102 }
102- .btn .error.link {
103+ .button .error.link {
103104 @apply text-red-500 hover:underline hover:bg-white;
104105 }
105- .btn .ghost.link {
106+ .button .ghost.link {
106107 @apply text-gray-600 hover:underline hover:bg-white;
107108 }
108109 .toast {
You can’t perform that action at this time.
0 commit comments