Fixes #2100: this will fix the problem of text not visible in the modal when dark theme is set #2112

Merged
DSY4444 merged 3 commits from fix/issue-2100-dark-theme-does-not-allow-text-to-be-visible-in-modal into main 2025-04-22 21:06:52 +08:00
DSY4444 commented 2025-04-15 22:01:10 +08:00 (Migrated from github.com)

Added 'text-primary' inside the class, this will pick the appropriate system color based on theme

Added 'text-primary' inside the class, this will pick the appropriate system color based on theme
Shpigford commented 2025-04-16 23:38:29 +08:00 (Migrated from github.com)

Thanks so much, @DSY4444! Can you add a screenshot of the result of your changes? Helps us review/approve PRs much faster.

Thanks so much, @DSY4444! Can you add a screenshot of the result of your changes? Helps us review/approve PRs much faster.
DSY4444 commented 2025-04-21 13:47:01 +08:00 (Migrated from github.com)

sure, @Shpigford I'll add screenshots showing difference

sure, @Shpigford I'll add screenshots showing difference
DSY4444 commented 2025-04-21 13:47:58 +08:00 (Migrated from github.com)

before
Screenshot 2025-04-21 at 11 14 02 AM
Screenshot 2025-04-21 at 11 14 56 AM

before <img width="566" alt="Screenshot 2025-04-21 at 11 14 02 AM" src="https://github.com/user-attachments/assets/c321e6b8-3626-4edb-9d52-c0c2527798d9" /> <img width="483" alt="Screenshot 2025-04-21 at 11 14 56 AM" src="https://github.com/user-attachments/assets/de2e324d-b3cd-432b-bcfb-6f7c021b1e65" />
DSY4444 commented 2025-04-21 13:48:33 +08:00 (Migrated from github.com)

after

Screenshot 2025-04-21 at 11 15 25 AM Screenshot 2025-04-21 at 11 15 50 AM
after <img width="554" alt="Screenshot 2025-04-21 at 11 15 25 AM" src="https://github.com/user-attachments/assets/dcc4e217-cdda-4b39-b8df-47d2f3058b3c" /> <img width="483" alt="Screenshot 2025-04-21 at 11 15 50 AM" src="https://github.com/user-attachments/assets/ef9a1b4a-5de9-45bc-bedf-352f05a37baa" />
DSY4444 commented 2025-04-21 13:49:45 +08:00 (Migrated from github.com)

As you can see the visibility of text changes based on theme, earlier it was not the case.

As you can see the visibility of text changes based on theme, earlier it was not the case.
SolarWolf-Code commented 2025-04-27 14:14:57 +08:00 (Migrated from github.com)

image

image

@DSY4444 i think some of the elements are still applying the incorrect color

![image](https://github.com/user-attachments/assets/13a8cbce-f42a-474f-be25-9adad98b3613) ![image](https://github.com/user-attachments/assets/e3169851-9773-4132-8946-85c6dfe00ca2) @DSY4444 i think some of the elements are still applying the incorrect color
Sign in to join this conversation.