I copy pasted the HTML example from the Polaris web components pattern (details) : Details
And the actual result differs from what is shown on the documentation, the Delete button (tone=“critical”) is not shown in red color :
I copy pasted the HTML example from the Polaris web components pattern (details) : Details
And the actual result differs from what is shown on the documentation, the Delete button (tone=“critical”) is not shown in red color :
Seeing the same here.
Tried it in both the primary-action and secondary-actions slots of s-page and neither renders red. The button stays the default grey either way, so it is not specific to secondary actions.
Slightly concerned about the knock-on for Built for Shopify, since destructive actions are expected to read as destructive. At the moment there is no way to signal that from a page action at all.
Is a fix on the way? Can someone from Shopify chip in here?