mirror of
https://github.com/status-im/status-react.git
synced 2025-02-19 22:28:40 +00:00
[#10576] Change button "Sign with keycard" in dark mode
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
This commit is contained in:
parent
631339b314
commit
640dfa7da6
@ -41,7 +41,7 @@
|
|||||||
:padding-bottom 40})
|
:padding-bottom 40})
|
||||||
|
|
||||||
(defn sign-with-keycard-button [disabled?]
|
(defn sign-with-keycard-button [disabled?]
|
||||||
{:background-color colors/black-light
|
{:background-color (if (colors/dark?) "#27D8B9" colors/black-light)
|
||||||
:padding-top 2
|
:padding-top 2
|
||||||
:border-radius 8
|
:border-radius 8
|
||||||
:width 182
|
:width 182
|
||||||
@ -55,7 +55,7 @@
|
|||||||
(defn sign-with-keycard-button-text [disabled?]
|
(defn sign-with-keycard-button-text [disabled?]
|
||||||
{:padding-right 2
|
{:padding-right 2
|
||||||
:padding-left 16
|
:padding-left 16
|
||||||
:color (if disabled? colors/black colors/white)
|
:color (if disabled? colors/black colors/white-persist)
|
||||||
:padding-horizontal 16
|
:padding-horizontal 16
|
||||||
:padding-vertical 10})
|
:padding-vertical 10})
|
||||||
|
|
||||||
|
@ -115,9 +115,11 @@
|
|||||||
(i18n/label :t/sign-with)]
|
(i18n/label :t/sign-with)]
|
||||||
[react/view {:padding-right 16}
|
[react/view {:padding-right 16}
|
||||||
[react/image {:source (resources/get-image :keycard-logo)
|
[react/image {:source (resources/get-image :keycard-logo)
|
||||||
:style {:width 64
|
:style (merge {:width 64
|
||||||
:margin-bottom 7
|
:margin-bottom 7
|
||||||
:height 26}}]]]]))
|
:height 26}
|
||||||
|
(when (colors/dark?)
|
||||||
|
{:tint-color colors/white-persist}))}]]]]))
|
||||||
|
|
||||||
(defn- signing-phrase-view [phrase]
|
(defn- signing-phrase-view [phrase]
|
||||||
[react/view {:align-items :center}
|
[react/view {:align-items :center}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user