diff --git a/docs/objects/Basalt/setTheme.md b/docs/objects/Basalt/setTheme.md index 2d8b58c..c187324 100644 --- a/docs/objects/Basalt/setTheme.md +++ b/docs/objects/Basalt/setTheme.md @@ -1,15 +1,20 @@ -## basalt.setTheme -Sets the base theme of the project! Make sure to cover all existing objects, otherwise it will result in errors. A good example is [theme](https://github.com/Pyroxenium/Basalt/blob/master/Basalt/theme.lua) -#### Parameters: +# basalt.setTheme + +Sets the base theme of the project! Make sure to cover all existing objects, otherwise it will result in errors. A good example is [theme](https://github.com/Pyroxenium/Basalt/blob/master/Basalt/theme.lua). The theme can also be gotten with [`basalt.getTheme()`](objects/Basalt/getTheme) + +## Parameters + 1. `table` theme layout look into [theme](https://github.com/Pyroxenium/Basalt/blob/master/Basalt/theme.lua) for a example -#### Usage: +## Usage + * Sets the default theme of basalt. + ```lua basalt.setTheme({ ButtonBG = colors.yellow, ButtonText = colors.red, ..., }) -``` \ No newline at end of file +```