Skip to content
Discussion options

You must be logged in to vote

You could just include these as part of the name, I realize that makes those category headings appear twice in the UI, but other than that this would be fine. We're revamping how these categories are displayed in the future and one of the ideas would be to not group by type but rather just group by your naming structure.

So in your case just changing the JSON to

"color": {
  "Red": {
      "value": "#FF0000",
      "type": "color"
    },
    "Green": {
      "value": "#00FF00",
      "type": "color"
    },
},
"typography": {
    "Headings": {
      "H1 Headline": { ... },
      "H2 Headline": { ... }
    }
}

would do the trick.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@davatron5000
Comment options

@six7
Comment options

six7 Mar 6, 2022
Maintainer

Answer selected by davatron5000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants