Docs: Finish Basalt.getTheme.md
This commit is contained in:
@@ -1,17 +1,17 @@
|
||||
|
||||
# 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
|
||||
|
||||
1. `theme` The current theme
|
||||
1. `number` The color of the requested base-theme key.
|
||||
|
||||
## Usage
|
||||
|
||||
* Displays the current theme in the debug console
|
||||
* Displays the color of the main background in the debug console
|
||||
|
||||
```lua
|
||||
basalt.debug(basalt.getTheme())
|
||||
basalt.debug(basalt.getTheme("BasaltBG"))
|
||||
```
|
||||
|
||||
TODO basalt.getTheme documentation
|
||||
|
||||
Reference in New Issue
Block a user