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

bug: New dialog implementation does not inherit text color. #2048

Closed
Jabronironi opened this issue Jun 23, 2023 · 2 comments
Closed

bug: New dialog implementation does not inherit text color. #2048

Jabronironi opened this issue Jun 23, 2023 · 2 comments

Comments

@Jabronironi
Copy link

What version of daisyUI are you using?

3.1.6

Describe your issue

Issue

I noticed that when using the new option for modals, the text colors are not matching the theme (for example dark theme - font is #FFFFFF - pulled from user agent canvas setting).

Work Around

I am adding a class to the dialog to set it to the proper text-base color.

What browsers are you seeing the problem on?

Edge

Reproduction URL (optional)

No response

@saadeghi
Copy link
Owner

saadeghi commented Jul 5, 2023

It does inherit the text color. I can't see the issue you mentioned.
Can you please provide an example on Tailwind Play or StackBlitz or a GitHub repo so I can see the issue?

@Jabronironi
Copy link
Author

Sure:

https://play.tailwindcss.com/XRzjj26wDI

You can see the text next to the button takes on the the data theme font color (which is not #FFF. However, within the dialog, that is not respected, and you get a stark white color.

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