From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.devel Subject: Re: Automatic face setting based on contrast? Date: Wed, 06 Oct 2021 08:20:46 +0800 Message-ID: <875yub57hd.fsf@yahoo.com> References: <87k0iub53g.fsf.ref@yahoo.com> <87k0iub53g.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3724"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: rms@gnu.org, Protesilaos Stavrou , emacs-devel@gnu.org, bozhidar@batsov.dev To: Stefan Kangas Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Oct 06 02:22:34 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 1mXuhd-0000kA-Kg for ged-emacs-devel@m.gmane-mx.org; Wed, 06 Oct 2021 02:22:33 +0200 Original-Received: from localhost ([::1]:36768 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mXuhc-0004Yv-AU for ged-emacs-devel@m.gmane-mx.org; Tue, 05 Oct 2021 20:22:32 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42962) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mXug8-0003q1-K7 for emacs-devel@gnu.org; Tue, 05 Oct 2021 20:21:00 -0400 Original-Received: from sonic305-22.consmr.mail.ne1.yahoo.com ([66.163.185.148]:34907) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mXug5-0002lB-EY for emacs-devel@gnu.org; Tue, 05 Oct 2021 20:21:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1633479655; bh=qABGdXtvwS/HAZUMVhzV2DXn4+ffNdPAlIi6p225IWQ=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=gK2plAUayFA2Fpy3U0c4vwVzsGZOO9Bp2bRefL67NtmD33Q8EWgbqZMQu9Ct6Ngg6GW1/XaPX3k2ybYG7lWejp/tJC0580bsgbxFbZZJKb4XuK7Hsg4zm0vOjcAGbNPVo0nKBEJej0BrKsIhebg7pZkwlq76zfG9Q4AX10+Wlo+2KPgtPlg5zb+3qI1oTORvOAQI5BlYNADKg4OHy8qpsPI2dTu9xcJ5D9zb9BTgqzWn1xeGUhnhhxS/BG6BCPZ4MKtRQKCy4j7nLMd9dEKsY+LUeWikC/Q4tOKP4ST7rMt02I9NuOB04Pxi9oOh7h5ZP0eRGibGlTnIoE4njPUMnQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1633479655; bh=gOOuQV20B/FMMT55MjC5fkA3SBk8pltkw3pZgeA693R=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=NQIRakp1VOHFePIatUWOF8PN+oh8Uj6vVKxc1xq/6Z8840fa3Q4R17jw8sZRj7hdUYsJAJ1Nf4WcvTIIU2Z4fugsSU8gvaMbEYscPFAAc55uHY58d8zfTX6pdTQNBzc6c89TAfbm4XqEZ59UvvAj4Qs/3IxvwLipFRJvTMOukSNxMP1gRBy0Zi1/JM8GTgwtotuquq4bvwfbkL+IsP755UWbHt/63NwTj5hVeQpRHMqfskkVP5a4UlTMUfu49UROp96hRlUjOeb6KcxyCuLHttu+49VMtelCwktHxqqpwjlHgjUeBhAaSDZ0iyWnQfDbjcOQdIq+1f/iXpALOnLCvQ== X-YMail-OSG: TyR1urUVM1mnNMXK2l0SpoVcDeET5rOh7pTGGy09L6H14YI3zLAWjMCxTcHk.e6 GtZ7VYB2uv63yktjCY9uOUpsl8ElIyDajUVUeZ5ppF8yJVrf0ENgJDVooZQvgl40wo8ZSKWBlLQa UcJRLe_qCX.owF5GU_iZirIpwradHxl5Xy34g3JHNj2rH2ELhnNSl2f.RlvQla28YnYvRPjEWcVn ri1TQaoCSxfBc_1N3HUgv8ig46xw5GFuKTMaH7r0euZjSR3Z1izTvTaVbtNHJ_CY8pX7bq.B.4gE OtDnaRpPS1dJOZuGtd3RZWgeKC4QKpu5Fm7NN4JBnyNa8J03nMpjRIEysttQjKc2ETKlxftk4d1_ Ns4yFGDQl8lX9B8Ktnbus4DtmLOk0hYUyh4vS6C7Fj93XzQpn6mNPJDqeutxFoetIUiHrhXyJmC5 PB7FL3MnYLNhZNGK5Bzw7atJpHxVdRm6spmAcN6L6uUT4tk3pbcowJzBwAgmDwsIhEk7tls6JzDV ciVQtw2D.oj4zvM0MmRX.OwGnWKtM.U19VwHFeKtH2q.3K10mFdo1u.mwvAcBxpIMj7c2727ZJB7 9iDdl3hDc2pG76.TOr_WxRuOp8ORrmcnegrzG4KVyT7zmUnvH2KZOs4qe7UeNMz6sDj7SLYTfl7l 2.7CTIvX64r8.LvtAv8ggLPOgRf7Mr563irSZ5iBgJii7XhcLGrObgcWd75dD9J8fao5IhcMCuco cMoWtMnut4Fm9Bh3r0f7daxT81GYvwHu1zIqtk.QF0o8ffxAqhx7EGxPM3YgKdcUOaMPoc_wlk2E DsLc8djZVRXSomGM8MIfe.nVX.KeeQLG25kui1jP2a X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic305.consmr.mail.ne1.yahoo.com with HTTP; Wed, 6 Oct 2021 00:20:55 +0000 Original-Received: by kubenode517.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 088edb08fc28800ce083d06d4ca292d6; Wed, 06 Oct 2021 00:20:50 +0000 (UTC) In-Reply-To: (Stefan Kangas's message of "Tue, 5 Oct 2021 19:10:48 -0400") X-Mailer: WebService/1.1.19116 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.185.148; envelope-from=luangruo@yahoo.com; helo=sonic305-22.consmr.mail.ne1.yahoo.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, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable 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:276401 Archived-At: Stefan Kangas writes: > I think it would be hard to find something "perfect", but if the goal is > to get something "good enough" or even just "a bit better", then it > sounds more achievable. > > solarized themes has an interesting concept, where you only need to > specify a few base colors that the rest of the theme is calculated from. > > So here's a theme definition: > > ;; inspired vim's jellybeans color-theme > (solarized-create-theme-file-with-palette 'light 'solarized-jellybeans-light > '("#202020" "#ffffff" > "#ffb964" "#8fbfdc" "#a04040" "#b05080" "#805090" "#fad08a" > "#99ad6a" "#8fbfdc")) > > You can also override individual faces in case the algorithm fails. It would be nice to have that package as part of Emacs, but it means the contributors would have to sign copyright paperwork. Would it be possible, and if so, how long would it take? Thanks.