1
Themes / Useful Resources
« on: 07 June 2019, 02:56:19 »
Theming Superset Language
This is a Python script to make theming easier. Its main feature is to automatically build sprite sheets.
It has the following features:
https://github.com/rubenwardy/tgui-kenney

Example Form
This is a program to test themes, from the examples folder of texus/tgui
https://github.com/rubenwardy/tgui-example
This is a Python script to make theming easier. Its main feature is to automatically build sprite sheets.
It has the following features:
- It allows you to automatically build sprite sheets by looking in a source theme file for image names.
- Texture = ${name}; will find the texture called name.png and then add it to the sprite sheet.
- Texture = ${name:10}; will create a 9-slice with an inner padding of 10.
- Texture = ${panel:10o+10}; will create a 9-slice with an inner padding of 10, but offset by 10 from the top (see the main body of the child window in the second screenshot).
- Texture = ${titlebar:10o-10}; will create a 9-slice with an inner padding of 10, but offset by 10 from the bottom (see the main title of the child window in the second screenshot).
- It allows you to import other theme files using #include "aaa.style".
https://github.com/rubenwardy/tgui-kenney

Example Form
This is a program to test themes, from the examples folder of texus/tgui
https://github.com/rubenwardy/tgui-example