Desktop: the travewave house look (shared-resources design.html), switchable with Signal vibes
Preferences → Appearance → Style picks Signal vibes (the look so far) or travewave: house grays, embossed buttons and tiles, a debossed chat-name panel, 8 px framed lists, button-like scrollbars, Century Gothic for names and messages. Either way the window is now one rounded frameless tile with its own title bar (GNOME's button layout) and a menu bar shown by tapping Alt (Edit → Preferences…, Ctrl+,), tooltips drawn by the page with a "Show tooltips" preference, and Preferences laid out like VLC's (categories left, changes apply at once, Close).
This commit is contained in:
@@ -11,6 +11,15 @@ export interface AppState {
|
||||
gvoiceNumber?: string // set when Google Voice is connected
|
||||
}
|
||||
|
||||
// The window's frame, drawn by the page (design.html#window).
|
||||
export interface WindowState {
|
||||
square: boolean // maximized, fullscreen or tiled: no round corners
|
||||
maximized: boolean
|
||||
focused: boolean
|
||||
}
|
||||
|
||||
export type WindowAction = 'minimize' | 'maximize' | 'close' | 'quit' | 'zoomIn' | 'zoomOut' | 'zoomReset'
|
||||
|
||||
export interface RabbitStatus {
|
||||
adb: boolean // adb is installed
|
||||
bundledVersion?: string // the Android app this build carries
|
||||
@@ -31,6 +40,10 @@ export interface Api {
|
||||
saveSetup(creds: Credentials, settings: Settings): Promise<void>
|
||||
updateSettings(settings: Settings): Promise<void>
|
||||
setTheme(theme: Theme): Promise<void>
|
||||
windowState(): Promise<WindowState>
|
||||
onWindowState(cb: (s: WindowState) => void): () => void
|
||||
windowButtons(): Promise<string> // GNOME's button-layout
|
||||
windowControl(action: WindowAction): Promise<void>
|
||||
setIcon(icon: IconStyle): Promise<void>
|
||||
signOut(): Promise<void>
|
||||
connectGoogleVoice(): Promise<void>
|
||||
|
||||
@@ -123,6 +123,9 @@ export interface GvStatus {
|
||||
error?: string
|
||||
}
|
||||
|
||||
// 'signal': Signal Desktop vibes; 'trave': the house look (shared-resources/design.html).
|
||||
export type Look = 'signal' | 'trave'
|
||||
|
||||
export interface Settings {
|
||||
pollSeconds: number
|
||||
dids: string[] // DIDs to sync; empty = all SMS-enabled
|
||||
@@ -132,6 +135,9 @@ export interface Settings {
|
||||
icon?: IconStyle // absent = dark
|
||||
notifications: boolean // new messages go to the notification list
|
||||
contactBook?: string // where "Add to contacts" puts them; default: GNOME Contacts' default
|
||||
look?: Look // absent = travewave
|
||||
hideMenuBar?: boolean // until Alt is tapped (design.html#menubar); absent = hidden
|
||||
showTooltips?: boolean // design.html#tooltips; absent = shown
|
||||
}
|
||||
|
||||
export interface Credentials {
|
||||
|
||||
Reference in New Issue
Block a user