@redseed/redseed-ui-tailwindcss 6.2.3 → 6.2.5
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/colors.css +2 -0
- package/components/card.css +7 -3
- package/components/modal.css +2 -2
- package/components/section.css +25 -2
- package/package.json +1 -1
- package/tokens.css +5 -3
package/colors.css
CHANGED
|
@@ -482,4 +482,6 @@
|
|
|
482
482
|
--Colors-Effects-Shadows-shadow-3xl_02: hsla(220, 29%, 5%, 0.04);
|
|
483
483
|
--Colors-Effects-Shadows-shadow-skeumorphic-inner: hsla(220, 29%, 5%, 0.05);
|
|
484
484
|
--Colors-Effects-Shadows-shadow-skeumorphic-inner-border: hsla(220, 29%, 5%, 0.18);
|
|
485
|
+
--Colors-Background-AI-1: hsla(264, 74%, 93%, 1);
|
|
486
|
+
--Colors-Background-AI-2: hsla(33, 100%, 96%, 1);
|
|
485
487
|
}
|
package/components/card.css
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
.rsui-card {
|
|
2
2
|
@apply relative flex flex-col;
|
|
3
3
|
@apply transition duration-200;
|
|
4
|
-
@apply rounded-xl bg-background-primary
|
|
4
|
+
@apply rounded-xl bg-background-primary;
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
.rsui-card--bordered {
|
|
8
|
-
@apply border-border-primary;
|
|
8
|
+
@apply border border-border-primary;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
.rsui-card--hoverable {
|
|
@@ -29,7 +29,11 @@
|
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
.rsui-card__image {
|
|
32
|
-
@apply rounded-t-xl overflow-hidden;
|
|
32
|
+
@apply rounded-t-xl overflow-hidden w-full relative;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.rsui-card__image__badge-container {
|
|
36
|
+
@apply absolute inset-x-0 w-full bottom-0 py-4 px-4 sm:px-6 flex gap-1;
|
|
33
37
|
}
|
|
34
38
|
|
|
35
39
|
.rsui-card__content {
|
package/components/modal.css
CHANGED
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
|
|
37
37
|
.rsui-modal__content {
|
|
38
38
|
@apply relative max-h-full inset-0 overflow-scroll overscroll-contain transform transition-all;
|
|
39
|
-
@apply
|
|
40
|
-
@apply bg-background-primary
|
|
39
|
+
@apply rounded-xl shadow-full md:w-full md:mx-auto mx-4;
|
|
40
|
+
@apply bg-background-primary;
|
|
41
41
|
-ms-overflow-style: none;
|
|
42
42
|
scrollbar-width: none;
|
|
43
43
|
}
|
package/components/section.css
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
.rsui-section {
|
|
2
|
-
@apply border border-solid rounded-xl p-6 space-y-4;
|
|
2
|
+
@apply border border-solid rounded-xl p-6 space-y-4 border-border-primary ;
|
|
3
3
|
}
|
|
4
4
|
|
|
5
5
|
.rsui-section--primary {
|
|
6
|
-
@apply bg-background-primary
|
|
6
|
+
@apply bg-background-primary text-text-primary;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
.rsui-section--secondary {
|
|
@@ -29,3 +29,26 @@
|
|
|
29
29
|
.rsui-section--error {
|
|
30
30
|
@apply bg-background-error border-border-error text-text-primary;
|
|
31
31
|
}
|
|
32
|
+
|
|
33
|
+
.rsui-section--ai {
|
|
34
|
+
@apply bg-linear-45 from-background-ai-from to-background-ai-to;
|
|
35
|
+
background-size: 160% 160%;
|
|
36
|
+
background-position: 0% 50%;
|
|
37
|
+
animation: rsui-section-ai-gradient 3s ease-in-out infinite alternate;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
@keyframes rsui-section-ai-gradient {
|
|
41
|
+
0% {
|
|
42
|
+
background-position: 0% 50%;
|
|
43
|
+
}
|
|
44
|
+
100% {
|
|
45
|
+
background-position: 100% 50%;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
@media (prefers-reduced-motion: reduce) {
|
|
50
|
+
.rsui-section--ai {
|
|
51
|
+
animation: none;
|
|
52
|
+
background-position: 50% 50%;
|
|
53
|
+
}
|
|
54
|
+
}
|
package/package.json
CHANGED
package/tokens.css
CHANGED
|
@@ -16,10 +16,12 @@
|
|
|
16
16
|
--color-background-warning: var(--Colors-Warning-50);
|
|
17
17
|
--color-background-error: var(--Colors-Error-50);
|
|
18
18
|
--color-background-info: var(--Colors-Blue-50);
|
|
19
|
+
--color-background-ai-from: var(--Colors-Background-AI-1);
|
|
20
|
+
--color-background-ai-to: var(--Colors-Background-AI-2);
|
|
19
21
|
|
|
20
|
-
--color-border-primary: var(--Colors-Grey-
|
|
21
|
-
--color-border-secondary: var(--Colors-Grey-
|
|
22
|
-
--color-border-disabled: var(--Colors-Grey-
|
|
22
|
+
--color-border-primary: var(--Colors-Grey-300);
|
|
23
|
+
--color-border-secondary: var(--Colors-Grey-200);
|
|
24
|
+
--color-border-disabled: var(--Colors-Grey-300);
|
|
23
25
|
--color-border-brand: var(--Colors-Brand-200);
|
|
24
26
|
--color-border-success: var(--Colors-Success-200);
|
|
25
27
|
--color-border-warning: var(--Colors-Warning-200);
|