[💄] Make all apps use base color as background

This commit is contained in:
ThinLiquid 2023-10-18 16:10:32 +01:00
parent b774939e23
commit 1389f66809
No known key found for this signature in database
GPG key ID: D5085759953E6CAA
4 changed files with 7 additions and 0 deletions

View file

@ -25,6 +25,7 @@ export default class SettingsApp implements App {
win.content.style.flexDirection = 'column'
win.content.style.justifyContent = 'center'
win.content.style.alignItems = 'center'
win.content.style.background = 'var(--base)'
win.content.innerHTML = `
<div>
<h1 style="margin:0;">FlowOS</h1>

View file

@ -16,6 +16,7 @@ export default class MusicApp implements App {
height: 300
})
win.content.style.background = 'var(--base)'
win.content.innerHTML = 'hi'
return win

View file

@ -16,6 +16,7 @@ export default class SettingsApp implements App {
height: 300
})
win.content.style.background = 'var(--base)'
win.content.style.padding = '10px'
win.content.innerHTML = `
<h1>Settings</h1>

View file

@ -53,3 +53,7 @@ export interface FlowWindowConfig {
export interface Apps {
[key: string]: App
}
export interface LoadedApp extends App {
builtin: boolean
}