On dark theme, the active state on certain buttons (mostly visible with keyboard navigation, only transient when using mouse/touch) is dark purple on dark background and harsh to the eyes:
![]()
Red hover state as well:
![]()
But the worst is the “danger” button with a red background and dark text:

Perhaps simply tweaking the red value/brightness would fix the 2nd and 3rd points.