← All changes
|
build/scripts/style-engine/class-wp-style-engine-gutenberg.php
+6
-0
24.0.0
→
trunk
View file →
| @@ -339,9 +339,15 @@ | ||
| 339 | 339 | 'textShadow' => array( |
| 340 | 340 | 'property_keys' => array( |
| 341 | 341 | 'default' => 'text-shadow', |
| 342 | 342 | ), |
| 343 | + 'css_vars' => array( | |
| 344 | + 'text-shadow' => '--wp--preset--text-shadow--$slug', | |
| 345 | + ), | |
| 343 | 346 | 'path' => array( 'typography', 'textShadow' ), |
| 347 | + 'classnames' => array( | |
| 348 | + 'has-$slug-text-shadow' => 'text-shadow', | |
| 349 | + ), | |
| 344 | 350 | ), |
| 345 | 351 | 'textTransform' => array( |
| 346 | 352 | 'property_keys' => array( |
| 347 | 353 | 'default' => 'text-transform', |