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

Section sort order in HTML output #189

Open
withinsight opened this issue Oct 1, 2019 · 1 comment
Open

Section sort order in HTML output #189

withinsight opened this issue Oct 1, 2019 · 1 comment

Comments

@withinsight
Copy link

Is it possible to control the sort order of the categories/sections in the HTML output? It would be great if it followed the sort order specified in base.yml. Here's my base.yml I point theo CLI at:

imports:
  - ./text-color.yml
  - ./background-color.yml
  - ./border.yml
  - ./border-radius.yml
  - ./font-family.yml
  - ./font-size.yml
  - ./font-weight.yml
  - ./line-height.yml
  - ./space.yml
  - ./box-shadow.yml
  - ./media-query.yml

In the HTML output, the order is random: Space, Font Weight, Font Size, etc.

@withinsight
Copy link
Author

Anyone? I've tried prefixing the yml files with numbers (1-text-color.yml, 2-background-color.yml, etc.) and even this doesn't fix the HTML output sort order?

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

1 participant