salesforce-ux / theo

Theo is a an abstraction for transforming and formatting Design Tokens

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Section sort order in HTML output

withinsight opened this issue · comments

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.

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?