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:
parent
e0e4415040
commit
2197e5e53d
@ -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({
|
||||||
|
|||||||
@ -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;
|
||||||
|
|||||||
@ -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() {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user