From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Pedro Andres Aranda Gutierrez Newsgroups: gmane.emacs.devel Subject: Add additional style for :box Date: Mon, 7 Dec 2020 17:01:13 +0100 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000028334205b5e1f04a" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40898"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Dec 07 17:03:32 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 1kmIz6-000AW8-42 for ged-emacs-devel@m.gmane-mx.org; Mon, 07 Dec 2020 17:03:32 +0100 Original-Received: from localhost ([::1]:43638 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kmIz4-0001fB-6K for ged-emacs-devel@m.gmane-mx.org; Mon, 07 Dec 2020 11:03:30 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51604) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kmIx9-0000of-DJ for emacs-devel@gnu.org; Mon, 07 Dec 2020 11:01:31 -0500 Original-Received: from mail-lj1-x22c.google.com ([2a00:1450:4864:20::22c]:35793) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kmIx5-0000Xh-JJ for emacs-devel@gnu.org; Mon, 07 Dec 2020 11:01:31 -0500 Original-Received: by mail-lj1-x22c.google.com with SMTP id f11so3624332ljn.2 for ; Mon, 07 Dec 2020 08:01:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=Hbn2a+qxLWEdKXOP9Bp3bLr8Q96r4geTyTF/x6lKG1k=; b=KpYw7gyfECuxv73HtNHwE4ocWhcyU5nZZbtSY3EytaH5mnYb7Hjv+dIRIBZTgd5CMh hcbFdrVLijXBufY499bsi+0iroz2i/kanMAVj42mxtLTs5sVbnltpCNqUpVhFvED/Nz8 urV96TTs8u8mAh2vbDmfOiPEliC5qtzIuRwraMzyQoXki2e1GqcZ5sFNZVnpSP2xGZ9R aDjyZ3GDLAZTdLFOOKft+eVaD0AyPlEy2yWVadw/QN9DoQd6Pni8KcFHFapum3ycaqc6 oGaNpM4s1q282qF9aQ9ZLtumQ+Ehq9gvGr4o3Vm0VYJ3PCvU6ru8/1UBQQTeQEAwznZt 04Qw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=Hbn2a+qxLWEdKXOP9Bp3bLr8Q96r4geTyTF/x6lKG1k=; b=SoTZFTEFpU2OKsaCLnIFR2xDAXWLtM3LRpL0+NYA8wNcAH3m+URFTkhNRtcPU1a6VF z2O3Aw9RU8DzSsZsWUT+LZ7+HorGkx7nRrFO77iGVE1mVDBQat+vjNEzdBwfaJnQeJBb yV/bZ9XnIFdab+CEx/D7gjCXp3b7NtqGcYmxaKWKlWaZ8k2zJimA6Bld3zjL8Rmg25fs HYwXlkAN4xuT9RUjTSJL5pyJFhxeEjgXtIXFaSgTqALcurQ9Zdi7LYw77Avds/YdEnrS j4VTHzBkC2n44UEWDvN7aeviTHdxdox4meYTaeWU8ATWLhfuDvO8+tMmOIk0RnEb/KZY qGkg== X-Gm-Message-State: AOAM533zOCLnTv884BR5adQVGuHyxSoCnm3Bh3I3KdFO8TUA7Ia4ERTN Rida76RmhEJwOp0p1yzKybo+6rmerE0ZdAWFo5MFRwwBEsI= X-Google-Smtp-Source: ABdhPJwZnm0UtIpal5S2XaNoIoG4aAd9cZIOLgYKOTcwZnwelYEG2V9eKREFHK0Oz5jbeve8/6HZv6bkqwzby72wcyY= X-Received: by 2002:a2e:8315:: with SMTP id a21mr8705802ljh.29.1607356884985; Mon, 07 Dec 2020 08:01:24 -0800 (PST) Received-SPF: pass client-ip=2a00:1450:4864:20::22c; envelope-from=paaguti@gmail.com; helo=mail-lj1-x22c.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, HTML_MESSAGE=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:260494 Archived-At: --00000000000028334205b5e1f04a Content-Type: text/plain; charset="UTF-8" Hi, Working on including emacs-26 and emacs-27 faces in the default themes, a thing has come to my mind: "modern" GUI styles tend not to have 3D effects. So the 'released-button' and 'pressed-button' styles don't help creating clean faces. In my case, I redefine the tab-line and I make it inherit from fringe. I normally add some extra space, so I want to :inherit fringe :box (:line-width 3 :background ) It would be much easier if we had something like this: :inherit fringe :box (:line-width 3 :style modern) Any change I make in the fringe style (normally way above in the themes) would automatically trickle to the tab-line, making theme definition much more comfortable... Just my 2*10^6 cents, /Pedro A. -- Fragen sind nicht da um beantwortet zu werden, Fragen sind da um gestellt zu werden Georg Kreisler --00000000000028334205b5e1f04a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

Working on including ema= cs-26 and emacs-27 faces in the default themes, a thing has come to my mind= : "modern" GUI styles tend not to have 3D effects. So the 're= leased-button' and 'pressed-button' styles don't help creat= ing clean faces.

In my case, I redefine the tab-line and I make it inherit from = fringe.
I norma= lly add some extra space, so I want to
:inherit fringe :box (:line-width 3 :background <bg in = fringe>)

It would be much easier if we h= ad something like this:
:inherit fringe :box (:line-width 3 :style modern)

Any change I make in the fringe style (normally way above i= n the themes) would automatically trickle to the tab-line, making theme def= inition much more comfortable...

Just my 2*10^6 ce= nts,
/Pedro A.
--
Fragen sind nicht da um beantwortet zu werden,
Fragen sind da um gestellt zu werden
Georg Kreisler
<= /div>
--00000000000028334205b5e1f04a--