-
-
Notifications
You must be signed in to change notification settings - Fork 447
tools/work/README.md fixup #3912
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
tools/work/README.md fixup #3912
Conversation
Stylistic: - Fix indented fenced blocks that upset weaker Markdown processors. - Reword to more natural English in some areas. - Sample output and ```shell-session in many places. Factual updates: - Debian package is now python3-scour. - Remove dangerous `sudo pip install`, and point users at `pipx`.
I'm still confused about what the docs mean by "compabillity with mostly GTK Themes", btw. |
this compatibility talks about the choise of standard black and white colours, an it appears that the present combinations were tested with different gtk colour themes. that's the reason why we even define them as standard and discourage the use of plain white and black colours.
|
hey, great rewrite, I always wanted to at least improve the grammar and the wording, but never got to it. thanks! however, could you please change the section about exceptions that concerns the use of pure white? I believe it should be "it is appropriate to also use pure white" in logos/text/other designs on top of colored icons, instead of an imperative. The base colours of Papirus can make pure white stand out too much if it is used in every situation, and almost all our present fullcolour icons use white elements in #e4e4e4 |
it just that i generally believe #e4e4e4 should be used everywhere, and pure white should be used only if it looks really wrong. |
@morganist (Aside: mediaeval heraldry would call the logos and symbols charges and the base shapes fields, so this is kinda like reinventing the rule of tincture, I guess… well, not that pure black is a "metal". It might be a bit more modern to point at WCAG2.0 AA or AAA contrast ratio standards somewhere, though 😅) So, a plan for me in this update:
(Another aside: I'm actually more in favour of the Papirus "coloured base" style over the e4 grey or any other light grey or white as a paper colour. Why? I'm an obligate light theme user, and really often the tab of the common "document" background disappears in themes whose background aren't too glaring white, simply because the tabs are that bit lighter than the I don't want to rock the bot too much right now and start suggesting that nobody uses |
Is that just for bases, or for the designs on top? If it's just for bases, I agree 100%. The designs though very often benefit from the added contrast of using pure white and black, and for these overlaid designs it's actually established Papirus practice for the common design of a logo over a coloured rather than a monochrome background. Check out the mimetypes folder with an eye dropper tool ;) |
it's actually established Papirus practice for the common design of a logo over a coloured rather than a monochrome background. Check out the mimetypes folder with an eye dropper tool ;)
mimetypes icons are a bit different, i think. i mainly fiddle with application icons, and they are often a variation of a basic coloured shape and a logo in #e4e4e4
examples include telegram icon, signal icon, obs icon, librewolf icon, etc.
all is good, i just think it's really not necessary facilitating the use of pure white through documentation. current white gives this, i don't know, paper-y feel to Papirus icons, even is the element is inside the base shape.
The designs though _very often_ benefit from the added contrast of using pure white and black
yeah, exactly. this is one of the cases where it is absolutely appropriate to use pure white/black – in combination with #e4e4e4 and/or #4f4f4f . but not if it would be the only white/black, that's inconsistency and we shouldn't want that. that is, unless we revisit the contrast, as you've proposed ;)
|
in #3921 for example, the logo is clearly too white for a Papirus icon, and the contrast with the backgroung is sufficient to use #e4e4e4 |
Is ff white too much?
I kinda disagree here even for a largish foreground element like the shield. I think the Comparing e4 Contrast
All the e4/f4/f4 shades above are fine against the Arguably, there is a difference between sharp lines and big blocks for foreground elements. There, perhaps a good compromise would be to suggest an intermediate colour, like Of course, that's just one example, and we don't yet tell contributors to check WCAG 2.0 contrast ration. |
Existing examplesThere really are lots of examples in Papirus where pure white is used, even for very large elements, and the result is juicy and fresh and Papirus-ish. I think these are perfectly correct, and would look so much worse if e4 grey was used instead: Observations: I love that clementine icon so much. Mimetypes really are not special, I think. But notice how the examples have their ff element surrounded by darker colours or shades! That's what I'm trying to get across. The character icon eyes (in apps) would look especially weird if they were redone as e4. This is what I mean by a "foreground element" or "logo" element of the icon, and I think we need to make that distinction. There are as many places where ff white really should not be used for a "white" element, and is rightly avoided. Not really counterexample here: they're all examples where there are white or off-white objects that would sit directly on a potentially white background, and they should follow a different rule. I am not proposing to change the e4 ruling for these elements at all. This is what I mean by the "base" element of the icon. |
In other words, I think the existing suggestion to use e4 grey and nothing brighter for white objects has arisen only from considering what I'm describing as a base element. It makes a lot less sense to apply it to foreground elements, and designers of established icons have ignored the e4 suggestion in apps and also in mimetypes for elements on top of the base, or surrounded by contrasting colours. Anyway, I'll try and summarise all of that into this PR, and we'll see if that's acceptable. |
@morganist @achadwick So do I change the white in #3921 or not? I'm OK either way. I would prefer something in between pure white and the grey, but also consistency is important. |
@wilwarindi I don't think there's currently a fixed palette, and that's one of the changes I want to make in this README. I think it's better to think of the README's "black" and "white" as high and low brightness limits for base elements colours instead. They're like that to look as good as possible against different themes. Foreground elements are isolated from the theme background colour by the base elements, so they can go brighter or darker, as appropriate. I'm a fan of that f4 light grey for an intermediate foreground colour, if e4 looks dull there and ff is too glaring. What do you think? I could suggest it in the doco revision. |
I honestly think that ff white is perfectly appropriate in most situations where the base colour isn't too bright itself. the examples in #3912 (comment) really do look good to me still. |
* Reorder and reword. * Typo fixes. * Distinguish between base and foreground colours - They have very different usage patterns - Gets us thinking about contrast and accessibility ;) * Try to distil useful rules for base and fg colour selection: - Former apparent black and white requirement as lightness limits - Pure white is "widely accepted", or widely used at least - Pure black is almost never used though (surprised me, but true) * Add loads of example icons from Papirus itself. * Mention "paper" shade as a suggested meterial colour * Clarify margins and "design to" areas * Document how shadows and highlights are made in detail. * Remove language about a palette because there isn't any official one.
OK, I hope this new draft makes everyone happy. I've really tried to clarify why those two black and white colours are stipulated. Better to think of them as brightness limits that make base shapes stand out against commonly available GTK themes. Surprising Papirus fact: pure black really is only used for shadows. Its usage is totally different from pure white, which is a lot more widely used - but only really for foreground designs. 👉 https://github.com/achadwick/papirus-icon-theme/blob/toolswork-readme-fixup/tools/work/README.md It's getting a bit big now, and I could split it. |
Talk about "greyscale" base elements, since "monochrome" is used to describe symbolic things elsewhwere in the doc.
@achadwick you opened my eyes to the fact that brighter white is really widely used, as it turns out. I never really noticed any clash between similar icons with different shades of white on the foreground when they are placed on a dock or a panel, so I guess you are totally correct about the use of white colours. |
I think that's it, ready for proofreading! A few late changes just now:
Over to you, @morganist :D |
that's an awesome change to our documentation, thank you very much! |
I fixed a few Markdown issues that were breaking some of my editors that have weaker Markdown processors.
Added a list of exceptions where pure
#fff
and#000
are allowed.Updated the Debian commands for newer releases.
python3-scour
Removed dangerous instruction to use
sudo pip install scour