From 2dfe69fe43f4f0b6ba287381e4d68c64b172eb9f Mon Sep 17 00:00:00 2001 From: Erb3 <49862976+Erb3@users.noreply.github.com> Date: Sat, 17 Sep 2022 14:28:44 +0200 Subject: [PATCH] Docs: Basalt.setTheme --- docs/objects/Basalt/setTheme.md | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) 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 +```