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

Create spacing tokens #732

Open
georgewrmarshall opened this issue Oct 11, 2024 · 0 comments · May be fixed by #731
Open

Create spacing tokens #732

georgewrmarshall opened this issue Oct 11, 2024 · 0 comments · May be fixed by #731
Assignees
Labels
code Issue related to code work team-design-system All issues relating to design system

Comments

@georgewrmarshall
Copy link
Collaborator

Description

This PR introduces new spacing tokens to the design tokens repository for CSSinJS, Figma JSON, and CSS variables. Additionally, it adds Storybook documentation and a SpacingSwatch documentation component to visually represent these spacing tokens. The changes ensure consistency in spacing values across the design system and provide contributors with clear references for applying these tokens.

Technical Details

  • Create spacing tokens and add them to the design tokens repository.
  • Ensure that the spacing tokens are available in the following formats:
    • CSSinJS
    • Figma JSON
    • CSS variables
  • Add a SpacingSwatch component to Storybook to display the new spacing tokens visually.
  • Update the documentation to include details on how and where to use these spacing tokens across the design system.
  • Reference Tailwind's spacing scale as a guide for defining the tokens.

Acceptance Criteria

  • New spacing tokens are created and correctly implemented in CSSinJS, Figma JSON, and CSS variables formats.
  • The SpacingSwatch component is added to Storybook and accurately displays the spacing tokens.
  • The updated documentation is clear and comprehensive, helping contributors understand how to apply the spacing tokens in various formats.
  • Validate that the tokens are consistent across platforms and correctly reflected in the design system.

References

@georgewrmarshall georgewrmarshall added code Issue related to code work team-design-system All issues relating to design system labels Oct 11, 2024
@georgewrmarshall georgewrmarshall linked a pull request Oct 11, 2024 that will close this issue
15 tasks
@georgewrmarshall georgewrmarshall self-assigned this Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code Issue related to code work team-design-system All issues relating to design system
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant