Docs update, mostly Basalt, Sidebar and Footer. #28

Merged
piprett merged 30 commits from master into master 2022-09-17 21:04:41 +08:00
Showing only changes of commit 27321380ae - Show all commits

View File

@@ -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