-
Notifications
You must be signed in to change notification settings - Fork 4
Using Themes
A theme specifies the look of a set of overlays. You add them to a location of your choice, and then tell Soothsayer where to find them.
Themes should be placed in separate folders inside your chosen theme directory. Each theme folder should have a theme.json file accessible at the root of the theme folder.
Themes can be downloaded from URLs. Here's how:
- Make sure you specify a location for your theme files first.
- Under
Config > Themesclick theDownloadbutton. - Enter in a URL to a ZIP file containing a theme. Theme Authors: see below for packaging instructions
- Click Download.
- If success, enjoy the new theme! If error, check the app for error messages, check that your URL is correct, and if you're still having problems, submit a bug report.
You might notice that the public build for Soothsayer doesn't include any themes beyond the base examples (many of which are pretty rough). Currently, theme development has been supported by the Casters for Hire Discord. Hop on in there to get more info about the tool and currently available themes.
To create a theme for Soothsayer, all you need to do is create a folder with a theme.json file. This file requires the following schema:
{
"name": [required: string],
"version": [required: string],
"author": [required: string],
"folderName" : [required: string],
"description" : [optional: string],
"links" : {
// object with optional fields, none are urls
"twitter" : [string, handle without @],
"twitch" : [string, username],
"discord" : [string],
"telegram" : [string, handle without @],
"github" : [string, username],
"kofi" : [string, username]
}
}
folderName must be the name of the folder containing theme.json. Themes may override any CSS properties defined in the obs_src html files by creating a css file to replace one of the default src/obs_src/css files. You must name the theme css file the same as one of the default css files, and you must place it in a css folder in your theme directory. If you do not do this, the system will be unable to properly load your theme.
Your theme directory structure should look like this:
my-theme
theme.json
/css
/images
...
At this time, themes may not provide js override files.
Themes must override one of the following css files to be properly loaded:
- caster-frame.css
- caster-frame.html
- caster-single-frame.html
- caster-duo-frame.html
- caster-single-side-facts.html
- draft.css
- draft.html
- in-game.css
- in-game.html
- map-select.css (Heroes of the Storm Specific)
- map-select.html
- map-select-list.html
- map-select-tiles.html
- player-popups.css
- player-popups.html
- single-image.css
- blue-team-logo.html
- red-team-logo.html
- logo.html