Skip to content

Repository files navigation

miTeamWeb Theme Generator

The simplest way to generate themes for Amtelco's miTeamWeb.

Prerequisites

This product is specific to Amtelco's miTeamWeb.

  • node
  • sass

Once you have node installed, you can install sass with the following command:

npm install -g sass

How it works

We use sass to generate a .css file which can be included in Amtelco's miTeamWeb software to create themes unique to your business

To add the theme miTeamWeb, add the following line to each HTML page:

<head>
    ...
    ...
    <link href="/path/to/theme.css" rel="stylesheet">
</head>

To see what the themese look like (and to add per-user theme selection), include the theme-switcher.js file as well:

<link id="dynamicStyle" href="/assets/miteamweb/notifius.css" rel="stylesheet">
<script src="/assets/miteamweb/theme-switcher.js"></script>

Building a theme

The <theme> is the file name (without .scss extension) for the settings file located in .\themes.

.\build.ps1 <theme>

So if you have the file .\themes\notifius.scss you would build the css using the following command:

.\build.ps1 notifius

About

Creates miTeamWeb themes using SCSS

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages