Hey is a decentralized and permissionless social media app built with Lens Protocol 🌿

chore: Remove getToastOptions helper as part of migration to sonner

Yoginth edc83f4b 0b212ed7

-23
-23
apps/web/src/helpers/getToastOptions.ts
··· 1 - const getToastOptions = (theme?: string) => ({ 2 - error: { 3 - className: "border border-red-500", 4 - iconTheme: { 5 - primary: "#EF4444", 6 - secondary: "white" 7 - } 8 - }, 9 - loading: { className: "border border-gray-300" }, 10 - style: { 11 - background: theme === "dark" ? "#18181B" : "", 12 - color: theme === "dark" ? "#fff" : "" 13 - }, 14 - success: { 15 - className: "border border-emerald-500", 16 - iconTheme: { 17 - primary: "#10B981", 18 - secondary: "white" 19 - } 20 - } 21 - }); 22 - 23 - export default getToastOptions;