Remove unneeded backgrounds in intro-login stack

This commit is contained in:
Roman Volosovskyi 2019-02-25 16:28:36 +02:00
parent c491654eec
commit ac10166f98
No known key found for this signature in database
GPG Key ID: 0238A4B5ECEE70DE
6 changed files with 17 additions and 21 deletions

View File

@ -116,5 +116,4 @@
:bar-style "dark-content"})})
(defstyle view-default
(create-view-style {:background-color colors/white
:elevation elevation}))
(create-view-style {}))

View File

@ -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

View File

@ -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})

View File

@ -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

View File

@ -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

View File

@ -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