[Libreoffice-ux-advise] [PUSHED][PATCH]fdo45671 writer par. bg color simplified code for split button

Stefan Knorr (Astron) heinzlesspam at googlemail.com
Fri Mar 9 03:19:48 PST 2012


Hi Winfried, Michael, Ivan, all,

>> > I did some thinking (some, not a lot) on this matter.
>> > It seems that the default colour for font and line colour buttons is
>> > black and for background buttons (highlight excepted) is transparent.
>> > That does not look usefull to me, is these are bound to be the
>> default
>> > colours of font, line, background anyway.
>> > Isn't it a better idea to set the default colours as a contrastong
>> > colour (eg COL_RED for font/line and COL_YELLOW for background) so
>> that
>> > users can 'mark' sections without choosing a colour?

Absolutely.

>>
>> To illustrate my suggestion, see attached diff file, which incidently
>> also shows why Astron and Ivan where confused by the gray colour in the
>> background button...
>> I will fix that with my next split button patch.

Would you mind using COL_RED instead of COL_LIGHTRED? (LIGHTRED on
YELLOW is mostly a colour contrast, thus people that only recognise
shades of grey, will not be able to discern between the colours easily
enough. [1])


>> Or could we consider using a checquered (gray/white) bitmap, like used
>> in GIMP for transparent?
>
>        Oooh - pretty :-)

I can only concur. I've made a quick mock-up, see attached file. I am
unsure if it is easy enough to discern the chequerboard pattern at the
6*22/4*16 scale of our icons, though. What do you think?


Regards,
Astron.


[1] http://snook.ca/technical/colour_contrast/colour.html is helpful.
Enter colours, then look for the WCAG AA(A) information.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: transparency.png
Type: image/png
Size: 1719 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice-ux-advise/attachments/20120309/4623a0c8/attachment-0001.png>


More information about the Libreoffice-ux-advise mailing list