Pamac and "dark themes"

Pamac is a GTK program. Check your GTK theming.

System Settings > Application Style > Application Style > Configure GNOME/GTK Application Style (button at bottom)