Docs: Finish Basalt.getTheme.md

This commit is contained in:
Erb3
2022-09-15 15:05:42 +02:00
parent bf9f01aae7
commit 27321380ae

View File

@@ -1,17 +1,17 @@
# basalt.getTheme # basalt.getTheme
Returns the current theme. Returns the current base-theme. This base-theme can be set using setTheme.md.
A list of base-theme keys can be found [here](https://github.com/Pyroxenium/Basalt/blob/master/Basalt/theme.lua).
## Returns ## Returns
1. `theme` The current theme 1. `number` The color of the requested base-theme key.
## Usage ## Usage
* Displays the current theme in the debug console * Displays the color of the main background in the debug console
```lua ```lua
basalt.debug(basalt.getTheme()) basalt.debug(basalt.getTheme("BasaltBG"))
``` ```
TODO basalt.getTheme documentation