progress on invoices.
This commit is contained in:
@@ -17,25 +17,31 @@
|
||||
(nil? color)
|
||||
"white"
|
||||
|
||||
(sequential? color)
|
||||
(first color)
|
||||
|
||||
:else
|
||||
color)
|
||||
base-weight (or (when (sequential? color)
|
||||
(second color))
|
||||
500)
|
||||
disabled-weight (when disabled 400)]
|
||||
|
||||
(format " bg-%s-%d hover:bg-%s-%d focus:ring-%s-%d dark:bg-%s-%d dark:hover:bg-%s-%d "
|
||||
base-color
|
||||
(or disabled-weight 500)
|
||||
(or disabled-weight (+ base-weight 0))
|
||||
|
||||
base-color
|
||||
(or disabled-weight 600)
|
||||
(or disabled-weight (+ base-weight 100))
|
||||
|
||||
base-color
|
||||
(or disabled-weight 200)
|
||||
(or disabled-weight (int (* base-weight 0.5)))
|
||||
|
||||
base-color
|
||||
(or disabled-weight 600)
|
||||
(or disabled-weight (+ base-weight 100))
|
||||
|
||||
base-color
|
||||
(or disabled-weight 700)
|
||||
(or disabled-weight (+ base-weight 200))
|
||||
|
||||
)))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user