Skip to content

Commit 3462908

Browse files
authored
Bring back theme preference initialiser (codesandbox#3620)
1 parent a723e8e commit 3462908

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

packages/app/src/app/overmind/effects/vscode/initializers.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,12 @@ export function initializeSettings() {
5959
settings['typescript.autoClosingTags'] = false;
6060
settings['typescript.tsserver.useSeparateSyntaxServer'] = false;
6161

62+
if (!settings['workbench.colorTheme']) {
63+
// if you have not changed the theme ever,
64+
// we set codesandbox black as the theme for you
65+
settings['workbench.colorTheme'] = 'CodeSandbox Black';
66+
}
67+
6268
fs.writeFileSync(
6369
'/vscode/settings.json',
6470
JSON.stringify(settings, null, 2)

0 commit comments

Comments
 (0)