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

Theme Fix: Error Messages Not Following Dark Theme #72

Open
joaoflaviosantos opened this issue Jul 4, 2024 · 1 comment
Open

Theme Fix: Error Messages Not Following Dark Theme #72

joaoflaviosantos opened this issue Jul 4, 2024 · 1 comment

Comments

@joaoflaviosantos
Copy link

Hello @d3george,

Firstly, I want to commend you on the excellent work with this template; it has been incredibly valuable to me!

I need your assistance to address a visual bug where error messages do not adhere to the dark theme:

image

There are two instances where this occurs, as listed below, and they do not adjust to the dark theme when it is applied:

src\components\upload\utils.ts

  if (!isJpgOrPng) {
    message.error('You can only upload JPG/PNG file!');
  }

src\api\apiClient.ts

    const errMsg = response?.data?.message || message || t('sys.api.errorMessage');
    Message.error(errMsg);

Thank you in advance for your help!

Best regards,

João Flavio Santos

@d3george
Copy link
Owner

d3george commented Jul 7, 2024

Thank you for your report. I will fix it in the next version

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

No branches or pull requests

2 participants