-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathapp.ls
More file actions
36 lines (36 loc) · 859 Bytes
/
app.ls
File metadata and controls
36 lines (36 loc) · 859 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
require! {
\mobx-react : { observer }
\mobx : { observable }
\react
\./pages.ls
\whitebox
\./description.ls
\./browser/window.ls
\./copy-message.ls
\./modal.ls : { modal-control }
\./get-primary-info.ls
}
.app
overflow-y: auto
@import scheme
background: $primary
height: 600px
position: relative
color: white
text-align: center
max-width: 400px
min-width: 300px
{ get-container } = whitebox
module.exports = ({ store, reload })->
return null if not store?
window <<<< { store }
current-page =
pages[store.current.page]
style =
background-color: get-primary-info(store).color
.pug
description store
.app.pug(key="content" style=style)
modal-control store
copy-message store
current-page { store }