@fea-ui/styles 0.0.0-canary.2 → 0.0.0-canary.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/src/components/card.css
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
/** Base Styling */
|
|
2
|
-
|
|
3
2
|
.card {
|
|
4
3
|
@apply w-full max-w-md rounded shadow;
|
|
5
|
-
@apply flex flex-col
|
|
4
|
+
@apply flex flex-col p-5 gap-4;
|
|
6
5
|
}
|
|
7
6
|
|
|
8
7
|
/** Variants */
|
|
@@ -27,10 +26,6 @@
|
|
|
27
26
|
@apply text-muted-foreground text-base;
|
|
28
27
|
}
|
|
29
28
|
|
|
30
|
-
.
|
|
31
|
-
@apply flex flex-col gap-3;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.card__footer {
|
|
35
|
-
@apply flex items-center gap-3;
|
|
29
|
+
.card__content {
|
|
30
|
+
@apply flex-1 flex flex-col gap-3;
|
|
36
31
|
}
|
package/src/components/index.css
CHANGED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
.spinner {
|
|
2
|
+
@apply animate-spin;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Sizes
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
.spinner--sm {
|
|
10
|
+
@apply size-4;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.spinner--md {
|
|
14
|
+
@apply size-6;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.spinner--lg {
|
|
18
|
+
@apply size-8;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.spinner--xl {
|
|
22
|
+
@apply size-10;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Variants
|
|
27
|
+
*/
|
|
28
|
+
.spinner--primary {
|
|
29
|
+
@apply text-primary;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.spinner--success {
|
|
33
|
+
@apply text-success;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.spinner--danger {
|
|
37
|
+
@apply text-danger;
|
|
38
|
+
}
|