Skip to content

Modified default font size presets are not added to the resulting theme.json #707

Description

@matiasbenedetto

What?

Let's say you created a blank theme and modified the default font sizes to create your theme. If you save the theme, you expect those changes to be saved, but that isn't the case. The changes to the default font sizes are not saved in the theme.json, and the settings have been removed, so those changes are lost.

image

Expected

If the default font sizes were changed, they should be added to the theme.json file when the user saves, exports, or creates style variations.

Reproduction steps:

  1. Create a blank theme
  2. Edit the default font size presets.
  3. Save changes to the theme. You will see that the edited font sizes are not present in the resulting theme.json file and the default font sizes were reset to the default.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions