[💄] Make all apps use base color as background
This commit is contained in:
parent
b774939e23
commit
1389f66809
4 changed files with 7 additions and 0 deletions
|
|
@ -25,6 +25,7 @@ export default class SettingsApp implements App {
|
||||||
win.content.style.flexDirection = 'column'
|
win.content.style.flexDirection = 'column'
|
||||||
win.content.style.justifyContent = 'center'
|
win.content.style.justifyContent = 'center'
|
||||||
win.content.style.alignItems = 'center'
|
win.content.style.alignItems = 'center'
|
||||||
|
win.content.style.background = 'var(--base)'
|
||||||
win.content.innerHTML = `
|
win.content.innerHTML = `
|
||||||
<div>
|
<div>
|
||||||
<h1 style="margin:0;">FlowOS</h1>
|
<h1 style="margin:0;">FlowOS</h1>
|
||||||
|
|
|
||||||
|
|
@ -16,6 +16,7 @@ export default class MusicApp implements App {
|
||||||
height: 300
|
height: 300
|
||||||
})
|
})
|
||||||
|
|
||||||
|
win.content.style.background = 'var(--base)'
|
||||||
win.content.innerHTML = 'hi'
|
win.content.innerHTML = 'hi'
|
||||||
|
|
||||||
return win
|
return win
|
||||||
|
|
|
||||||
|
|
@ -16,6 +16,7 @@ export default class SettingsApp implements App {
|
||||||
height: 300
|
height: 300
|
||||||
})
|
})
|
||||||
|
|
||||||
|
win.content.style.background = 'var(--base)'
|
||||||
win.content.style.padding = '10px'
|
win.content.style.padding = '10px'
|
||||||
win.content.innerHTML = `
|
win.content.innerHTML = `
|
||||||
<h1>Settings</h1>
|
<h1>Settings</h1>
|
||||||
|
|
|
||||||
|
|
@ -53,3 +53,7 @@ export interface FlowWindowConfig {
|
||||||
export interface Apps {
|
export interface Apps {
|
||||||
[key: string]: App
|
[key: string]: App
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export interface LoadedApp extends App {
|
||||||
|
builtin: boolean
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue