Skip to content

Commit f9542e3

Browse files
committed
update
1 parent e419023 commit f9542e3

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
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",

src/app.css

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
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 {
@@ -15,25 +15,25 @@
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 {

src/lib/components/form/button.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
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
>

0 commit comments

Comments
 (0)