Description
When switching from a block theme to a classic theme, preset duotone filters are broken.
I would expect to see a correct filter if a default filter was selected, or no filter if a theme filter was selected (since the preset won't exist on a classic theme).
Additionally, with #49103 merged, preventing default duotone filters from being output on every page, we may be able to bring back the default filters in the duotone selector that were removed in #38681.
Step-by-step reproduction instructions
- Create a post using a block theme that has default duotone filters available
- Insert a block that supports duotone such as
core/cover
- Select one of the default filters for the bloc and save the post
- Switch to a classic theme such as Twenty Nineteen
- Open the post again and see that a broken filter is applied
Screenshots, screen recording, code snippet

Environment info
No response
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
Description
When switching from a block theme to a classic theme, preset duotone filters are broken.
I would expect to see a correct filter if a default filter was selected, or no filter if a theme filter was selected (since the preset won't exist on a classic theme).
Additionally, with #49103 merged, preventing default duotone filters from being output on every page, we may be able to bring back the default filters in the duotone selector that were removed in #38681.
Step-by-step reproduction instructions
core/coverScreenshots, screen recording, code snippet
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes