/** * Copyright (c) 2020-present, Goldman Sachs * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ import type { editor as monacoEditorAPI } from 'monaco-editor'; export declare enum CODE_EDITOR_THEME { DEFAULT_DARK = "default-dark", GITHUB_LIGHT = "github-light", GITHUB_DARK = "github-dark", GITHUB_DARK_DIMMED = "github-dark-dimmed", SOLARIZED_DARK = "solarized-dark", ONE_DARK_PRO = "one-dark-pro", ONE_DARK_PRO_DARKER = "one-dark-pro-darker", MATERIAL_DEFAULT = "material-default", MATERIAL_DARKER = "material-darker", BUILT_IN__VSCODE_LIGHT = "vs", BUILT_IN__VSCODE_DARK = "vs-dark", BUILT_IN__VSCODE_HC_BLACK = "hc-black", BUILT_IN__VSCODE_HC_LIGHT = "hc-light" } /** * Pick the Monaco code-editor theme matching the active application theme. * * Use this everywhere a Monaco editor is created so the editor's syntax * highlighting follows the app's light/dark theme. Driven by the boolean * from `layoutService.TEMPORARY__isLightColorThemeEnabled` (or any other * "is light" signal); intentionally narrow to keep the mapping decision in * one place — if we add more code-editor light themes later, only this * helper needs to change. */ export declare const getCodeEditorThemeForAppTheme: (isLightTheme: boolean) => CODE_EDITOR_THEME; export declare const DEFAULT_DARK_THEME: monacoEditorAPI.IStandaloneThemeData; export declare const SOLARIZED_DARK_THEME: monacoEditorAPI.IStandaloneThemeData; export declare const GITHUB_DARK_THEME: monacoEditorAPI.IStandaloneThemeData; export declare const GITHUB_LIGHT_THEME: monacoEditorAPI.IStandaloneThemeData; export declare const GITHUB_DARK_DIMMED_THEME: monacoEditorAPI.IStandaloneThemeData; export declare const MATERIAL_DEFAULT_THEME: monacoEditorAPI.IStandaloneThemeData; export declare const MATERIAL_DARKER_THEME: monacoEditorAPI.IStandaloneThemeData; export declare const ONE_DARK_PRO_THEME: monacoEditorAPI.IStandaloneThemeData; export declare const ONE_DARK_PRO_DARKER_THEME: monacoEditorAPI.IStandaloneThemeData; //# sourceMappingURL=CodeEditorTheme.d.ts.map