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

Folder and Component naming conventions #94

Open
dcvijanovic1k opened this issue Nov 26, 2024 · 1 comment
Open

Folder and Component naming conventions #94

dcvijanovic1k opened this issue Nov 26, 2024 · 1 comment

Comments

@dcvijanovic1k
Copy link

Acknowledging that the Figma file is a beta release, two requests for future releases:

  1. Folders, groups and components are semantically named (as opposed to 'object 999') to reinforce best practices for file organization and make it easier to locate items in a frame
  2. Naming and formatting of components should match what is in the code (ex. change ‘USA Banner’ to ‘usa-banner’) so it’s easy for developers to locate components in dev mode and match up with their code

Thanks for all the great work that went into this so far!

@thisisdano
Copy link
Member

thisisdano commented Dec 11, 2024

Thanks! I'm 100% on-board for #1, and that'll be one of our next tasks: cleaning up the layer structure in the components.

I'm a little less sure about #2. I see the benefit in consistency between design and frontend with a common naming convention, but I worry that it could seem a little too code-forward for designers. I'm certainly open to it, but I'd like to ask around a bit more to get a sense of how that change might affect usability and tone.

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