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: Customize SVG icons (was: Tweaking the output of `C-h b') Date: Mon, 1 Nov 2021 23:36:24 +0700 Message-ID: References: <87lf29xdkf.fsf@gnus.org> <87h7cxx9bh.fsf@gnus.org> <87zgqpvtky.fsf@gnus.org> <87v91dvt6y.fsf@gnus.org> <87o874vhp2.fsf@gnus.org> <87k0hsvgvv.fsf@gnus.org> <87bl34iosa.fsf@yahoo.com> <878ry8t1o5.fsf@gnus.org> <87pmrkorsa.fsf_-_@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="37621"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Po Lu , Lars Ingebrigtsen , Stefan Kangas , Emacs developers To: =?UTF-8?Q?K=C3=A9vin_Le_Gouguec?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Nov 01 17:37:18 2021 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 1mhaJC-0009da-7J for ged-emacs-devel@m.gmane-mx.org; Mon, 01 Nov 2021 17:37:18 +0100 Original-Received: from localhost ([::1]:48652 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mhaJA-0008Cl-RD for ged-emacs-devel@m.gmane-mx.org; Mon, 01 Nov 2021 12:37:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45352) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mhaIZ-0007Wr-3o for emacs-devel@gnu.org; Mon, 01 Nov 2021 12:36:39 -0400 Original-Received: from mail-ua1-x933.google.com ([2607:f8b0:4864:20::933]:35476) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mhaIX-00071v-9X for emacs-devel@gnu.org; Mon, 01 Nov 2021 12:36:38 -0400 Original-Received: by mail-ua1-x933.google.com with SMTP id q13so32969760uaq.2 for ; Mon, 01 Nov 2021 09:36:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=Wy2gDwv4wJ8bRpzPEGBxUyVl2iPqSJBts+0P9MryyFA=; b=CxXP4pv8aKdUPBfuvitEnColNVfEvQ+BOm+2i0toOwppk9k88p1EeXwqSfAJo5lDyx I3nx7/CX//sXWUjnhT2TbPIw7pMw9a4iAM8pErkRwWoirYN8vVGf32ucah7EmamKBrD6 IAfCHien1/qCiXwtfkWTvbNnOEjFUKC3E7Jacn2zLZspHFmDpqrWM0bq1IL6jG+WD3kr KCpoZC8/7EAQPhpWXKssZS124XA68rw+GyqBCe7mnyEJBb4YtzEbiT13yvCBZZWuQGsW LS8y5V5fLdAbfirIjKMfS1t4w89riOL91iQApur/SGmiQftbnkpWxo4w46eS5Qlu94cn k1pw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=Wy2gDwv4wJ8bRpzPEGBxUyVl2iPqSJBts+0P9MryyFA=; b=KoohNce8eY8M0hwBrQOIWW1Fx9s0+d4iC4wjbMx1OFPfFyzWCKRO+ywTCCr/uEUmtp H5wY32OW+KEx2JJnTfH820RnKsO2yWlJuqWOO+yl5pHm9ju6cI30nAHsumb/nj6N09dz Rwy8Cs+z7iNT6LE6gu15GL6eRBaf3JycNu+K56hMVQADIqgp98veE2nY3vreyQGARgrv zTiI6LXiM4BV2W+oAkzhKVnaB8RdK5YsI+OjH8JT6mik5sBgs4LbPDeLUZSbTzeQ8Ywd dZRwxpUx/mRMBcmtHvK8UvpNWjOEhYgrf8cGzuA1giyBPL1nLZwkS3W4ViKG7kAAI7K0 FbEA== X-Gm-Message-State: AOAM533d0tKaYGr+fm/4NG0aVAWI9aO/YCIU7V3NphkGEU7EYiLEmHVx SznKmy6QhEocPRVLhVPkLWobj4KKDsiy3V2YBBY= X-Google-Smtp-Source: ABdhPJxDv3AZ2MxvAIaBIqPXP9WTCztEl9yy+KzgRioBgNg16scwfSWYR3enal60p4yE6PajjQzArkoW79HtQ9rubSg= X-Received: by 2002:a9f:21e1:: with SMTP id 88mr1866221uac.79.1635784595500; Mon, 01 Nov 2021 09:36:35 -0700 (PDT) In-Reply-To: <87pmrkorsa.fsf_-_@gmail.com> Received-SPF: pass client-ip=2607:f8b0:4864:20::933; envelope-from=yurivkhan@gmail.com; helo=mail-ua1-x933.google.com X-Spam_score_int: -1 X-Spam_score: -0.2 X-Spam_bar: / X-Spam_report: (-0.2 / 5.0 requ) BAYES_20=-0.001, 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.29 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:278399 Archived-At: On Mon, 1 Nov 2021 at 21:49, K=C3=A9vin Le Gouguec wrote: > Yup, that's because "fill:#2e3436" is hardcoded in the SVG files. > Removing that bit makes Emacs use the foreground color for the default > face. > > I don't know if we want to do that (it's sort of a nuclear solution), > and/or introduce a face to let themes control this color; it's true that > as things stand, these buttons are not very visible for dark themes. The standard solution for this kind of issue when you don=E2=80=99t want to= go monochrome is to give the shapes a high contrast stroke color or shadow. A 1.5px white line will do wonders to the visibility of that dark gray on dark backgrounds. Although in my opinion monochrome is good for this kind of widgets. They do not need to draw attention, being only a decluttering device and expanded by default.