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.devel Subject: Re: solarized Date: Tue, 15 Sep 2020 16:14:25 +0700 Message-ID: References: <87mu1ra1ej.fsf@protesilaos.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6192"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Richard Stallman , Emacs developers To: Protesilaos Stavrou Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Sep 15 11:15:13 2020 Return-path: Envelope-to: ged-emacs-devel@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 1kI73R-0001UP-75 for ged-emacs-devel@m.gmane-mx.org; Tue, 15 Sep 2020 11:15:13 +0200 Original-Received: from localhost ([::1]:33318 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kI73Q-0001Sd-9F for ged-emacs-devel@m.gmane-mx.org; Tue, 15 Sep 2020 05:15:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33668) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kI72u-0000qK-O6 for emacs-devel@gnu.org; Tue, 15 Sep 2020 05:14:40 -0400 Original-Received: from mail-ua1-x932.google.com ([2607:f8b0:4864:20::932]:42768) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kI72t-0001Ld-3c; Tue, 15 Sep 2020 05:14:40 -0400 Original-Received: by mail-ua1-x932.google.com with SMTP id w23so791842uam.9; Tue, 15 Sep 2020 02:14:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=2t5klYhO1nRH86hNifm9CCSK3VCSZeyOGkwpvQP1V0o=; b=KnwU3AmvNagvvhk4q395fbRObi2G5IAJRUQ0Q+k9xuPiRkPoHQm1Lq1UeeerLEIAr5 cubizMVrdOdlcsAe4Y6HzCfOlLJUnhvpapKC3nXiEcvx4c84bN2JPF/+UNW+XdXwAkNG kYEpdMt8CZjn78BNblIJ4PQmDSi6ekFDX88LIStUGlqGPH4UC3OLrirb4IajX8m11Gpr 4p2Q33tFZBkGwfKKICfNr1ns48WJNXe3h49FT1z5pj9v2UdGDrcn599b4GrOahr/YOd2 uP28cQeYXnc6eKDVOQsb4cSx0HgK7sbVNTM3r9pqFjebnY8N1tpdwj5IDeIiqBWAJb8H Qzag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=2t5klYhO1nRH86hNifm9CCSK3VCSZeyOGkwpvQP1V0o=; b=mFSiwP2ldPXx+pbJ38oQv12f4/DCM+eq6LlvRXdIXDMp9SfoizP1UnidWWMCPPJy99 GxE/Dx0Ps+qc2Ze/qd09ii4XKh6W58mFcQjW6r+a+pTlQxJ6YNmMG2Ds9miHd/LlhHcu 5PNvDsmf7FIn6xPGAO0v1pyr01BdNCYOzJ//yd9HXtMpnwORiG0bI8RNwDTWPQ7qG7Hu P+8n7UjRl3CX2MxMqO2a9IfK/HuFrXvQZQ0UDXQDisI4GwUQXus/ylYKsUsFppMnOTi/ ve0saYYxU/uY9BDQsB0pW0mTL/8xZQFCfcPCH0RuT+fZjm2Ifqyu9rX5XUn3/LzvZHXa d63g== X-Gm-Message-State: AOAM533UTc3YpFCI1Y5RLSb5kY9H381TdLFD7EoQxX0PG7mptrvQTCGl RxZG8PIVkaQPBCCPHJpV0iPAlU9x6xfLazD+xP/EvMjvmYJn5g== X-Google-Smtp-Source: ABdhPJyz3RoUDrKIzzmC0JxBdX6sC8CMr3UaU7UZPxnWersFbGIxjw0dvdHz4QO/R8yPvFUWj+5a444zJUkozlyz0gA= X-Received: by 2002:ab0:269:: with SMTP id 96mr9155984uas.41.1600161276969; Tue, 15 Sep 2020 02:14:36 -0700 (PDT) In-Reply-To: <87mu1ra1ej.fsf@protesilaos.com> Received-SPF: pass client-ip=2607:f8b0:4864:20::932; envelope-from=yurivkhan@gmail.com; helo=mail-ua1-x932.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:255726 Archived-At: On Tue, 15 Sep 2020 at 15:44, Protesilaos Stavrou wrote: > Solarized fails on the accessibility front (not its designer's fault, as > that was not its goal). Many colour combinations are well below the > minimum 4.5:1 threshold. The following table shows the relative > luminance of all colours of the palette compared with the four base > background values (table's image with colour previews also attached). A color theme does not have to provide 4.5:1 contrast for each-to-each color combination. Only for those that are actually used to display text. The important ones are: * base dark colors against base lightest color * base light colors against base darkest color * accent colors against base lightest and base darkest colors Slightly less important: * base dark colors against base second-lightest color * base light colors against base second-darkest color * accent colors against base second-lightest and second-darkest > | SOLARIZED | HEX | #002b36 | #073642 | #eee8d5 | #fdf6e3 | > |-----------+---------+---------+---------+---------+---------| > | base03 | #002b36 | | | 12.25 | 13.92 | > | base02 | #073642 | | | 10.61 | 12.05 | > | base01 | #586e75 | | | 4.39 | 4.99 | > | base00 | #657b83 | | | 3.64 | 4.13 | > | base0 | #839496 | 4.75 | 4.11 | | | > | base1 | #93a1a1 | 5.61 | 4.86 | | | > | base2 | #eee8d5 | 12.25 | 10.61 | | | > | base3 | #fdf6e3 | 13.92 | 12.05 | | | > | yellow | #b58900 | 4.68 | 4.05 | 2.62 | 2.98 | > | orange | #cb4b16 | 3.26 | 2.82 | 3.76 | 4.27 | > | red | #dc322f | 3.25 | 2.81 | 3.77 | 4.29 | > | magenta | #d33682 | 3.30 | 2.86 | 3.71 | 4.21 | > | violet | #6c71c4 | 3.43 | 2.97 | 3.57 | 4.06 | > | blue | #268bd2 | 4.08 | 3.53 | 3.00 | 3.41 | > | cyan | #2aa198 | 4.75 | 4.12 | 2.58 | 2.93 | > | green | #859900 | 4.69 | 4.06 | 2.62 | 2.97 | Also, Solarized picked a design decision of using the same accent colors against dark and light backgrounds. This makes it hard to satisfy the 4.5:1 requirement, because if accent is at least 4.5:1 to darkest and lightest is at least 4.5:1 to accent, then lightest must be at least 20.25:1 to darkest, and the chosen Solarized lightest and darkest do not satisfy that. So, within the given limitations, Solarized does well enough. (Disclosure: Personally, I do not like or use Solarized, because of its heavy tinting of the light background to yellow. Light backgrounds are supposed to resemble paper, and yellowish paper looks cheap and/or old to me.)