Salla themes components bundles allow making detailed changes to the store's look-and-feel, with the help of Salla CLI which can be leveraged by the developers to design the themes. Within this article, an explanation of how a developer can create theme bundles by using the create command will be provided.
The developer has two alternatives when it comes to creating theme bundles using Salla CLI: one is to create a bundle using the console, and the other is to import a theme from GitHub.To see the bundle creation choices, the developer must be be logged into Salla Partners Account and into his Github Account using PAT, use the command salla theme create, which can be abbreviated to salla theme c:
After executing the command, the following choices will be displayed on the terminal; Read the next section to know more about each option:
In the case where the option “create a new bundle” is selected, the developer will be prompted to fill in a few details about the theme.Theme details are as shown below:
Requirement
Description
Choose from linked accounts
Select a repo from the developer's list of GitHub repo.
Bundle Name
Bundle title or label, it must start with ‘tw-’ prefix eg. (tw-bundlename)
Author email address
Developer's email account.
After entering all the required information, a local folder will be created in the developer environment for the newly created theme bundle. It will also get Twilight Themes source code from GitHub and install it locally.
NOTE
Please keep in mind that the newly created bundle will be created as a private repository in your GitHub account! If you do not have access to that private repository or if you are located in a region that does not support accessing private repositories, you may encounter the error Error occurred while making the request when attempting to import the theme from the GitHub repository. In case you encounter this issue, you may create the theme manually.
In the other option, when the developer chooses "Import a bundle", a list of linked accounts will be displayed. Choose one the Repository to import the bundle.