@podoba/tailwind 0.0.39 → 0.0.41

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/theme.css +25 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@podoba/tailwind",
3
- "version": "0.0.39",
3
+ "version": "0.0.41",
4
4
  "type": "module",
5
5
  "description": "podoba Tailwind v4 theme — binds @podoba/tokens CSS custom properties to Tailwind's @theme. Import after `@import \"tailwindcss\"`.",
6
6
  "repository": {
package/src/theme.css CHANGED
@@ -90,6 +90,12 @@
90
90
  --color-fg: var(--color-fg);
91
91
  --color-fg-muted: var(--color-fg-muted);
92
92
  --color-fg-subtle: var(--color-fg-subtle);
93
+ /* LARGE TEXT ONLY (>= 24px, or >= 18.66px bold). A theme-derived grey between
94
+ * fg-subtle and fg-muted: 3.4:1 on light `surface` and 3.1:1 on `surface-card` (WCAG 1.4.3 large-text floor
95
+ * is 3:1), so a gs de-emphasis line such as a page-header parent link or a
96
+ * display greeting can stay close to the source's decorative #b3b3b3 without
97
+ * failing AA. Never use it for body or caption copy; that takes fg-muted. */
98
+ --color-fg-muted-large: color-mix(in srgb, var(--color-fg-subtle) 50%, var(--color-fg-muted));
93
99
  --color-fg-workflow-muted: var(--color-fg-workflow-muted);
94
100
  --color-fg-inverted: var(--color-fg-inverted);
95
101
  --color-fg-on-brand: var(--color-fg-on-brand);
@@ -209,6 +215,8 @@
209
215
  --animate-preview-skeleton-shimmer: preview-skeleton-shimmer 2400ms ease-in-out infinite;
210
216
  --animate-preview-sweep: preview-sweep 1350ms cubic-bezier(0.22, 1, 0.36, 1) infinite;
211
217
  --animate-preview-particle: preview-particle 1200ms ease-in-out infinite;
218
+ /* gs ContentTile `summaryTokenReveal`: per-character summary sentence reveal. */
219
+ --animate-summary-token: summary-token-reveal 680ms cubic-bezier(0.19, 1, 0.22, 1) both;
212
220
  --animate-lightbox-in: lightbox-in 0.3s ease-out;
213
221
  --animate-modal-overlay-in: modal-overlay-in var(--motion-modal-enter-duration)
214
222
  var(--motion-modal-enter-easing) both;
@@ -374,6 +382,23 @@
374
382
  }
375
383
  }
376
384
 
385
+ @keyframes summary-token-reveal {
386
+ 0% {
387
+ opacity: 0;
388
+ filter: blur(6px);
389
+ transform: translateY(8px);
390
+ }
391
+ 58% {
392
+ opacity: 1;
393
+ filter: blur(1px);
394
+ }
395
+ 100% {
396
+ opacity: 1;
397
+ filter: blur(0);
398
+ transform: translateY(0);
399
+ }
400
+ }
401
+
377
402
  @keyframes lightbox-in {
378
403
  from {
379
404
  opacity: 0;