-
Notifications
You must be signed in to change notification settings - Fork 992
/
Copy pathstyle.cljs
41 lines (36 loc) · 1.1 KB
/
style.cljs
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
37
38
39
40
41
(ns quo.components.wallet.summary-info.style
(:require
[quo.foundations.colors :as colors]))
(defn container
[networks? theme]
{:width "100%"
:height (if networks? 90 56)
:border-radius 16
:border-width 1
:border-color (colors/theme-colors colors/neutral-10 colors/neutral-80 theme)
:margin-bottom (if networks? 4 8)})
(def info-container
{:flex-direction :row
:height 55
:padding-horizontal 12
:align-items :center})
(defn dot-divider
[theme]
{:width 2
:height 2
:border-radius 2
:margin-horizontal 8
:background-color (colors/theme-colors colors/neutral-50
colors/neutral-60
theme)})
(defn line-divider
[theme]
{:width "100%"
:height 1
:background-color (colors/theme-colors colors/neutral-10 colors/neutral-80 theme)})
(def networks-container
{:padding-horizontal 12
:padding-vertical 4
:height 32
:flex-direction :row
:align-items :center})