Skip to content

Commit 3653b80

Browse files
committed
chore: update token tag per design review
1 parent 8701797 commit 3653b80

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

src/quo2/components/tag.cljs

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
(if (= size :big) big-option small-option))
1212

1313
(defn tag-container [size border-color]
14-
(merge {:height (if border-color (get-value-from-size size 33 25) (get-value-from-size size 32 24))
14+
(merge {:height (if border-color (get-value-from-size size 34 26) (get-value-from-size size 32 24))
1515
:align-items :center
1616
:flex-direction :row
1717
:left 0

src/quo2/components/token_tag.cljs

+4-3
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
:right (get-value-from-size size -3 -5)
4545
:bottom (get-value-from-size size (- 32 7 (if is-required 5 4)) (- 24 7 (if is-required 4 2))) ; (- height (icon-height/2) spacing)
4646
})}
47-
[icons/icon (if is-required :main-icons2/required-checkmark12 :main-icons2/purchasable12) {:no-color true
48-
:width (if is-required 6 12)
49-
:height (if is-required 6 12)}]])}]))
47+
[icons/icon (if is-required :main-icons2/required-checkmark12 :main-icons2/purchasable12) (merge {:no-color true
48+
:width (if is-required 7 12)
49+
:height (if is-required 6 12)}
50+
(when is-required {:container-style {:margin-right 1}}))]])}]))

src/quo2/foundations/colors.cljs

-2
Original file line numberDiff line numberDiff line change
@@ -260,5 +260,3 @@
260260

261261
(defn theme-colors [light dark]
262262
(if (theme/dark?) dark light))
263-
264-
;;;;Customisation

0 commit comments

Comments
 (0)