mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-03-27 12:10:09 +00:00
* Fix Lint errors in ThemeUtility * format ThemeUtility.ts file Co-authored-by: hardiknai <hardiknai92@gmail.com> Co-authored-by: zen3-hardik <hardikkumar.n@zen3tech.com>
18 lines
446 B
TypeScript
18 lines
446 B
TypeScript
/*!---------------------------------------------------------
|
|
* Copyright (C) Microsoft Corporation. All rights reserved.
|
|
*----------------------------------------------------------*/
|
|
|
|
export function getMonacoTheme(theme: string): string {
|
|
switch (theme) {
|
|
case "default":
|
|
case "hc-white":
|
|
return "vs";
|
|
case "dark":
|
|
return "vs-dark";
|
|
case "hc-black":
|
|
return "hc-black";
|
|
default:
|
|
return "vs";
|
|
}
|
|
}
|