1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-08-05 05:25:24 +02:00

Fix clean import dark mode styles

This commit is contained in:
Zach Gollwitzer 2025-05-02 08:15:12 -04:00
parent 0c79b335f1
commit adc5bf58d7
3 changed files with 6 additions and 6 deletions

View file

@ -46,11 +46,11 @@ module ImportsHelper
end
def cell_class(row, field)
base = "text-sm focus:ring-gray-900 focus:border-gray-900 w-full max-w-full disabled:text-subdued"
base = "bg-container text-sm focus:ring-gray-900 theme-dark:focus:ring-gray-100 focus:border-solid w-full max-w-full disabled:text-subdued"
row.valid? # populate errors
border = row.errors.key?(field) ? "border-red-500" : "border-transparent"
border = row.errors.key?(field) ? "border-destructive" : "border-transparent"
[ base, border ].join(" ")
end