The simplest way to generate themes for Amtelco's miTeamWeb.
This product is specific to Amtelco's miTeamWeb.
nodesass
Once you have node installed, you can install sass with the following command:
npm install -g sass
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>
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