From 2933e1cffacf22f8a4e2796c939c7b1c454db5c5 Mon Sep 17 00:00:00 2001 From: SeaSide53 Date: Sat, 3 Jun 2023 19:49:31 +0200 Subject: [PATCH] Updated setTheme.md --- docs/objects/Basalt/setTheme.md | 4 ++-- docs/objects/Frame/setTheme.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/objects/Basalt/setTheme.md b/docs/objects/Basalt/setTheme.md index 085b853..58ebfe8 100644 --- a/docs/objects/Basalt/setTheme.md +++ b/docs/objects/Basalt/setTheme.md @@ -2,11 +2,11 @@ ### Description -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 retrieved with [`basalt.getTheme()`](objects/Basalt/getTheme) +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/plugins/themes.lua). The theme can also be retrieved with [`basalt.getTheme()`](objects/Basalt/getTheme) ### Parameters -1. `table` theme - A table containing the theme layout. Look into [theme](https://github.com/Pyroxenium/Basalt/blob/master/Basalt/theme.lua) for an example +1. `table` theme - A table containing the theme layout. Look into [theme](https://github.com/Pyroxenium/Basalt/blob/master/Basalt/plugins/themes.lua) for an example ### Usage diff --git a/docs/objects/Frame/setTheme.md b/docs/objects/Frame/setTheme.md index 43e9f67..70642e9 100644 --- a/docs/objects/Frame/setTheme.md +++ b/docs/objects/Frame/setTheme.md @@ -1,10 +1,10 @@ ## setTheme -Sets the default theme, of that frame children objects always try to get the theme of its parent frame, if it does not exist it goes to its parent parent frame, and so on until it reaches the basalt manager's theme - which is stored in theme.lua (Please checkout [theme](https://github.com/Pyroxenium/Basalt/blob/master/Basalt/theme.lua) for how it could look like. +Sets the default theme, of that frame children objects always try to get the theme of its parent frame, if it does not exist it goes to its parent parent frame, and so on until it reaches the basalt manager's theme - which is stored in theme.lua (Please checkout [theme](https://github.com/Pyroxenium/Basalt/blob/master/Basalt/plugins/themes.lua) for how it could look like. #### Parameters: -1. `table` theme layout look into [theme](https://github.com/Pyroxenium/Basalt/blob/master/Basalt/theme.lua) for a example +1. `table` theme layout look into [theme](https://github.com/Pyroxenium/Basalt/blob/master/Basalt/plugins/themes.lua) for a example #### Returns: