cleanup, improve ui
This commit is contained in:
Vendored
-1
@@ -126,7 +126,6 @@ main {
|
|||||||
}
|
}
|
||||||
[color]:not([color=standard])[selected].fill-color {
|
[color]:not([color=standard])[selected].fill-color {
|
||||||
color: var(--primary);
|
color: var(--primary);
|
||||||
background-color: var(--surface);
|
|
||||||
}
|
}
|
||||||
[color]:not([color=standard]).subtle-background {
|
[color]:not([color=standard]).subtle-background {
|
||||||
--luma: var(--subtle-luma);
|
--luma: var(--subtle-luma);
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ import StorageModel, { storageKeys } from "./storageModel";
|
|||||||
import ChatListModel from "./chatListModel";
|
import ChatListModel from "./chatListModel";
|
||||||
import { Color } from "../ViewModel/colors";
|
import { Color } from "../ViewModel/colors";
|
||||||
import ConnectionModel from "./connectionModel";
|
import ConnectionModel from "./connectionModel";
|
||||||
|
import { Message } from "udn-frontend";
|
||||||
import SettingsModel from "./settingsModel";
|
import SettingsModel from "./settingsModel";
|
||||||
import { checkIsValidObject } from "./Utility/typeSafety";
|
import { checkIsValidObject } from "./Utility/typeSafety";
|
||||||
import { createTimestamp } from "./Utility/utility";
|
import { createTimestamp } from "./Utility/utility";
|
||||||
|
|||||||
@@ -45,8 +45,6 @@ export default class ConnectionViewModel {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
messageHandler = (data: Message): void => {};
|
|
||||||
|
|
||||||
// methods
|
// methods
|
||||||
connect = (): void => {
|
connect = (): void => {
|
||||||
this.connectToAddress(this.serverAddressInput.value);
|
this.connectToAddress(this.serverAddressInput.value);
|
||||||
@@ -85,6 +83,5 @@ export default class ConnectionViewModel {
|
|||||||
this.updatePreviousAddresses();
|
this.updatePreviousAddresses();
|
||||||
|
|
||||||
connectionModel.setConnectionChangeHandler(this.connectionChangeHandler);
|
connectionModel.setConnectionChangeHandler(this.connectionChangeHandler);
|
||||||
connectionModel.setMessageHandler(this.messageHandler);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -56,7 +56,6 @@
|
|||||||
|
|
||||||
[color]:not([color="standard"])[selected].fill-color {
|
[color]:not([color="standard"])[selected].fill-color {
|
||||||
color: var(--primary);
|
color: var(--primary);
|
||||||
background-color: var(--surface);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* subtle */
|
/* subtle */
|
||||||
|
|||||||
Reference in New Issue
Block a user