Replies: 1 comment
-
There is a known bug unfortunately: #6999 Which is not easy to fix. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I have the below configuration in my package.json:
"config": { "applicationName": "My Application", "defaultTheme": "one-dark-pro-monokai-darker", "preferences": { "workbench.colorTheme": "one-dark-pro-monokai-darker" } }
So, 'one-dark-pro-monokai-darker' is a vs code theme which I'd like to set as my default theme.
I have a theia extension in which I have registered it as part of
FrontendApplicationContribution
, like this:MonacoThemingService.register({ id: "one-dark-pro-monokai-darker", label: "One Dark Pro Monokai Darker Theme", json: OneDarkProMonokaiDarkerColorTheme });
But, when I load my application for the first time, the dark theme, which happens to be the fallback theme is always shown, and on subsequent reloads, the One Dark Pro Monokai Darker Theme is set. What's happening and how could I resolve this? Is there any workaround or something by which I can reset the application theme after it has reached the ready state or something?
Beta Was this translation helpful? Give feedback.
All reactions