Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi-value radii and spacing tokens docs #43

Closed
rbosker opened this issue Oct 12, 2022 · 1 comment
Closed

Multi-value radii and spacing tokens docs #43

rbosker opened this issue Oct 12, 2022 · 1 comment
Assignees
Milestone

Comments

@rbosker
Copy link
Collaborator

rbosker commented Oct 12, 2022

Related issue: tokens-studio/figma-plugin#110

Name doc:

Video walk through:
Doc:

@rbosker rbosker added this to the Release 123 milestone Oct 12, 2022
@six7
Copy link
Collaborator

six7 commented Oct 14, 2022

I'll work on a video work this next week, content for the docs could be something like

Single value (like today)
Clicking this on radii will apply to all corners (like today)
Clicking this on spacing will apply to the gap property (like today)
10px

Two values
Clicking this on radii will apply top-left-and-bottom-right | top-right-and-bottom-left
Clicking this on spacing will apply top-and-bottom | left-and-right
10px 5px

Three values
Clicking this on radii will apply top-left | top-right-and-bottom-left | bottom-right
Clicking this on spacing will apply top | right-and-left | bottom
2px 4px 2px

Four values
Clicking this on radii will apply top-left | top-right | bottom-right | bottom-left
Clicking this on spacing will apply top | right | bottom | left
1px 0 3px 4px

In the video I'd explain

  • how to create them
  • how to apply them
  • how to use them with aliases

@six7 six7 closed this as completed Oct 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants