https://github.com/reshyl/gui-themes
A simple but extensible Theme system for Unity's default GUI.
https://github.com/reshyl/gui-themes
ugui ui unity unity-plugin
Last synced: 5 months ago
JSON representation
A simple but extensible Theme system for Unity's default GUI.
- Host: GitHub
- URL: https://github.com/reshyl/gui-themes
- Owner: reshyl
- License: mit
- Created: 2024-01-08T00:03:22.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-12T22:59:55.000Z (over 2 years ago)
- Last Synced: 2025-04-07T20:12:26.704Z (about 1 year ago)
- Topics: ugui, ui, unity, unity-plugin
- Language: C#
- Homepage:
- Size: 68.4 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# GUI Themes
A simple but extensible Theme system for Unity's default GUI. Created mostly for myself to easily integrate a theme system into my projects.
**Features**
* Custom palettes for Colors, Sprites, Selectables(Button, InputField etc.) and TextMeshPro.
* Localised themes. Instead of the entire project using a single theme, adding a GUI Theme component to any UI GameObject makes all children adhere to that Theme.
* Components for Images, TextMeshPro, Buttons/any Selectable to easily assign Palettes to GUI.
* Components stay true to their settings even when used as prefabs, or when changing parents.
* Extensible architecture to easily add your own Palettes.
**Installation**
Make sure you have [Git](https://git-scm.com) installed on your system. A git GUI such as [GitHub Desktop](https://desktop.github.com) will do as well. We won't actually use Git, but it's still required for the coming steps to work.
1. (Optional) Import TextMeshPro's essential resources from **Window -> TextMeshPro -> Import TMP Essential Resources.** Only helpful if you want to use Text Palettes, not required either way.
1. Open the Package Manager from **Window -> Package Manager**
1. Click the **"+"** icon on the top left and select **Add package from git URL...**
1. Paste https://github.com/reshyl/gui-themes.git into the URL field and press enter
**Quickstart**
Nothing as of yet.
**Support**
I don't expect anyone to use this besides me but most of the code is still documented. If you do need any help, feel free to contact me on [Twitter](https://twitter.com/reshylDev).
**Third-Party Notices**
No third-party tools are used, or are required to run this package (Besides TextMeshPro).