这是indexloc提供的服务,不要输入任何密码
Skip to content

Can group be a token? #277

@hallee9000

Description

@hallee9000

Consider these tokens in Figma. I have a token called background and a group called background.

Image

what would the tokens JSON be like? Is this file at below valid?

{
  "background": {
    "$type": "color",
    "$value": "#ffffff",
    "primary": {
      "$type": "color",
      "$value": "{slate.950}"
    },
    "secondary": {
      "$type": "color",
      "$value": "{slate.600}"
    }
  }
}

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