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

Consider better default image sizes #263

Open
bacoords opened this issue Jun 11, 2024 · 0 comments
Open

Consider better default image sizes #263

bacoords opened this issue Jun 11, 2024 · 0 comments

Comments

@bacoords
Copy link
Owner

Fränk Klein has a great article about using the content and wide max-widths as the default sizes for medium and large images:

https://wpdevelopment.courses/articles/performant-images-in-block-themes/

Could probably use a function to generate them automatically from theme.json

https://www.briancoords.com/generate-css-variables-for-any-global-style-assigned-in-the-site-editor/

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

No branches or pull requests

1 participant