-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
SVG images #2995
SVG images #2995
Conversation
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.
Thanks @elia I think we should keep the png version of the logo since that preference has probably already been defined in each store and this will make them ask for a not existing image.
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.
I'm okay with changing the README, but I'm hesitant about changing the admin UI from png.
@elia I think we need some padding since the svg is taking all the space available: |
The old solidus_logo.png is removed supposing no store relies on it in production.
c4d8b1c
to
4ce9dd3
Compare
I've fixed the internal SVG size and padding and updated the description with before/after screenshots. |
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.
The screenshots look good! 👍
The Solidus admin area was recently changed to use an svg logo solidusio/solidus#2995 but that is not supported by Prawn so it broke the pdf embed here. The old png logo is no longer used in Solidus so it's only a matter of time before someone removes it. As such I have pulled it in for use in the pdf header, but kept the same name because I figured it less likely that the png logo ever be updated again in Solidus than maybe someone customized their Solidus install by overwriting the image instead of changing the config. This has the unfortunate affect of no longer automatically following Solidus admin logo customizations, but I don't think it would be worth doing fancy svg detection at that point. We have our own config, folks can use that if needed.
solidusio/solidus#2995 replaced Solidus' .png logo with the SVG version and Prawn doesn't know how to render this kind of files
The Solidus admin area was recently changed to use an svg logo solidusio/solidus#2995 but that is not supported by Prawn so it broke the pdf embed here. The old png logo is no longer used in Solidus so it's only a matter of time before someone removes it. As such I have pulled it in for use in the pdf header, but kept the same name because I figured it less likely that the png logo ever be updated again in Solidus than maybe someone customized their Solidus install by overwriting the image instead of changing the config. This has the unfortunate affect of no longer automatically following Solidus admin logo customizations, but I don't think it would be worth doing fancy svg detection at that point. We have our own config, folks can use that if needed.
solidusio/solidus#2995 replaced Solidus' .png logo with a .svg version, a format that Prawn does not support. This patch re-introduces the former logo and uses it if no custom configuration is provided.
solidusio/solidus#2995 replaced Solidus' .png logo with a .svg version, a format that Prawn does not support. This patch re-introduces the former logo and uses it if no custom configuration is provided.
solidusio/solidus#2995 replaced Solidus' .png logo with a .svg version, a format that Prawn does not support. This patch re-introduces the former logo and uses it if no custom configuration is provided.
solidusio/solidus#2995 replaced Solidus' .png logo with a .svg version, a format that Prawn does not support. This patch re-introduces the former logo and uses it if no custom configuration is provided.
Use SVG images in a couple of places to make everything look better.
Before:
After: