mirror of
https://github.com/status-im/status-mobile.git
synced 2025-01-13 10:16:01 +00:00
Remove unneeded backgrounds in intro-login stack
This commit is contained in:
parent
c491654eec
commit
ac10166f98
@ -116,5 +116,4 @@
|
||||
:bar-style "dark-content"})})
|
||||
|
||||
(defstyle view-default
|
||||
(create-view-style {:background-color colors/white
|
||||
:elevation elevation}))
|
||||
(create-view-style {}))
|
||||
|
@ -2,22 +2,23 @@
|
||||
(:require-macros [status-im.utils.styles :refer [defstyle defnstyle]])
|
||||
(:require [status-im.ui.components.colors :as colors]))
|
||||
|
||||
(def toolbar-background colors/white)
|
||||
|
||||
(def toolbar-height 56)
|
||||
(def toolbar-icon-width 24)
|
||||
(def toolbar-icon-height 24)
|
||||
(def toolbar-icon-spacing 24)
|
||||
|
||||
(defnstyle toolbar [background-color flat?]
|
||||
{:flex 0
|
||||
:flex-direction :row
|
||||
:align-items :center
|
||||
:justify-content :space-between
|
||||
:background-color (or background-color toolbar-background)
|
||||
:elevation (if flat? 0 2)
|
||||
:android {:height 55}
|
||||
:ios {:height 56}})
|
||||
(cond->
|
||||
{:flex 0
|
||||
:flex-direction :row
|
||||
:align-items :center
|
||||
:justify-content :space-between
|
||||
:elevation (if flat? 0 2)
|
||||
:android {:height 55}
|
||||
:ios {:height 56}}
|
||||
|
||||
background-color
|
||||
(assoc :background-color background-color)))
|
||||
|
||||
(def toolbar-nav-actions-container
|
||||
{:flex-direction :row
|
||||
|
@ -3,8 +3,7 @@
|
||||
(:require [status-im.ui.components.colors :as colors]))
|
||||
|
||||
(def create-account-view
|
||||
{:flex 1
|
||||
:background-color colors/white})
|
||||
{:flex 1})
|
||||
|
||||
(def account-creating-view
|
||||
{:flex 1
|
||||
@ -58,4 +57,4 @@
|
||||
(def bottom-container
|
||||
{:flex-direction :row
|
||||
:margin-horizontal 12
|
||||
:margin-vertical 15})
|
||||
:margin-vertical 15})
|
||||
|
@ -3,8 +3,7 @@
|
||||
(:require [status-im.ui.components.colors :as colors]))
|
||||
|
||||
(def screen-container
|
||||
{:flex 1
|
||||
:background-color colors/white})
|
||||
{:flex 1})
|
||||
|
||||
(defstyle inputs-container
|
||||
{:margin 16
|
||||
|
@ -4,8 +4,7 @@
|
||||
[status-im.ui.components.colors :as colors]))
|
||||
|
||||
(def accounts-view
|
||||
{:flex 1
|
||||
:background-color colors/white})
|
||||
{:flex 1})
|
||||
|
||||
(def accounts-container
|
||||
{:flex 1
|
||||
|
@ -4,8 +4,7 @@
|
||||
|
||||
(def intro-view
|
||||
{:flex 1
|
||||
:padding-horizontal 30
|
||||
:background-color colors/white})
|
||||
:padding-horizontal 30})
|
||||
|
||||
(def intro-logo-container
|
||||
{:flex 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user