Where to find it
There's nothing to turn on in the editor. Add settings.custom.purplish to your theme's theme.json, with any of radius, shadow, wash and rule.
For example, "custom": { "purplish": { "radius": "2px", "shadow": "none", "wash": "#f3ead7", "rule": "#d9d4cc" } } under settings gives near-square corners, no shadow, a warm wash behind the photos and soft lines between ruled cards.
The settings
| Setting | What it does |
|---|---|
radius | WordPress prints it as --wp--custom--purplish--radius. It goes on every rounded corner of the Purplish looks that read it, so 0 gives square corners. |
shadow | WordPress prints it as --wp--custom--purplish--shadow. It replaces the soft shadow under the picked shipping or payment card, the side panel's summary, the raised checkout card and the filter bar's lists. none takes it away. |
wash New in 1.3.3 | WordPress prints it as --wp--custom--purplish--wash. It's the color behind gallery and card photos with Photo wash on, in place of the tint of the effect color, so it stays the same for every variation. |
rule New in 1.3.3 | WordPress prints it as --wp--custom--purplish--rule. It's the color of the lines between ruled cards. |
What reads them:
| Choice | What it does |
|---|---|
| Checkout, Mini-Cart drawer and cart page | The checkout looks, Soft rows and the other cart looks. |
| Product cards | The Ring hover look, and Square ring in its Ring settings. |
| Filter bar | The lists that open from Layout set to Bar. |
| Escalator | The tile corners, when the block has no Corner radius of its own. |
| Photo wash New in 1.3.3 | The wash, on product cards and the Product Gallery. |
| Ruled cards New in 1.3.3 | The rule, for the lines between ruled cards. |
Good to know
- A theme that sets none of them keeps Purplish's own corners, shadow and colors: 8% of the effect color on white for the wash, and 14% of the text color for the lines.
- Checkboxes keep their small corners when the radius is bigger.
- The picked shipping or payment card keeps its ring with any shadow.
- The editor shows the theme's wash and rule too, since WordPress prints the theme's custom values there.