strata-react 1.3.10 → 1.3.12

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/dist/strata.css CHANGED
@@ -197,6 +197,15 @@
197
197
  :where(.dark) & { background-color: rgb(0 0 0 / 0.65); }
198
198
  }
199
199
 
200
+ /* Words over a moving picture (a video's heading while it is paused): white on a shade that darkens
201
+ toward the edge, in either scheme, since the picture under it is neither light nor dark. Like
202
+ `scrim`, not a theme role (strata-react issue #329). */
203
+ @utility picture-shade {
204
+ background-image: linear-gradient(to bottom, rgb(0 0 0 / 0.65), rgb(0 0 0 / 0));
205
+ color: rgb(255 255 255);
206
+ text-shadow: 0 1px 2px rgb(0 0 0 / 0.5);
207
+ }
208
+
200
209
  /* An overlay's entrance: an ordinary effect (fade and 2% scale), CSS only, once on mount. Overlays
201
210
  are occasional (character.md), so the effects duration and no overshoot; they close at once.
202
211
  Reduced motion collapses it in the rule below. */
@@ -187,6 +187,15 @@
187
187
  :where(.dark) & { background-color: rgb(0 0 0 / 0.65); }
188
188
  }
189
189
 
190
+ /* Words over a moving picture (a video's heading while it is paused): white on a shade that darkens
191
+ toward the edge, in either scheme, since the picture under it is neither light nor dark. Like
192
+ `scrim`, not a theme role (strata-react issue #329). */
193
+ @utility picture-shade {
194
+ background-image: linear-gradient(to bottom, rgb(0 0 0 / 0.65), rgb(0 0 0 / 0));
195
+ color: rgb(255 255 255);
196
+ text-shadow: 0 1px 2px rgb(0 0 0 / 0.5);
197
+ }
198
+
190
199
  /* An overlay's entrance: an ordinary effect (fade and 2% scale), CSS only, once on mount. Overlays
191
200
  are occasional (character.md), so the effects duration and no overshoot; they close at once.
192
201
  Reduced motion collapses it in the rule below. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "strata-react",
3
- "version": "1.3.10",
3
+ "version": "1.3.12",
4
4
  "description": "React + Tailwind v4 components that ship structure, behaviour, states and a token contract, and no look: each product brings a theme generated from its own subject.",
5
5
  "repository": {
6
6
  "type": "git",