Files
Basalt/docs/docs1_6/objects/Basalt/setTheme.md
SeaSide53 84096eeca5 Updated links on the site not to point to 404. (#92)
* Updated setTheme.md

* Updated 1.6 setTheme.md

---------

Co-authored-by: SeaSide53 <https://github.com/SeaSide53>
2023-06-03 20:19:56 +02:00

668 B

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. The theme can also be gotten with basalt.getTheme()

Parameters

  1. table theme layout look into theme for a example

Usage

  • Sets the default theme of basalt.
basalt.setTheme({
    ButtonBG = colors.yellow,
    ButtonText = colors.red,
    ...,
})