Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
OmarBasem committed Dec 14, 2022
1 parent 306a87c commit a7e883d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/quo2/foundations/colors.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@
(defn custom-hex-color [color light-opacity dark-opacity]
(str color (opacity->hex (if (theme/dark?) dark-opacity light-opacity))))

;; TODO (OmarBasem): custom-color-by-theme supports only string colors, so maybe we can get rid of it.
(defn custom-color-by-theme
"(custom-color-by-theme color suffix-light suffix-dark opacity-light opacity-dark)
color :primary/:purple/...
Expand Down

0 comments on commit a7e883d

Please sign in to comment.