Skip to content

Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.

💄 Keep the empty state icon white in light mode (#3422)

Luke Vellae5dc7d48c791
diff --git a/apps/web/src/components/empty-state.tsx b/apps/web/src/components/empty-state.tsx
index f2b3bdaec..85c319bd4 100644
--- a/apps/web/src/components/empty-state.tsx
+++ b/apps/web/src/components/empty-state.tsx
@@ -22,9 +22,9 @@ export function EmptyState({
export function EmptyStateIcon({ children }: { children: React.ReactNode }) {
return (
<div className="relative mb-4 inline-block">
- <div className="absolute top-0 right-0 bottom-2 -left-1.5 origin-bottom -rotate-12 scale-95 rounded-xl bg-card opacity-75 shadow-xs ring-1 ring-button-outline ring-inset" />
- <div className="absolute top-0 -right-1.5 bottom-2 left-0 origin-bottom rotate-12 scale-95 rounded-xl bg-card opacity-75 shadow-xs ring-1 ring-button-outline ring-inset" />
- <div className="relative inline-flex rounded-xl bg-card p-3 shadow-xs ring-1 ring-button-outline ring-inset [&_svg]:size-5 [&_svg]:shrink-0 [&_svg]:text-muted-foreground">
+ <div className="absolute top-0 right-0 bottom-2 -left-1.5 origin-bottom -rotate-12 scale-95 rounded-xl bg-white opacity-75 shadow-xs ring-1 ring-button-outline ring-inset dark:bg-card" />
+ <div className="absolute top-0 -right-1.5 bottom-2 left-0 origin-bottom rotate-12 scale-95 rounded-xl bg-white opacity-75 shadow-xs ring-1 ring-button-outline ring-inset dark:bg-card" />
+ <div className="relative inline-flex rounded-xl bg-white p-3 shadow-xs ring-1 ring-button-outline ring-inset dark:bg-card [&_svg]:size-5 [&_svg]:shrink-0 [&_svg]:text-muted-foreground">
{children}
</div>
</div>