Changing studio theme with script

Hello, I want to know on how to change studio theme with scripts. I am currently creating a plugin and one of its features will be changing themes. How would I do that?


I did try with:
settings().Studio.Theme = settings().Studio.Theme.Light
or
settings().Studio.Theme = Enum.UITheme.Light


Thank you!

1 Like

Hi !
Here the answer :

local studioThemes = settings().Studio:GetAvailableThemes() 
settings().Studio.Theme = studioThemes[1] -- light mode
settings().Studio.Theme = studioThemes[2] -- dark mode

Where I found it : Is it possible to change the Studio theme using Command Bar/Plugin?
Have a nice day !

5 Likes

Don’t forget to mark it has solution if that helped you !

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.