Files
Basalt/docs/objects/Basalt/setTheme.md

600 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,
    ...,
})