style(toast): warning toast uses the /90 opacity variant
Release / build-and-push (push) Successful in 3m6s

Matches the error/success/info entries visually. bg-yellow-500/90 is
generated by the Tailwind scanner from this file itself (content globs
include web/src/**/*.ts), same as the sibling bg-*-500/90 classes — no
safelist entry needed.
This commit is contained in:
John O'Keefe committed 2026-10-21 14:46:26 -04:00
1 parent d7d1495753
commit 86c4940426
2 files changed
+2 -4

No files matched your search

+1 -3
View File
@@ -40,9 +40,7 @@ const getToastConfig = (type: ToastType) => {
icon: "ℹ️",
},
warning: {
// bg-yellow-500 (no opacity modifier): it must already appear in the
// templates for the Tailwind build to emit the class.
bgClass: "bg-yellow-500",
bgClass: "bg-yellow-500/90",
icon: "⚠️",
},
};