@designa8/vibedesign-linear-internal-v1-b737 0.15.3 → 0.15.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/README.md +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/styles.css +2 -2
- package/package.json +1 -1
- package/src/atoms/AnnouncementCard/AnnouncementCard.tsx +7 -7
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @designa8/vibedesign-linear-internal-v1-b737
|
|
2
2
|
|
|
3
|
-
Complete design system generated by Atoms Design, version **0.15.
|
|
3
|
+
Complete design system generated by Atoms Design, version **0.15.4**.
|
|
4
4
|
Tokens, atoms, molecules, organisms, and templates — import from the package root;
|
|
5
5
|
never hardcode visual values in consumer code.
|
|
6
6
|
|
package/dist/index.cjs
CHANGED
|
@@ -421,7 +421,7 @@ var AnnouncementCard = React2.forwardRef(
|
|
|
421
421
|
),
|
|
422
422
|
/* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("span", { className: "relative flex min-w-0 flex-1 flex-col gap-xxs", children: [
|
|
423
423
|
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { className: "truncate text-heading-sm font-weight-heading-md text-ink", children: title }),
|
|
424
|
-
subtitle && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { className: "truncate text-body-sm text-ink
|
|
424
|
+
subtitle && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { className: "truncate text-body-sm text-ink dark:opacity-90", children: subtitle })
|
|
425
425
|
] }),
|
|
426
426
|
icon && // White in every case: over the consumer's coloured artwork, and over the
|
|
427
427
|
// saturated violet end of the built-in hills. `promo-crown` is white in
|
package/dist/index.js
CHANGED
|
@@ -275,7 +275,7 @@ var AnnouncementCard = React2.forwardRef(
|
|
|
275
275
|
),
|
|
276
276
|
/* @__PURE__ */ jsxs("span", { className: "relative flex min-w-0 flex-1 flex-col gap-xxs", children: [
|
|
277
277
|
/* @__PURE__ */ jsx2("span", { className: "truncate text-heading-sm font-weight-heading-md text-ink", children: title }),
|
|
278
|
-
subtitle && /* @__PURE__ */ jsx2("span", { className: "truncate text-body-sm text-ink
|
|
278
|
+
subtitle && /* @__PURE__ */ jsx2("span", { className: "truncate text-body-sm text-ink dark:opacity-90", children: subtitle })
|
|
279
279
|
] }),
|
|
280
280
|
icon && // White in every case: over the consumer's coloured artwork, and over the
|
|
281
281
|
// saturated violet end of the built-in hills. `promo-crown` is white in
|
package/dist/styles.css
CHANGED
package/package.json
CHANGED
|
@@ -210,17 +210,17 @@ export const AnnouncementCard = React.forwardRef<HTMLAnchorElement, Announcement
|
|
|
210
210
|
)}
|
|
211
211
|
|
|
212
212
|
<span className="relative flex min-w-0 flex-1 flex-col gap-xxs">
|
|
213
|
-
{/*
|
|
214
|
-
|
|
213
|
+
{/* Semibold (600) title. `ink` is near-black in light mode and near-white in
|
|
214
|
+
dark mode, so both lines stay legible on top of the coloured artwork. */}
|
|
215
215
|
<span className="truncate text-heading-sm font-weight-heading-md text-ink">
|
|
216
216
|
{title}
|
|
217
217
|
</span>
|
|
218
|
-
{/*
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
218
|
+
{/* Solid full-strength `ink` in light mode — no element opacity, so the line
|
|
219
|
+
reads near-black over the artwork instead of washing out to grey. Dark
|
|
220
|
+
mode keeps the near-white ink at 90%, which is still clearly legible on
|
|
221
|
+
the dark card surface. */}
|
|
222
222
|
{subtitle && (
|
|
223
|
-
<span className="truncate text-body-sm text-ink
|
|
223
|
+
<span className="truncate text-body-sm text-ink dark:opacity-90">
|
|
224
224
|
{subtitle}
|
|
225
225
|
</span>
|
|
226
226
|
)}
|