material-design-for-wordpress
material-design-for-wordpress copied to clipboard
EPIC: Import and Export DSP
Feature description
!!!Will need to break this ticket down further
As an advance user I would like to import DSP files, make changes to theme and export it, so I can use it in different tools or modify further in other tools.
If a user were to export/import multiple times, the assumption is to override the latest imported version. There would be two versions: The saved and the latest. The newly imported would be the latest.
NOTE: Need to determine where this is going to live. Where does the user see the option to import/export the DSP file. Could be: In the Onboarding Wizard, Getting Started Module, Settings Page - Confirm with @rodydavis and UX
NEED: Need updated designs to reflect the visuals
CONFIRM: Should we add the functionality to preview after an import? @rodydavis mentioned using SVGs. Will also need design support on this.
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
- https://github.com/material-foundation/material-tokens
- ^ Note: Confirm with @rodydavis for structure of the DSP file
- https://material-foundation.github.io/material-theme-builder/ material-theme.zip
- ^ Sample DSP file
- Export the DSP file and the values should match the sample file above
- Modify the values in the DSP file (colors, fonts, etc.)
- Import the modified DSP file
- The theme should be updated with the modified version
- If the imported DSP file token does not exist in the theme and plugin, in this case the next export would take the previous imported values