Skip to content

Commit

Permalink
Removing Chromium themes and adding settings description
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Liao committed Oct 29, 2020
1 parent dda501c commit d57723e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
9 changes: 3 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -186,19 +186,16 @@
},
"vscode-edge-devtools.themes": {
"type": "string",
"description": "Set the theme of the Microsoft Edge Tools extension (reload required after changing).",
"enum": [
"System preference",
"Light",
"Dark",
"Light (Chromium)",
"Dark (Chromium)"
"Dark"
],
"enumDescriptions": [
"Microsoft Edge Tools for VS Code will use the system preferred setting for themes",
"Microsoft Edge Tools for VS Code will use the Edge DevTools light theme",
"Microsoft Edge Tools for VS Code will use the Edge DevTools dark theme",
"Microsoft Edge Tools for VS Code will use the Chromium DevTools light theme",
"Microsoft Edge Tools for VS Code will use the Chromium DevTools dark theme"
"Microsoft Edge Tools for VS Code will use the Edge DevTools dark theme"
]
}
}
Expand Down
4 changes: 0 additions & 4 deletions src/host/polyfills/simpleView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -394,10 +394,6 @@ export function applyMainThemePatch(content: string) {
resolve('default');
case 'Dark':
resolve('dark');
case 'Light (Chromium)':
resolve('lightChromium');
case 'Dark (Chromium)':
resolve('darkChromium');
default:
resolve(null);
}
Expand Down

0 comments on commit d57723e

Please sign in to comment.