[#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})
|
||||
|
||||
(defn sign-with-keycard-button [disabled?]
|
||||
{:background-color colors/black-light
|
||||
{:background-color (if (colors/dark?) "#27D8B9" colors/black-light)
|
||||
:padding-top 2
|
||||
:border-radius 8
|
||||
:width 182
|
||||
|
@ -55,7 +55,7 @@
|
|||
(defn sign-with-keycard-button-text [disabled?]
|
||||
{:padding-right 2
|
||||
:padding-left 16
|
||||
:color (if disabled? colors/black colors/white)
|
||||
:color (if disabled? colors/black colors/white-persist)
|
||||
:padding-horizontal 16
|
||||
:padding-vertical 10})
|
||||
|
||||
|
|
|
@ -115,9 +115,11 @@
|
|||
(i18n/label :t/sign-with)]
|
||||
[react/view {:padding-right 16}
|
||||
[react/image {:source (resources/get-image :keycard-logo)
|
||||
:style {:width 64
|
||||
:margin-bottom 7
|
||||
:height 26}}]]]]))
|
||||
:style (merge {:width 64
|
||||
:margin-bottom 7
|
||||
:height 26}
|
||||
(when (colors/dark?)
|
||||
{:tint-color colors/white-persist}))}]]]]))
|
||||
|
||||
(defn- signing-phrase-view [phrase]
|
||||
[react/view {:align-items :center}
|
||||
|
|
Loading…
Reference in New Issue