Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undo link color on success notification #6173

Closed
jeroenvdmeer opened this issue Apr 16, 2021 · 2 comments · Fixed by #6189 or #6193
Closed

Undo link color on success notification #6173

jeroenvdmeer opened this issue Apr 16, 2021 · 2 comments · Fixed by #6189 or #6193

Comments

@jeroenvdmeer
Copy link

What you were expecting:
Using the new "success" notification type, the notification is turned green. The undo link is still the primary color of the theme, which by default is blue. I would expect the link color to match the green notification color, such as green 900 (#1b5e20).

What happened instead:
image

Steps to reproduce:
notify("resources.employee.updated", "success", {}, true)

Environment

  • React-admin version: 3.14.3
  • React version: 17.0.2
  • Browser: Chrome Version 90.0.4430.72 (Official Build) (64-bit)
@djhi
Copy link
Collaborator

djhi commented Apr 16, 2021

Thanks for reporting this

@fzaninotto
Copy link
Member

I've reverted #6189, so I'm reopening this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants