getgrav / grav-premium-issues

Official Grav Premium Issues repository to report problems or ask questions regarding the Premium products offered.
https://getgrav.org/premium
7 stars 2 forks source link

[lightbox-gallery] Dark Mode Title #412

Open and-42 opened 4 months ago

and-42 commented 4 months ago

Hi, switching from Light-Mode to Dark-Mode in Typhoon makes the title of the pictures unreadable.

The screenshots show an example from the same picture selected in Light image and in Dark Mode. image

Is the any advice or workaround? Thanks in advance.

rhukster commented 4 months ago

I need some more info on this.. how is the title of the picture being set? is this figcaption or some such plugin? or is it Lightbox Gallery? or just some text in yoru content? Need more details.. cheers.

and-42 commented 4 months ago

You can find the pictures on your demo on https://demo.getgrav.org/typhoon/onepage/

Am 12.02.2024 um 19:22 schrieb Andy Miller @.***>:

I need some more info on this.. how is the title of the picture being set? is this figcaption or some such plugin? or is it Lightbox Gallery? or just some text in yoru content? Need more details.. cheers.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.

rhukster commented 4 months ago

Ok, requires a CSS fix, that in turn will require you to rebuild via tailwind:

in your custom/plugins.css file, locate the section for /* LIGHTBOX GALLERY PLUGIN */

add:

.glightbox-clean .gslide-title {
    @apply text-lg font-bold dark:!text-gray-100;
}

Recomple CSS (more info here: https://getgrav.org/premium/typhoon/docs#developing-custom-css

rhukster commented 4 months ago

This fix will be in next Typhoon release. Cheers.

and-42 commented 4 months ago

Thanks for the hint