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

Investigate how to switch images between light and dark mode #2889

Open
GCHQ-Developer-530 opened this issue Dec 11, 2024 · 0 comments
Open
Labels
spike This issue needs to be researched and explored before determining a course of action

Comments

@GCHQ-Developer-530
Copy link
Contributor

Summary of the bug

Without loading them all in Gatsby, we need a way of loading the light and dark mode versions of images e.g. for the do don't caution images.

Perhaps using a package (gatsby image plugin?) to only load one lot of the images per theme mode.

We need to ensure performance isn't too negatively impacted by having double the amount of images.

@GCHQ-Developer-530 GCHQ-Developer-530 added the spike This issue needs to be researched and explored before determining a course of action label Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
spike This issue needs to be researched and explored before determining a course of action
Projects
Status: No status
Development

No branches or pull requests

1 participant