Skip to content

How to build fomantic for many themes at once? #2194

Answered by lubber-de
byte916 asked this question in General
Discussion options

You must be logged in to vote

This currently needs a custom workflow, because each compile would need a different theme.config (where you define the theme per each component)
So to accomplish your use case, you could

  • prepare x different theme.config files (one for each theme)
  • prepare x different semantic.json files (which define the individual path to theme.config and desired output path)
  • prepare a shellscript/batch/powershell script to
    a) copy the desired semantjc.json to the FUI root folder
    b) run npx gulp build in FUI root folder
    c) redo a) and b) for each of your themes

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by lubber-de
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants