Skip to Content
StoreOSv0.27.1
CLItheme

theme package

Check a StoreOS theme and zip it for upload.

Runs the checks, compiles Tailwind stylesheets and writes a zip. Nothing is written if the check finds errors.

Only the theme folders (layout, widgets, snippets, assets, config, locales) are included. Hidden files are left out.

Usage

storeos theme package [dir] [flags]

By default the zip is <folder name>.zip in the current folder.

Flags

FlagDescription
--out <file>Where to write the zip. Missing folders are created

Examples

storeos theme package
storeos theme package --out dist/my-theme-1.2.zip

Output

terminal
> storeos theme package
✓ 21 files → /Users/you/my-theme/my-theme.zip (132 KB)
  Upload it in the console: Online store → Themes → Upload theme

Upload the zip in the console: Online store → Themes → Upload theme.

On this page