Theme
Using this feature you can change your prebuilt SDK theme to either DARK
or LIGHT
.
Theme attributes
theme
: You can settheme
attribute to eitherDARK
,LIGHT
orDEFAULT
, by default theme is set toDEFAULT
.
How it works ?
- When you set the value of
theme
parameter toDARK
your prebuilt theme switches to a dark theme.
- When you set the value of
theme
parameter toLIGHT
your prebuilt theme switches to a light theme.
index.html
const config = {
// ...
theme: "DARK", // DARK || LIGHT || DEFAULT
// ...
};
Got a Question? Ask us on discord