Theme basics

Contents

    Themes in Bludit are very flexible, and you can use any framework (Bootstrap, Foundation, Bulma, UIkit, Semantic UI, etc), any Javascript code, whatever you want.

    All themes reside in the bl-themes folder, and they have a predefined structure.

    Folder and Files Structure

    This is the simple (and mandatory) folder and file structure for themes.

    /bl-themes/{THEME_NAME}/
        languages/en.json
        metadata.json
        index.php

    Name and Description

    The name and description of the theme is stored in the languages/en.json JSON file.

    {
        "theme-data":
        {
            "name": "Hello World",
            "description": "My new theme"
        }
    }

    Information

    The basic information about the theme is stored in the metadata.json JSON file.

    {
        "author": "Bludit",
        "email": "",
        "website": "https://themes.bludit.com",
        "version": "1.0",
        "releaseDate": "2020-06-01",
        "license": "MIT",
        "compatible": "3.0",
        "notes": ""
    }

    Example Themes

    We have two examples, one is simple and the second is more complex with CSS and Javascript files.