-
Notifications
You must be signed in to change notification settings - Fork 334
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
Allow custom image and font URL helpers #733
Conversation
2c76b14
to
d08fe73
Compare
d08fe73
to
89da660
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks really good.
Do we need to add some more documentation on how to use this?
If someone ran into the problem Tijmen did, where would they look?
Optionally would like an example/
that proves this works with the Rails asset pipeline, but we can consider that later.
I'd expect it to be documented as part of https://github.com/alphagov/govuk-frontend/blob/doc-updates/docs/installation/installing-with-npm.md#import-images, but waiting for that branch to be merged first. |
Going to merge this and we can add the docs later. |
Allow users to set custom functions to resolve image and font urls.
Proposing this as a solution to #730.
Closes #730