From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.help Subject: Re: Introducing face in comments for various modes Date: Mon, 12 Dec 2022 22:22:52 +0700 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="17679"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Heime , Stefan Monnier , help-gnu-emacs@gnu.org To: Thibaut Verron Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Dec 12 16:23:57 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 1p4keq-0004Km-8P for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 12 Dec 2022 16:23:56 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p4keG-000141-Oi; Mon, 12 Dec 2022 10:23:34 -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 1p4ke4-0000zI-Pi for help-gnu-emacs@gnu.org; Mon, 12 Dec 2022 10:23:10 -0500 Original-Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p4ke3-0007Ch-4x for help-gnu-emacs@gnu.org; Mon, 12 Dec 2022 10:23:08 -0500 Original-Received: by mail-wr1-x42a.google.com with SMTP id y16so12463590wrm.2 for ; Mon, 12 Dec 2022 07:23:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=na6heQcL4+7vr2lHqJ+rBiYDvwcZ+Z0i2TfzzYHjN2k=; b=mDq4MBK/y2zl+V5zahfW65XHFxKV120W97nR0CrKrfpDz96b7IbJsoGcOMNv8YFm9N sluCZeo9YDFMre7v5wHijSkowsfnTojP4my8ek+zEUZf9x6NKJ+R8Ur8r/l8EeUJe/Kt LBOQjxBAo6AmPWrGP7fyitTJOx/8ExGwF2x7GgJGgCX4WMs855R07Wi11DVD44GzJBmo +a0mIayr7byciin3IuqRQ4/aEOUawa1L9CdKmFlY6dWzSbb8ILhyVrzY0WVQL8XeCVOD WBST/2ooN50RYCukjpM6K2D15CvpOF7nHum6GuP07WaPSo8AhXV2Bm+xJnp/2UN1FiYm GYEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=na6heQcL4+7vr2lHqJ+rBiYDvwcZ+Z0i2TfzzYHjN2k=; b=mGnaKwicKJPIby3f2Dzx6R1I4PVK5+k4gCJa0YQxzaZgiediy8ZFeht+IwuoCYns1s I2V6A7LT8DjTTPe1ULLDUPY7AdATyqV4yoUGjDGuw/UQpyHmijwPjWITPJYQrE3gMK8X cBN3M2hpKfc+FMqnBft46oUqZgIuyHggFbuEVZ7xO2PTqnTEb5z8v8wV52eJgHUuJa6y 8WvhWQ8qQUqS48tDgNUVNdxHxArVEOVIybOoNbcquMM9L2uQf1amt3AH+O/U3oCUyOoS VwgMWeiiZj/Lb94z+xPSFlg34AAYu9fT0cUO3BJwPe6T8C7AVVGujLeVN6mFwsNneFQJ O7LA== X-Gm-Message-State: ANoB5pkwVaBpA5LhCzvEltcm3ztyqdXu28WX0hya3OvqDyU6VgmjNM+P PiNk+j0ylrD0nXG8rs1Il464W7sMU+ip9MdsyreH6vG9v9E= X-Google-Smtp-Source: AA0mqf7NqQkaZR4uqZXvURqial2j7HUNU8BGloymE5m+tZ+n53FYlDFIxJHaJERGlaL7x8nmedM68t0Hn7yp62t7eug= X-Received: by 2002:a5d:4104:0:b0:242:4f41:142e with SMTP id l4-20020a5d4104000000b002424f41142emr13915204wrp.332.1670858584336; Mon, 12 Dec 2022 07:23:04 -0800 (PST) In-Reply-To: <009361a1-4430-ac3a-f395-ce32f10b31f2@gmail.com> Received-SPF: pass client-ip=2a00:1450:4864:20::42a; envelope-from=yurivkhan@gmail.com; helo=mail-wr1-x42a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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:141677 Archived-At: On Mon, 12 Dec 2022 at 17:53, Thibaut Verron wro= te: > > If you use "modus-vivendi" for org-mode, the colours are all almost whi= te, > > a big problem particularly when you fold the org headings. > > I don't like dark backgrounds, but it seems perfectly readable to me. Heime has a point. The complaint is not about *readability* of modus-vivendi=E2=80=99s colors against the background. It is about *distinction* between levels of Org headings, i.e. ability to distinguish a level 3 heading from a level 4 just by color. This is a nontrivial thing to solve, by the way. It=E2=80=99s very easy 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. Yes, but this way they are all the same luminance, and b= y that token all very similar in some sense. A color-blind person might even not be able to distinguish hues and rely on luminance alone to tell colors apart. As far as I can tell, WCAG does not give any guidance as to distinction between foreground colors, except for =E2=80=9Cthou shalt not m= ake the user rely solely on color=E2=80=9D.