fix(component): avoid close button of the notification being invisible in dark mode and bright bg (#6946)