1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Renaming theme .json files (#1256)

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev 2020-11-06 15:30:55 +03:00 committed by GitHub
parent e0e4415040
commit 2197e5e53d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 3 additions and 4 deletions

View File

@ -31,7 +31,7 @@ export interface UserPreferences {
} }
export class UserStore extends BaseStore<UserStoreModel> { export class UserStore extends BaseStore<UserStoreModel> {
static readonly defaultTheme: ThemeId = "kontena-dark" static readonly defaultTheme: ThemeId = "lens-dark"
private constructor() { private constructor() {
super({ super({

View File

@ -178,7 +178,6 @@ export class Terminal {
break; break;
// Ctrl+W: prevent unexpected terminal tab closing, e.g. editing file in vim // Ctrl+W: prevent unexpected terminal tab closing, e.g. editing file in vim
// https://github.com/kontena/lens-app/issues/156#issuecomment-534906480
case "KeyW": case "KeyW":
evt.preventDefault(); evt.preventDefault();
break; break;

View File

@ -25,8 +25,8 @@ export class ThemeStore {
// bundled themes from `themes/${themeId}.json` // bundled themes from `themes/${themeId}.json`
@observable themes: Theme[] = [ @observable themes: Theme[] = [
{ id: "kontena-dark", type: ThemeType.DARK }, { id: "lens-dark", type: ThemeType.DARK },
{ id: "kontena-light", type: ThemeType.LIGHT }, { id: "lens-light", type: ThemeType.LIGHT },
]; ];
@computed get activeThemeId() { @computed get activeThemeId() {