-
Notifications
You must be signed in to change notification settings - Fork 4
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
logo.images
should only allow named file paths
#22
Comments
`logo.image` is now a dict of file paths, no internal reference allowed (#22)
Quarto's schema for the Possible values for the logo:
small: logo-small.png
logo:
images:
white: logo-white.png
black: logo-black.png
small:
light: white
logo:
small:
light: white
dark: black
logo:
medium:
light: another-logo-white.png Question: do we want to allow the specification of |
Giving I'm in favor of making paired |
Great, I agree. I made the change in quarto-dev/quarto-cli@4fe762b and it assumes exactly that. |
Follow up from #18.
logo.with
was a place for definitions, but we've renamed itlogo.images
. In practice, I've also found it's much easier to implement and for downstream brand consumers iflogo.images
is strictly a list of named file paths.The advantage is that we're able to consistently know that all entries in
logo.images
are file paths that (may) need to be resolved relative to the_brand.yml
. And brand consumers can know thatbrand.logo.images["foo"]
is a resolved file path, which is much easier to use – someone reaching into that part ofbrand
wants a specific image.The text was updated successfully, but these errors were encountered: