satori 0.24.0 → 0.25.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/README.md CHANGED
@@ -116,6 +116,12 @@ Satori uses the same Flexbox [layout engine](https://yogalayout.com) as React Na
116
116
  </thead>
117
117
  <tbody>
118
118
 
119
+ <tr>
120
+ <td colspan="2"><b>CSS Variables</b></td>
121
+ <td>Supported, including <code>--var-name</code> declaration and <code>var(--var-name)</code> usage with fallback values</td>
122
+ <td><a href="https://og-playground.vercel.app/?share=rVLRTsIwFP2V5hIzTbY4wBjTIC9oos-a8MJLt95tha4lXQfOZf9uOxwRlTeeentO7zntuW0h1RyBwoyL3UoRUtlG4mPb-pqQIIpsgSVGqZbaBJQEnJlNImsMwsOJAkVeWEeM4_hqAPeC2-IXxkW1laxxaCbxY0B9_SQMplZo5TjnU5dqYJkUuXq1WFaeQmXRDNS6rqzImoV2oPL-p3TC0k1udK34wt_c8aMsy46urutNfCIl08kPaPn9lvs47tGuW6m5L3w4x2RIn4VT3DFzfZLPTeBa5i8opQ7JUhvJZ7eu8x-Jv7lqw1TuUr2E-lmJaBKSUTaNx_H4vNqwQgh668dSAW2hHynQBxcNHGYO9M5vOCZ1DjRjssIQsNRr8d5s_Zey-37ndHy4z2WCHKg1NXYhWJa4E4W333tz6L4A">Example</a></td>
123
+ </tr>
124
+
119
125
  <tr>
120
126
  <td colspan="2"><code>display</code></td>
121
127
  <td><code>flex</code>, <code>contents</code>, <code>none</code>, default to <code>flex</code></td>
@@ -304,6 +310,7 @@ Note:
304
310
  2. There is no `z-index` support in SVG. Elements that come later in the document will be painted on top.
305
311
  3. `calc` isn't supported.
306
312
  4. `currentColor` support is only available for the `color` property.
313
+ 5. CSS variables (custom properties) are supported, including inheritance, fallback values, and nested variables.
307
314
 
308
315
  ### Language and Typography
309
316