@wordpress/style-engine 1.24.0 → 1.24.1-next.5a1d1283.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.
@@ -60,6 +60,9 @@ final class WP_Style_Engine {
60
60
  'default' => 'background-color',
61
61
  ),
62
62
  'path' => array( 'color', 'background' ),
63
+ 'css_vars' => array(
64
+ 'color' => '--wp--preset--color--$slug',
65
+ ),
63
66
  'classnames' => array(
64
67
  'has-background' => true,
65
68
  'has-$slug-background-color' => 'color',
@@ -69,6 +72,9 @@ final class WP_Style_Engine {
69
72
  'property_keys' => array(
70
73
  'default' => 'background',
71
74
  ),
75
+ 'css_vars' => array(
76
+ 'gradient' => '--wp--preset--gradient--$slug',
77
+ ),
72
78
  'path' => array( 'color', 'gradient' ),
73
79
  'classnames' => array(
74
80
  'has-background' => true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/style-engine",
3
- "version": "1.24.0",
3
+ "version": "1.24.1-next.5a1d1283.0",
4
4
  "description": "A suite of parsers and compilers for WordPress styles.",
5
5
  "author": "The WordPress Contributors",
6
6
  "license": "GPL-2.0-or-later",
@@ -35,5 +35,5 @@
35
35
  "publishConfig": {
36
36
  "access": "public"
37
37
  },
38
- "gitHead": "5eac1734bcdca2301fdd37ec8cfe2a45e722a2c4"
38
+ "gitHead": "fa0b66987dab5a15f38663e06036d09bccffaa4b"
39
39
  }