Issue: Image caption text on a dark background gets even darker.
Light theme:
The dark theme I was trying to read:
The text color is not changing light by theme for this HTML element:
<figcaption class="mt-3 text-sm text-gray-600 dark:text-gray-400"><p>Caption text.</p></figcaption>
..where dark:text-gray-900 would be more appropriate.
A gray text style rule as placed in the class is being applied by the dark style in https://developers.openai.com/_astro/PageLayout.D8pYrHWP.css and there is no automatic inversion there.
@layer utilities {
.dark\:text-gray-400:where([data-theme="dark"], [data-theme="dark"] *) {
color: var(--color-gray-400);
}
}
_j:
Issue: Image caption text on a dark background gets even darker.
Light theme:
The dark theme I was trying to read:
The text color is not changing light by theme for this HTML element:
<figcaption class="mt-3 text-sm text-gray-600 dark:text-gray-400"><p>Caption text.</p></figcaption>..where
dark:text-gray-900would be more appropriate.A gray text style rule as placed in the class is being applied by the dark style in
https://developers.openai.com/_astro/PageLayout.D8pYrHWP.cssand there is no automatic inversion there.@layer utilities { .dark\:text-gray-400:where([data-theme="dark"], [data-theme="dark"] *) { color: var(--color-gray-400); } }
Yeah, this looks like a theme class issue rather than an image problem. dark:text-gray-400 is still explicitly applying a gray color in dark mode, so the caption stays too dark. Switching it to dark:text-gray-900 or a lighter theme-specific token should fix the contrast.
Thank you for that helpful insight, rewriting what I just wrote.
Perhaps the reason for joining and posting an AI output of low value within 5 minutes was not merely because this answer needed to be answered again and was worthy of making a new forum account in order to answer, but because you have many other automated AI generated posts to make - that represent themselves as human - to challenge the moderators to quickly ban an account for violations of the terms and conditions?