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

[lightbox-gallery] Dark Mode Title #412

Open
and-42 opened this issue Feb 12, 2024 · 5 comments
Open

[lightbox-gallery] Dark Mode Title #412

and-42 opened this issue Feb 12, 2024 · 5 comments
Assignees
Labels
lightbox-gallery Lightbox Gallery plugin

Comments

@and-42
Copy link

and-42 commented Feb 12, 2024

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.

@and-42 and-42 added the lightbox-gallery Lightbox Gallery plugin label Feb 12, 2024
@rhukster
Copy link
Member

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
Copy link
Author

and-42 commented Feb 12, 2024 via email

@rhukster
Copy link
Member

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
Copy link
Member

This fix will be in next Typhoon release. Cheers.

@and-42
Copy link
Author

and-42 commented Feb 12, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lightbox-gallery Lightbox Gallery plugin
Projects
None yet
Development

No branches or pull requests

3 participants