From 27321380aede846c8e284def0edc208fe77d61a5 Mon Sep 17 00:00:00 2001 From: Erb3 <49862976+Erb3@users.noreply.github.com> Date: Thu, 15 Sep 2022 15:05:42 +0200 Subject: [PATCH] Docs: Finish Basalt.getTheme.md --- docs/objects/Basalt/getTheme.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/objects/Basalt/getTheme.md b/docs/objects/Basalt/getTheme.md index 154ade3..c80f729 100644 --- a/docs/objects/Basalt/getTheme.md +++ b/docs/objects/Basalt/getTheme.md @@ -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