@redseed/redseed-ui-tailwindcss 7.60.0 → 7.61.0
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/components/card.css +26 -0
- package/package.json +1 -1
package/components/card.css
CHANGED
|
@@ -64,6 +64,32 @@
|
|
|
64
64
|
color: var(--Colors-Warm-Mauve-200);
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
+
/* Empty sets `text-text-primary` on its own root and its description is a plain
|
|
68
|
+
BodyText, which does the same — both vanish here. Empty has no on-color prop to
|
|
69
|
+
pass, and an invisible empty state is the worst case of all: it is what the card
|
|
70
|
+
shows before it has anything to say. Same reach as the card header above. */
|
|
71
|
+
.rsui-card--ai-bold .rsui-empty {
|
|
72
|
+
@apply text-text-on-color;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.rsui-card--ai-bold .rsui-empty__description {
|
|
76
|
+
@apply text-text-on-color;
|
|
77
|
+
@apply *:text-text-on-color;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
/* MetaInfo the same: its label is `text-text-tertiary` and its value
|
|
81
|
+
`text-text-primary`. The label keeps its muted step against the value rather than
|
|
82
|
+
flattening to white — Warm Mauve 200, the ink the card subtitle already uses,
|
|
83
|
+
measured at 6.05:1 on the lightest stop of this gradient. */
|
|
84
|
+
.rsui-card--ai-bold .rsui-meta-info__label {
|
|
85
|
+
color: var(--Colors-Warm-Mauve-200);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.rsui-card--ai-bold .rsui-meta-info__value,
|
|
89
|
+
.rsui-card--ai-bold .rsui-meta-info__help {
|
|
90
|
+
@apply text-text-on-color;
|
|
91
|
+
}
|
|
92
|
+
|
|
67
93
|
.rsui-card--secondary {
|
|
68
94
|
@apply bg-background-secondary;
|
|
69
95
|
}
|