-
Notifications
You must be signed in to change notification settings - Fork 2k
files checked and corrected #1289
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
Conversation
customized color scheme that better matches the former look
Nice! I was trying to figure out why the images changed size, but it looks like you removed the hard dimensions, which is probably better. Also, we haven't discussed your use of |
Gray on orange would cause colors to bleed. The "let's use gray instead of black" actually comes from lowering the opacity of black text on white background, the most common color combination. So the strategy used in the image is good (reducing the contrast slightly to make everything blend in more naturally, as in real life light would reflect off the orange surface and make white text slightly orange). You can see examples here: https://material.io/design/color/text-legibility.html#text-backgrounds That said, I also think that 0.8 is too low for white text. I'd boost it to 0.90-0.95. |
I haven't paid any attention to that yet. With SVG files it doesn't matter, because the quality of the images doesn't depend on the size.
How did you find out the color #feddd6? Maybe it was a tool, like the browser addon Colorzilla, on a browser output? The reason I chose this combination: I wanted the color of the surrounding area to have a small effect on the text. I prefer this to the very hard contrast with white. The attribute fill-opacity=".8" means that the color white (defined with fill="white" or fill=#ffffff) is included to 80% in the mixed color. The remaining 20% come from the underlying color. Therefore, the font in "HEAD" is also slightly yellowish.
My intention was to recognize the influence of the underlying color without reducing the contrast too much. The value of 0.95 would produce a barely noticeable color effect. |
These images are used for a website and ebooks, and if printed at all will most likely be converted to grayscale.
This is an aesthetic judgement, which I disagree with. I don't like how the orange rectangle gives the text on it a pink hue.
I understand why you did it. I understand how transparency works. I understand that different browsers render transparency differently. I get all that, and I'm saying I won't merge this unless the R, G, and B values are all equal. If |
No problem, I'll change that the way you want. |
I think the #808080 is better and will continue with it. |
@max123kl do you want me to mass convert? |
That would be nice. If you can select that so well. |
I made the mass rewrite on the original filtered_svg branch. Please tell me if it's ok for you. I may still spend some more time to refine the detection pattern. As of now, the detection is made on groups containing a rectangle and some texts. Please do not upset this hierarchy, because otherwise automatic processing becomes almost impossible. Incidentally, I spotted that some texts were centered erroneously, for instance in |
I quickly looked at some files in your branch filtered_svg.
e.g. Look at the faded color fields like in the file. IMHO, I think that there the color #808080 would be better than #f0f0f0. This gives a better contrast. It's your decision. Sorry, but I don't have time enough, until late afternoon (time zone here UTC+1), to work on it again. |
@ben There are some other files with similar problems. |
Sorry for the delay. Here's a side-by-side, PNG on the left: I see a few issues, but I think what you're asking is whether the PNG should be considered the "right" version. In general I think the answer is yes, although there are probably some things about the PNG that could be improved, and if you see an obvious bug, I'd say go ahead and fix it. |
customized color scheme that better matches the former look