File tree Expand file tree Collapse file tree 3 files changed +10
-10
lines changed Expand file tree Collapse file tree 3 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " @mpiorowski/svelte-init" ,
33 "description" : " Low-overhead Svelte UI library" ,
4- "version" : " 2.0.2 " ,
4+ "version" : " 2.0.3 " ,
55 "keywords" : [
66 " svelte" ,
77 " sveltekit" ,
Original file line number Diff line number Diff line change 66 .input {
77 @apply shadow transition bg-white border border-gray-300 hover:border-gray-400 focus:ring focus:ring-gray-200 placeholder-gray-300;
88 }
9- .input . error {
9+ .input- error {
1010 @apply border border-red-500 placeholder-red-500;
1111 }
1212 .text-error {
1515 input [type = "checkbox" ], input [type = "radio" ] {
1616 @apply accent-slate-600;
1717 }
18- .btn {
18+ .button {
1919 @apply shadow transition;
2020 }
21- .btn .primary {
21+ .button .primary {
2222 @apply bg-blue-500 text-white hover:bg-blue-600 focus:ring-blue-600 focus:ring;
2323 }
24- .btn .error {
24+ .button .error {
2525 @apply bg-red-500 text-white hover:bg-red-600 focus:ring-red-600 focus:ring;
2626 }
27- .btn .ghost {
27+ .button .ghost {
2828 @apply bg-gray-200 text-gray-600 hover:bg-gray-300 focus:ring-gray-300 focus:ring;
2929 }
30- .btn .primary .link {
30+ .button .primary .link {
3131 @apply text-blue-500 hover:underline hover:bg-white;
3232 }
33- .btn .error .link {
33+ .button .error .link {
3434 @apply text-red-500 hover:underline hover:bg-white;
3535 }
36- .btn .ghost .link {
36+ .button .ghost .link {
3737 @apply text-gray-600 hover:underline hover:bg-white;
3838 }
3939 .toast {
Original file line number Diff line number Diff line change 1414 {form }
1515 on:click
1616 type ={form ? ' submit' : ' button' }
17- class ={' btn ' + type + (full ? ' full' : ' ' ) + (link ? ' link' : ' ' )}
17+ class ={' button ' + type + (full ? ' full ' : ' ' ) + (link ? ' link ' : ' ' )}
1818 disabled ={disabled || loading }
1919 class:loading
2020>
You can’t perform that action at this time.
0 commit comments