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

Fix image caption text contrast #63

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

guidorota
Copy link

This commit changes the colour of caption text to Base Light to provide more contrast with the dark background.

This commit changes the colour of caption text to Base Light to provide
more contrast with the dark background.
Copy link

netlify bot commented Oct 25, 2024

Deploy Preview for eleventy-excellent ready!

Name Link
🔨 Latest commit 465e6e2
🔍 Latest deploy log https://app.netlify.com/sites/eleventy-excellent/deploys/671b75068825e000083bcefb
😎 Deploy Preview https://deploy-preview-63--eleventy-excellent.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@guidorota
Copy link
Author

Hi @madrilene , I recently started using your template and noticed that image captions don't have enough contrast with the backdrop when maximized.

I fixed the issue in my website and wanted to contribute back here.

@madrilene
Copy link
Owner

Ah ok, I'll look into that! We have to modify that still, as now the caption disappears in light mode on regular images.

@guidorota
Copy link
Author

@madrilene could you point me to a page where I can reproduce the text disappearing in light mode? I tried to search for it but couldn't find one, even in light mode it seems that the backdrop is always dark enough to go well with --color-base-light.

@madrilene
Copy link
Owner

Sure! The regular caption is here (not within a dialog)

image

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

Successfully merging this pull request may close these issues.

2 participants