Skip to content

Commit

Permalink
fix: improve the exports of models (#507)
Browse files Browse the repository at this point in the history
* fix: improve the exports of models

* fix: improve the variables exported by molecule
  • Loading branch information
mortalYoung authored Nov 11, 2021
1 parent 00e8f7b commit 4b7ab03
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
9 changes: 1 addition & 8 deletions src/molecule.api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,7 @@ export * as i18n from 'mo/i18n';
export * from 'mo/workbench';
export * from 'mo/services';

export {
IExtension,
IColorTheme,
ISettings,
IColors,
TokenColor,
ColorScheme,
} from 'mo/model';
export * as models from 'mo/model';

import {
ILayoutService,
Expand Down
6 changes: 6 additions & 0 deletions src/services/theme/colorThemeService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,18 @@ export interface IColorThemeService {
reset(): void;
}

/**
* @ignore
*/
export const BuiltInColorTheme: IColorTheme = {
id: 'Default Dark+',
name: 'Default Dark+',
label: 'Default Dark+',
uiTheme: 'vs-dark',
};
/**
* @ignore
*/
export const DEFAULT_THEME_CLASS_NAME = prefixClaName('customize-theme');

@singleton()
Expand Down

0 comments on commit 4b7ab03

Please sign in to comment.