Consider removing default colors, duotones, and gradients on save/export
Currently, all exported themes from the editor include all default colors, duotones, and gradients. These tend to dilute the design system of the theme:
We should consider removing these on save or export of the theme, or at least providing an option to clear them in the UI before export. (With the view to porting this option to Gutenberg in the future.)
I don't think these should be removed without an option. Especially not if the user has not added any custom colors. (It is still not possible to add custom duotones via the ui)
I would expect from theme builder to have an UI to actually make that choice herself.
- Disable custom colors
- Disable custom gradients
- Disable duotones It's feasible for theme authors to want to restrict color palette to the ones they created via the Editor and then switch things off for the export.
As these options don't have an UI equivalent, the might be a need to add it upstream in Gutenberg first before it can be leveraged in this plugin.