zid-theme package

zid-theme is cross-platform CLI that developers can use to validate and build their theme

Read the GitHub page for more information:

zid-theme GitHub readme

⚙️ Installation

Node Package Manager (NPM):

npm install -g zid-theme

zid-theme need to be installed globally to create a symlink in your global folder

Once you install the package run help to see all avaliable commands:

zid-theme help

Assets - accepted extensions

['.js','.ts','.css','.scss','.map','.png','.jpg','.jpeg','.gif','.svg','.woff','.woff2','.otf','.ttf','.eot']

⚡️ Build command

Running the build command only without arguments, will assume the current path is where the theme exist, and the theme zip will be named after the root directory name

zid-theme build

The following command takes two arguments --path and --name

To set the path of the theme (default .):

zid-theme build --path ./theme_path

To set the name of the theme (root folder name):

zid-theme build --name best-theme-ever

Full command:

zid-theme build --name best-theme-ever --path .

Last updated

Was this helpful?