From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Christopher Dimech Newsgroups: gmane.emacs.help Subject: Re: Introducing face in comments for various modes Date: Mon, 12 Dec 2022 16:55:10 +0100 Message-ID: References: <9ZK1Solghrmps4AarUsz2E6-mAdkrTZoXPs4RTRTd9sZ0Cd8DGhK955im1kuug-EZXU3tc5rgDDd16vQexxpFnMvMFjFqnNnh0noashyLdE=@protonmail.com> <0RJB0bPRTMAqXlUbL2kGUvJtnCNPYwPhqTNi_l9nIpQAciTZYcYCikFVqi2Nr_UZLbT1_DRtX8G0dSkgI4jln5DTYBDxLz4i7L2d9wx-kA8=@protonmail.com> <21708ec2-d908-4e91-6c0a-4b1cd253e707@gmail.com> <009361a1-4430-ac3a-f395-ce32f10b31f2@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22477"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Thibaut Verron , Heime , Stefan Monnier , help-gnu-emacs@gnu.org To: Yuri Khan Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Dec 12 16:55:59 2022 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1p4l9q-0005Y8-Tu for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 12 Dec 2022 16:55:58 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p4l9K-0004Gm-Se; Mon, 12 Dec 2022 10:55:26 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p4l9H-0004Ay-ML for help-gnu-emacs@gnu.org; Mon, 12 Dec 2022 10:55:23 -0500 Original-Received: from mout.gmx.net ([212.227.15.19]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p4l9F-0003cY-T8 for help-gnu-emacs@gnu.org; Mon, 12 Dec 2022 10:55:23 -0500 Original-Received: from [92.251.127.164] ([92.251.127.164]) by web-mail.gmx.net (3c-app-mailcom-bs04.server.lan [172.19.170.170]) (via HTTP); Mon, 12 Dec 2022 16:55:10 +0100 Importance: normal Sensitivity: Normal In-Reply-To: X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:i6CBkdxtILhd0wkVhsaZI1skK7Ee2QlqMKi8DuelU1Qd5IxF38VqVEfn4uLymsBQZuRVh DuybstqOqXskFt/Byxpg1RU9Y+1Pkex7v02Fkb3eSqfZKZYkJU4y8+c9ZVUXP5PkaXxoFE4YNn22 eGMGVrX597NH2sCk1O81d/O08W3MHX50tVu9GaQLzhe92S1CxYMCyE4skd2hZ1N0ySwSHhl1P3b7 f1nkdu7SP/zEwn53Y+95cSMJsIwGSi0EQAgdoRSZBwCtx2EAxJR9O8YMqb2MjBmcSRN2OvHgKuGO XE= UI-OutboundReport: notjunk:1;M01:P0:n6AZ6dhR4dM=;0TtqnFw0JLOP7okgEn+fYx6vr/X CmCJHlsI1TRI4PF5jgK4fCpXDHKzVYJN9sXGHM0xWdNfiy2kpCWO1xM2bhvCttcpukYV9TprK 1cMEBbir0G3TANib9G8eqKtE+hqvFdLBUrYxbPSVuwjD9e6JTmYpcYam8gxVDfQxXnsVR/J/T XHoabv1xRQW0Lo3/tTqE8/+qMd1dhQWYeBlLrC89kX/L4ol2l49nutNw/TmQ5kOj9Hyhilwt8 CLtiNcLbZRpoxRRLh59C3D7pMh7jj+cISrKQIQYsUMZNR/gfUQQW8xKavDSX3n/YYkNmg2Tee vPQe3NaRTx7jrUxWocMX5GAlRAVesZxccICMKz3R5YBzB2gw3l8J5tLxTEdCLHXLh3IkDgll6 admzCQzJmRaFbve0o5ZTOwXDqhiHeQ+Eyk6yaQr6t/q/wToaE51oXzVze+6yfqw2F5dbJc2zj H2/aK90/7l5cSssOJOexcpdhvl0N/zm/A30L+SecjjYy3t87nfgjkpyylpAb6IX9h4C1t6Kf4 N8AYWv9ocANe9ZI0MS1KNF4E/04onvI5vdwPBUIlHc1EqcPl7MgIfmqHOHTLpc4ilQu9O6sRk 2s2athtwyCtfksJ0MHmOblfHzhuVil+tSMO8J/nsektKFiJS0Alj6yBKOFDvxpxG9cNruBW90 wvKV4Ct7BSg59CmRbSzTeeomEFgjJ32j3KZfM84DEt4ynvcqkE/MELfU5jM0i4vgdToQeRKdx +CTnpLIMWSvnwM0tAtVoolmgQ5hnWDTdkUwvhxIGIV6BBrFHRlj7h5qNTYAy79zDINuTBJUg Received-SPF: pass client-ip=212.227.15.19; envelope-from=dimech@gmx.com; helo=mout.gmx.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:141679 Archived-At: > Sent: Tuesday, December 13, 2022 at 3:22 AM > From: "Yuri Khan" > To: "Thibaut Verron" > Cc: "Heime" , "Stefan Monnier" , help-gnu-emacs@gnu=2Eorg > Subject: Re: Introducing face in comments for various modes > > On Mon, 12 Dec 2022 at 17:53, Thibaut Verron wrote: >=20 > > > If you use "modus-vivendi" for org-mode, the colours are all almost = white, > > > a big problem particularly when you fold the org headings=2E > > > > I don't like dark backgrounds, but it seems perfectly readable to me= =2E >=20 > Heime has a point=2E The complaint is not about *readability* of > modus-vivendi=E2=80=99s colors against the background=2E It is about > *distinction* between levels of Org headings, i=2Ee=2E ability to > distinguish a level 3 heading from a level 4 just by color=2E >=20 > This is a nontrivial thing to solve, by the way=2E It=E2=80=99s very eas= y to > fall in the trap =E2=80=9CWCAG level AAA prescribes a contrast ratio of = at > least 7:1; I=E2=80=99ll make my primary foreground and all my accent > foreground colors exactly 7:1 against the background so all will be > readable=E2=80=9D=2E Yes, but this way they are all the same luminance, = and by > that token all very similar in some sense=2E A color-blind person might > even not be able to distinguish hues and rely on luminance alone to > tell colors apart=2E >=20 > As far as I can tell, WCAG does not give any guidance as to > distinction between foreground colors, except for =E2=80=9Cthou shalt no= t make > the user rely solely on color=E2=80=9D=2E =20 For modus-themes I suggested a foreground implementation based on a colour wheel, using a tricolour scheme for fixing adjacent colours=2E A techniqu= e that work very well, improving on the original modus-themes colours=2E With such metric, one can have about 8 colours, which you can recycle over= again=2E=20