Skip to content

Exported theme has minor line height difference in theme.json #75

@erikjoling

Description

@erikjoling

Hi,

First of all, thanks for this plugin. I just installed it, but I already see the benefits for me as a theme developer.

I noticed a small issue: the line-height values in the exported theme's theme.json file were slightly off:

Original:

"line-height": {
	"tiny": 1.1,
	"small": 1.2,
	"medium": 1.4,
	"normal": 1.725
}

Export:

"line-height": {
	"medium": 1.3999999999999999,
	"normal": 1.7250000000000001,
	"small": 1.2,
	"tiny": 1.1000000000000001
}

Apparently they are also sorted different 😜

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions