WordPress 7.1 introduces the ability to define a text-shadow value in Global Styles through theme.json. Themes can now set a text shadow globally, on specific blocks, and on elements such as links, without a plugin or custom stylesheet.

GitHub issue: #47904 | PR: #73320

This is the first step of the text shadow feature. It covers theme.json styling only. A user interface, presets, and per-block-instance controls arrive in the next release. See the “What is not included yet” section below.

Background

The CSS text-shadow property has been a frequently requested typography feature (see #47904). Until now, applying a text shadow

Click here to continue reading this article.