From: Pedro Andres Aranda Gutierrez <paaguti@gmail.com>
To: 46257@debbugs.gnu.org
Subject: bug#46257: 28.0.50; use flat-button in modus-operandi theme
Date: Tue, 2 Feb 2021 12:34:06 +0100 [thread overview]
Message-ID: <CAO48Bk8BxUY8hhSLL67VQv-T9Efmjf6zxTkeHYmG-o0z=ybNhg@mail.gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 281 bytes --]
This diff provides an example for the use of the :style flat-button in the
tab-line
of the modus-operandi theme. I've kept the original code commented.
Best, /Pedro A. Aranda
--
Fragen sind nicht da um beantwortet zu werden,
Fragen sind da um gestellt zu werden
Georg Kreisler
[-- Attachment #1.2: Type: text/html, Size: 513 bytes --]
[-- Attachment #2: flat-button-example.diff --]
[-- Type: text/x-patch, Size: 1535 bytes --]
diff --git a/etc/themes/modus-operandi-theme.el b/etc/themes/modus-operandi-theme.el
index c7a0f72c10..0455e6b639 100644
--- a/etc/themes/modus-operandi-theme.el
+++ b/etc/themes/modus-operandi-theme.el
@@ -4545,10 +4545,15 @@ modus-operandi-theme-scale
`(tab-line ((,class :height 0.95 :background ,bg-tab-bar :foreground ,fg-main)))
`(tab-line-close-highlight ((,class :foreground ,red)))
`(tab-line-highlight ((,class :background ,blue-subtle-bg :foreground ,fg-dim)))
- `(tab-line-tab ((,class :inherit bold :box (:line-width 2 :color ,bg-tab-active)
+ ;; Use flat-button style (don't need to repeat bg colour)
+ ;; `(tab-line-tab ((,class :inherit bold :box (:line-width 2 :color ,bg-tab-active)
+ ;; :background ,bg-tab-active :foreground ,fg-main)))
+ `(tab-line-tab ((,class :inherit bold :box (:line-width 2 :style flat-button)
:background ,bg-tab-active :foreground ,fg-main)))
`(tab-line-tab-current ((,class :inherit tab-line-tab)))
- `(tab-line-tab-inactive ((,class :box (:line-width 2 :color ,bg-tab-inactive)
+ ;; `(tab-line-tab-inactive ((,class :box (:line-width 2 :color ,bg-tab-inactive)
+ ;; :background ,bg-tab-inactive :foreground ,fg-dim)))))
+ `(tab-line-tab-inactive ((,class :box (:line-width 2 :style flat-button)
:background ,bg-tab-inactive :foreground ,fg-dim)))))
;;;; Emacs 28+
(when (>= emacs-major-version 28)
next reply other threads:[~2021-02-02 11:34 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-02 11:34 Pedro Andres Aranda Gutierrez [this message]
2021-02-02 13:24 ` bug#46257: 28.0.50; use flat-button in modus-operandi theme Basil L. Contovounesios
2021-02-02 18:46 ` Protesilaos Stavrou
2021-02-02 19:21 ` Pedro Andres Aranda Gutierrez
2021-02-04 8:40 ` Lars Ingebrigtsen
2021-02-04 12:09 ` Protesilaos Stavrou
2021-02-04 16:16 ` Lars Ingebrigtsen
2021-02-06 10:33 ` Basil L. Contovounesios
2021-02-03 17:22 ` Juri Linkov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAO48Bk8BxUY8hhSLL67VQv-T9Efmjf6zxTkeHYmG-o0z=ybNhg@mail.gmail.com' \
--to=paaguti@gmail.com \
--cc=46257@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.