[#18545] Add missing linear gradient to dark themed cards (#18689)

* Add missing linear gradient to cards dark themed cards
- Fix the `:ellipsis-mode` property
- Simplify code
This commit is contained in:
Ulises Manuel 2024-02-20 17:29:34 -06:00 committed by GitHub
parent c7aa10c789
commit 680bc33971
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3,17 +3,11 @@
(defn gradient-start-color
[theme customization-color]
(colors/theme-colors
(colors/resolve-color customization-color theme 0)
colors/neutral-95
theme))
(colors/resolve-color customization-color theme 0))
(defn gradient-end-color
[theme customization-color]
(colors/theme-colors
(colors/resolve-color customization-color theme 6)
colors/neutral-95
theme))
(colors/resolve-color customization-color theme 6))
(defn alert-icon-color
[theme]