frutjam 0.6.0-alpha.1 → 0.6.0-alpha.2
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
|
@@ -6,7 +6,11 @@
|
|
|
6
6
|
|
|
7
7
|
@apply relative inline-flex self-start shrink-0 flex-nowrap items-center
|
|
8
8
|
justify-center gap-1.5 text-center align-middle font-medium overflow-hidden
|
|
9
|
-
text-xs transition duration-300 leading-4
|
|
9
|
+
text-xs transition duration-300 leading-4;
|
|
10
|
+
|
|
11
|
+
&:not(.btn-link){
|
|
12
|
+
@apply rounded-[var(--radius-size)];
|
|
13
|
+
}
|
|
10
14
|
|
|
11
15
|
&:is(.btn-base, .btn-primary, .btn-secondary, .btn-success, .btn-error, .btn-warning, .btn-info, .btn-accent) {
|
|
12
16
|
/* global */
|
|
@@ -43,10 +47,15 @@
|
|
|
43
47
|
&:not(.btn-ghost, .btn-link) {
|
|
44
48
|
@apply text-[--value(--color-*-fore)] bg-gradient-to-br from-[--value(--color-*)] via-[--value(--color-*)]/95 to-[--value(--color-*)] ring-[0.5px] ring-[--value(--color-*)]/50
|
|
45
49
|
}
|
|
46
|
-
&:is(.btn-ghost) {
|
|
47
|
-
@apply text-[--value(--color
|
|
50
|
+
&:is(.btn-ghost, .btn-link) {
|
|
51
|
+
@apply text-[--value(--color-*)];
|
|
48
52
|
}
|
|
49
53
|
|
|
54
|
+
&:is(.btn-active),
|
|
55
|
+
&:hover:is(.btn-link) {
|
|
56
|
+
@apply underline underline-offset-4 cursor-pointer;
|
|
57
|
+
}
|
|
58
|
+
|
|
50
59
|
@media (hover: hover) {
|
|
51
60
|
&:hover {
|
|
52
61
|
&:is(.btn-ghost) {
|
|
@@ -55,11 +64,9 @@
|
|
|
55
64
|
&:not(.btn-link) {
|
|
56
65
|
@apply ring-1 bg-gradient-to-tr via-[--value(--color-*)]/90;
|
|
57
66
|
}
|
|
58
|
-
&:is(.btn-link) {
|
|
59
|
-
@apply underline underline-offset-4 cursor-pointer;
|
|
60
|
-
}
|
|
61
67
|
}
|
|
62
68
|
}
|
|
69
|
+
|
|
63
70
|
}
|
|
64
71
|
|
|
65
72
|
/* button dashed */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@import "../themes/styles/base.css";
|
|
2
2
|
@utility drawer {
|
|
3
3
|
@layer components {
|
|
4
|
-
@apply pointer-events-none invisible
|
|
4
|
+
@apply pointer-events-none invisible fixed inset-0 m-0 grid h-full max-h-none w-full max-w-none place-items-start bg-transparent p-0 text-inherit z-999 overflow-hidden overscroll-contain;
|
|
5
5
|
|
|
6
6
|
&:not(drawer:not([open]):not(.drawer-open)),
|
|
7
7
|
&::backdrop {
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
|
|
32
32
|
@utility drawer-body {
|
|
33
33
|
@layer components {
|
|
34
|
-
@apply bg-surface text-surface-fore rounded-none border border-black/60 shadow-xl shadow-black/10 forced-colors:outline col-start-1 row-start-1 h-screen max-h-none w-11/12 w-auto max-w-none p-
|
|
34
|
+
@apply bg-surface text-surface-fore rounded-none border border-black/60 shadow-xl shadow-black/10 forced-colors:outline col-start-1 row-start-1 h-screen max-h-none w-11/12 w-auto max-w-none p-1 transition-all duration-150 scale-95 opacity-0 overflow-y-auto overscroll-contain;
|
|
35
35
|
translate: -100% 0;
|
|
36
36
|
scale: 1;
|
|
37
37
|
}
|