fix: adjust selectors to designs (#14214)

This commit is contained in:
Jamie Caprani 2022-10-25 09:50:39 +01:00 committed by GitHub
parent 0ff6fb25f4
commit 14a5edb24b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 286 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 396 B

View File

@ -39,7 +39,7 @@
[rn/view {:style [rn/view {:style
{:height 20 {:height 20
:width 20}} :width 20}}
[icons/icon :main-icons2/check [icons/icon :main-icons2/check-small
{:size 20 {:size 20
:color (colors/theme-colors :color (colors/theme-colors
(colors/alpha colors/neutral-100 (if disabled? 0.3 1)) (colors/alpha colors/neutral-100 (if disabled? 0.3 1))
@ -53,8 +53,8 @@
[rn/view [rn/view
{:style (merge {:style (merge
container-style container-style
{:height 21 {:height 20
:width 21})} :width 20})}
[rn/view [rn/view
{:style {:flex 1 {:style {:flex 1
:border-radius 6 :border-radius 6
@ -72,9 +72,9 @@
[rn/view {:style [rn/view {:style
{:height 20 {:height 20
:width 20}} :width 20}}
[icons/icon :main-icons2/check [icons/icon :main-icons2/check-small
{:size 20 {:size 20
:color (colors/alpha colors/white (if disabled? 0.3 1))}]])]]]))) :color colors/white}]])]]])))
(defn radio [{:keys [default-checked?]}] (defn radio [{:keys [default-checked?]}]
(let [checked? (reagent/atom (or default-checked? false))] (let [checked? (reagent/atom (or default-checked? false))]