Renaming theme .json files (#1256)

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev authored and GitHub committed 2020-11-06 15:30:55 +03:00
1 parent e0e4415040
commit 2197e5e53d
5 files changed
+3 -4

No files matched your search

+1 -1
View File
@@ -31,7 +31,7 @@ export interface UserPreferences {
}
export class UserStore extends BaseStore<UserStoreModel> {
static readonly defaultTheme: ThemeId = "kontena-dark"
static readonly defaultTheme: ThemeId = "lens-dark"
private constructor() {
super({
-1
View File
@@ -178,7 +178,6 @@ export class Terminal {
break;
// 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":
evt.preventDefault();
break;
+2 -2
View File
@@ -25,8 +25,8 @@ export class ThemeStore {
// bundled themes from `themes/${themeId}.json`
@observable themes: Theme[] = [
{ id: "kontena-dark", type: ThemeType.DARK },
{ id: "kontena-light", type: ThemeType.LIGHT },
{ id: "lens-dark", type: ThemeType.DARK },
{ id: "lens-light", type: ThemeType.LIGHT },
];
@computed get activeThemeId() {
File renamed without changes.
File renamed without changes.