mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2026-09-27 05:34:40 +01:00
Fix Lint errors in ThemeUtility (#477)
* Fix Lint errors in ThemeUtility * format ThemeUtility.ts file Co-authored-by: hardiknai <[email protected]> Co-authored-by: zen3-hardik <[email protected]>
This commit is contained in:
co-authored by
hardiknai
zen3-hardik
parent
1af44fb207
commit
9617b80b56
+11
-13
@@ -2,18 +2,16 @@
|
||||
* Copyright (C) Microsoft Corporation. All rights reserved.
|
||||
*----------------------------------------------------------*/
|
||||
|
||||
export default class ThemeUtility {
|
||||
public static 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";
|
||||
}
|
||||
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";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user