Theme basics

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

    All themes resides into bl-themes folder, and they have a predefined structure.

    Folder and Files Structure

    This is a simple mandatory folder structure and files for themes.

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

    Name and Description

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

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

    Information

    The information of the theme is in the JSON file metadata.json.

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

    Examples

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

    Collaborate with us and edit this page