menu
announcement

Spectrum is now read-only. Learn more about the decision in our official announcement.

Theia

Eclipse Theia - Cloud & Desktop IDE

Channels
Team

How to make the light theme the default for my users?

February 7, 2020 at 10:50pm

How to make the light theme the default for my users?

February 7, 2020 at 10:50pm
We currently only implemented the light theme for our webviews in Theia, but the default theme is dark. We'd like to change the default until we have a chance to properly style the dark theme. Currently, we recommend our users to manually switch to the light theme the first time they login for a better experience.
An advice on what contribution point I could use to change the default theme would be appreciated.
Thanks

February 9, 2020 at 8:27am
try to add this section in your browser app package.json
"theia": {
"frontend": {
"config": {
"defaultTheme": "light"
}
},
like-fill
3

February 10, 2020 at 4:13pm
Works like a charm! Thanks so much.