Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

Button variant 'icon' - set background to transparent

Blue Mouseeb4c54692277
diff --git a/web/app/ui/Button.tsx b/web/app/ui/Button.tsx
index 01f83c5fc..07d533af3 100644
--- a/web/app/ui/Button.tsx
+++ b/web/app/ui/Button.tsx
@@ -74,7 +74,7 @@ const BUTTON_VARIANT_CLASSES: Record<ButtonVariant, string> = {
'border-transparent bg-red-500 text-gray-50 shadow-xs hover:bg-red-600 dark:bg-red-600 dark:hover:bg-red-500',
'danger-outline':
'border-red-500 text-red-600 hover:bg-red-50 dark:border-red-400/70 dark:text-red-400 dark:hover:bg-red-500/15',
- icon: 'border-transparent bg-gray-50 p-2 text-sm text-gray-700 hover:border-gray-300 hover:bg-white dark:bg-slate-950 dark:text-gray-200 dark:hover:border-slate-700/80 dark:hover:bg-slate-900',
+ icon: 'border-transparent bg-transparent p-2 text-sm text-gray-700 hover:border-gray-300 hover:bg-white dark:text-gray-200 dark:hover:border-slate-700/80 dark:hover:bg-slate-900',
}
const BUTTON_SIZE_CLASSES: Record<ButtonSize, string> = {