Sylloo ERP Help Center Sign in

Getting started with theme versions

Go from an empty repository to a published theme, editing the files in your own editor.

Updated 4 Nov 2026 8 min read

Getting started with theme versions

This tutorial takes you from an empty repository to a published theme. You edit the files in your own editor on your computer and bring every change into Sylloo. It takes about 20 minutes.

A repository connection is now the way to bring in a theme built elsewhere. Sylloo no longer takes a whole theme as a zip file.

A repository is an online folder that also keeps the history of every change. GitHub is the first service Sylloo connects to, so this tutorial uses it. Buttons show the name of the service you connect, for example Install from GitHub.

When you use this

  • You want to build a theme in your own editor, such as VS Code, and see it in Sylloo.
  • An agency keeps one theme and installs it for several businesses.
  • You want every change saved with a name and a date, so you can go back to it.

Before you start

  • You need a developer account in Sylloo. Without one, you do not see Install from GitHub.
  • You need a GitHub account and a code editor on your computer.
  • A few words you meet below:
    • A commit is one saved change in the history.
    • A branch is one line of work in a repository. Most repositories start with one, called main.
    • Push sends your changes to the repository. Pull brings changes from the repository to you.

Theme structure

A theme is a folder with a fixed set of folders inside. Sylloo finds it by the file config/theme.json. The tutorial below builds this one:

my-first-theme/
├── README.md                  your own notes; Sylloo leaves this out
├── config/
│   └── theme.json             the theme's name and version
├── layouts/
│   └── base.html              the frame of every page
├── templates/
│   └── home.json              which sections the home page shows
├── sections/
│   ├── welcome.html           one section: its HTML
│   └── welcome.json           the same section: its settings
└── assets/
    └── css/
        └── theme.css          the stylesheet

Result: the folder has the same layout as a theme in Theme Studio.

How it works

  1. You keep the theme's files in the repository. The repository remembers every commit.
  2. Sylloo reads the repository through your connection. It keeps no copy of your repository, only your theme.
  3. Pull puts new text files into your draft, and you publish when you are ready. Push sends your draft to the repository as one commit.
  4. Your website never reads from the repository. A new commit changes nothing for visitors until you pull and publish.

Create an empty repository

  1. Sign in at GitHub and create a new repository named my-first-theme.
  2. Choose Private. A public repository lets anyone read your theme.
  3. Copy the repository to your computer with your editor. In VS Code, use Clone Repository.

You now have an empty folder named my-first-theme on your computer.

Add the theme files

Create the files below in the folder. Their places are shown under Theme structure.

config/theme.json:

{
    "name": "My First Theme",
    "slug": "my-first-theme",
    "version": "1.0.0",
    "format": 2,
    "default_locale": "en",
    "supports": ["store"],
    "description": "A small first theme.",
    "pages": ["home"]
}

Result: Sylloo shows the name "My First Theme" and version 1.0.0 in the theme list.

layouts/base.html:

<!DOCTYPE html>
<html lang="{{ locale() }}">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>{{ meta.title ?? shop('name') }}</title>
    {{ header }}
    <link rel="stylesheet" href="{{ 'css/theme.css'|asset_url }}">
    {{ theme_css() }}
</head>
<body>
    <main id="main">{{ content }}</main>
</body>
</html>

Result: every page gets the page title, your stylesheet and the page's sections inside <main>.

templates/home.json:

{
    "name": "home",
    "title": "Home",
    "layout": "base",
    "sections": {
        "welcome_1": { "type": "welcome", "settings": {} }
    },
    "order": ["welcome_1"]
}

Result: the home page shows one section, Welcome.

sections/welcome.html:

<section class="welcome" {{ section.attributes }}>
    <h1 {{ editable('heading') }}>{{ settings.heading }}</h1>
    <p {{ editable('text') }}>{{ settings.text }}</p>
</section>

Result: the section prints the heading and the text from its settings.

sections/welcome.json:

{
    "name": "welcome",
    "title": "Welcome",
    "enabled_on": { "pages": ["*"] },
    "settings": [
        { "id": "heading", "type": "text", "label": "Heading", "translatable": true, "default": "Welcome to our shop" },
        { "id": "text", "type": "textarea", "label": "Text", "translatable": true, "default": "Good things, fairly priced." }
    ],
    "presets": [ { "name": "Welcome" } ]
}

Result: the business can change both texts in the website builder, so nothing is hard-coded.

assets/css/theme.css:

.welcome { padding: 4rem 1rem; text-align: center; }
.welcome h1 { color: #1a7f5a; }

Result: the section is centred with a green heading.

When the files are ready, commit them with the message First version and push from your editor. The files now show on the repository's page at GitHub.

You can also start the other way round. Link an empty repository to a theme you already have in Theme Studio, and your first Push sends the whole theme. See Source control in Theme Studio.

Connect GitHub to Sylloo

  1. Go to Settings › Integrations and click the Source control tag.
  2. On the GitHub card, click Connect, then Sign in at GitHub.
  3. At GitHub, allow Sylloo to use the repository my-first-theme.

You come back to Sylloo. The card now shows Active. You do this only once for each business. Every detail is in Connect a repository.

Install the theme

  1. Open the Template page of your website (the list of your themes) and click Install from GitHub.
  2. Click my-first-theme in the list.
  3. Wait while Sylloo checks every file.

Result: the window shows "My First Theme" is installed. The theme is linked to the repository but it is not live, so visitors see nothing new.

  1. Click Open in Theme Studio.

Every detail is in Install a theme from a repository.

Change something in your editor

  1. In your editor, open sections/welcome.json and change the default of heading to Fresh deals every week.
  2. Open assets/css/theme.css and change #1a7f5a to #b3261e.
  3. Commit with the message New heading and colour and push.

Pull the change into Sylloo

  1. In Theme Studio, click the Source control view in the activity bar (the left icon strip).
  2. You see New commits on GitHub. Click Pull.
  3. Read the list on the Pull screen. sections/welcome.json shows Update. assets/css/theme.css shows Update and At once.
  4. Click Pull.

Result: the message says Pulled. The heading is in your draft, and the Preview shows the new heading and colour.

At once means the file does not wait for Publish. Pictures, fonts, CSS and scripts change as soon as you pull. This theme is not live yet, so it is safe here. On a live theme, these files reach visitors at once.

Publish and go live

  1. In Theme Studio, click Publish in the title bar, then Publish now.
  2. Go back to the Template page. On the theme's card, click Make live when you are ready.

Result: visitors see your theme with the heading "Fresh deals every week" and the new colour.

You have made a theme in your own editor, brought a change in safely and published it. Repeat steps 5 to 7 for each change.

Example: Keep several themes in one repository

One repository can hold several themes, each in its own folder.

acme-themes/
├── README.md
├── shop/
│   ├── config/
│   │   └── theme.json
│   ├── layouts/
│   │   └── base.html
│   └── templates/
│       └── home.json
└── blog/
    ├── config/
    │   └── theme.json
    ├── layouts/
    │   └── base.html
    └── templates/
        └── home.json

Result: the install window shows Theme folder with the choices blog and shop. Each theme installs as its own theme and stays linked to its own folder.

How to extend

  • Add a section: add sections/<name>.html and sections/<name>.json, push, and pull in Sylloo.
  • Name a version: in Source control, click Create version… and enter 1.1.0. You can go back to it at any time.
  • Move a design from Practice to Live: push from Practice, then install the same repository on Live.

Rules and pitfalls

  • A pull never publishes, and a push never publishes. You always click Publish yourself.
  • Your repository can hold other files, such as README.md. Sylloo leaves them out and never changes them.
  • Keep pictures for the website in the File Manager, not in the repository, unless they belong to the design.

Common questions

Do I need to install anything on the server? No. Everything happens on Sylloo's screens and at GitHub.

I changed the same file in Theme Studio and in my editor. What happens? The pull lists it under Both sides changed, and you choose which one to keep. See Source control in Theme Studio.

Can I still upload a zip of a whole theme? No. A repository connection replaces it. You can still upload pictures and fonts into assets/ in Theme Studio. Folders and other file types are refused.