diff --git a/THEMES.md b/THEMES.md index 15801a157..407f15be9 100644 --- a/THEMES.md +++ b/THEMES.md @@ -7,8 +7,9 @@ Themes are loaded like this: 1. Initialize to default values. 2. If `$HOME/.emulationstation/es_theme_default.xml` exists, load it. -3a. If there is a `theme.xml` present in the root of a system's `path` directory, load it. -3b. IF NOT, If `$HOME/.emulationstation/%SYSTEMNAME%/theme.xml` exists, load it. +3. If there is a `theme.xml` present in the root of a system's `path` directory, load it. + + IF NOT, If `$HOME/.emulationstation/%SYSTEMNAME%/theme.xml` exists, load it. Example ======= @@ -45,6 +46,7 @@ Example Themes must be enclosed in a `` tag. All paths automatically expand `./` to the folder containing the theme.xml. + All paths automatically expand `~/` to the home directory ($HOME on Linux, %HOMEPATH% on Windows). Stuff you can define @@ -63,8 +65,11 @@ Fonts are defined like so: ``` + `` - Default size: 0.045. + `` - Default size: 0.035. + `` - Default size: 0.15. Colors @@ -73,16 +78,26 @@ Colors Colors are defined in hex, like this: `00FF00FF` + or + `00FF00` + (without the alpha channel specified - will assume FF) + `` - Default: 0000FFFF. + `` - Default: 00FF00FF. + `` - Default: 000000FF. + `` - Default: 00000000. + `` - Default: 48474DFF. + `` - Default: FFFFFFFF. + `` - Default: DDDDDDFF. Images @@ -98,23 +113,35 @@ Images are defined like this: ``` Pretty much any image format is supported. + `` - No default. + `` - No default. + `` - No default. + `` - No default. + `` - Nine patch. Default is the "button.png" resource. Sounds ====== Sounds are defined like this: + `./some/path/here.wav` + Only .wav files are supported. + `` - No default. Played when a list scrolls. + `` - No default. Played when a game is launched. + `` - No default. Played when leaving a folder in the game list. + `` - No default. Played when the menu is opened. + `` - No default. Played when the menu is closed.