[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/modus-vivendi-theme 17c760f 065/110: Internal: refine f
From: |
Stefan Monnier |
Subject: |
[elpa] externals/modus-vivendi-theme 17c760f 065/110: Internal: refine function for conditional 3D box |
Date: |
Wed, 29 Apr 2020 21:40:08 -0400 (EDT) |
branch: externals/modus-vivendi-theme
commit 17c760fb42b27e886b8f46bfbd81236432de83b3
Author: Protesilaos Stavrou <address@hidden>
Commit: Protesilaos Stavrou <address@hidden>
Internal: refine function for conditional 3D box
---
modus-operandi-theme.el | 10 ++++++----
modus-vivendi-theme.el | 10 ++++++----
2 files changed, 12 insertions(+), 8 deletions(-)
diff --git a/modus-operandi-theme.el b/modus-operandi-theme.el
index 1a0dbb7..30aaae3 100644
--- a/modus-operandi-theme.el
+++ b/modus-operandi-theme.el
@@ -410,14 +410,16 @@ between foreground and background is >= 7:1)."
;; Helper functions that are meant to ease the implementation of the
;; above customisation options.
-(defun modus-operandi-theme-modeline-box (col3d col &optional btn)
+(defun modus-operandi-theme-modeline-box (col3d col &optional btn int)
"Control the box properties of the mode line.
COL3D is the border that is intended for the three-dimensional modeline.
COL applies to the two-dimensional modeline.
-Optional BTN provides the 3d button style."
- (let ((style (if btn 'released-button nil)))
+Optional BTN provides the 3d button style.
+Optional INT defines a border width."
+ (let* ((style (if btn 'released-button nil))
+ (int (if int int 1)))
(if modus-operandi-theme-3d-modeline
- (list :line-width 1 :color col3d :style style)
+ (list :line-width int :color col3d :style style)
(list :line-width 1 :color col :style nil))))
(defun modus-operandi-theme-modeline-props (bg3d fg3d &optional bg fg)
diff --git a/modus-vivendi-theme.el b/modus-vivendi-theme.el
index 2a19854..48a31bb 100644
--- a/modus-vivendi-theme.el
+++ b/modus-vivendi-theme.el
@@ -410,14 +410,16 @@ between foreground and background is >= 7:1)."
;; Helper functions that are meant to ease the implementation of the
;; above customisation options.
-(defun modus-vivendi-theme-modeline-box (col3d col &optional btn)
+(defun modus-vivendi-theme-modeline-box (col3d col &optional btn int)
"Control the box properties of the mode line.
COL3D is the border that is intended for the three-dimensional modeline.
COL applies to the two-dimensional modeline.
-Optional BTN provides the 3d button style."
- (let ((style (if btn 'released-button nil)))
+Optional BTN provides the 3d button style.
+Optional INT defines a border width."
+ (let* ((style (if btn 'released-button nil))
+ (int (if int int 1)))
(if modus-vivendi-theme-3d-modeline
- (list :line-width 1 :color col3d :style style)
+ (list :line-width int :color col3d :style style)
(list :line-width 1 :color col :style nil))))
(defun modus-vivendi-theme-modeline-props (bg3d fg3d &optional bg fg)
- [elpa] externals/modus-vivendi-theme c3c743b 075/110: Minor correction and clarification in the README, (continued)
- [elpa] externals/modus-vivendi-theme c3c743b 075/110: Minor correction and clarification in the README, Stefan Monnier, 2020/04/29
- [elpa] externals/modus-vivendi-theme 0ffe48d 079/110: Update README with minor clarifications, Stefan Monnier, 2020/04/29
- [elpa] externals/modus-vivendi-theme 685c8c7 089/110: REMOVE table of contents: not working with GitLab, Stefan Monnier, 2020/04/29
- [elpa] externals/modus-vivendi-theme 3f4e09f 019/110: Add support for HELPFUL, Stefan Monnier, 2020/04/29
- [elpa] externals/modus-vivendi-theme 2f77706 021/110: Refine SELECTRUM faces (more faithful to original), Stefan Monnier, 2020/04/29
- [elpa] externals/modus-vivendi-theme d32b2c8 024/110: Improve style of DIFF-HL "revert" command, Stefan Monnier, 2020/04/29
- [elpa] externals/modus-vivendi-theme 4de27df 025/110: Add support for SWOOP, Stefan Monnier, 2020/04/29
- [elpa] externals/modus-vivendi-theme 110a51f 026/110: Add support for SWITCH-WINDOW, Stefan Monnier, 2020/04/29
- [elpa] externals/modus-vivendi-theme 7b52738 039/110: Add support for HIGHLIGHT-SYMBOL, Stefan Monnier, 2020/04/29
- [elpa] externals/modus-vivendi-theme 8ca7fe2 057/110: Add support for SPELL-FU, Stefan Monnier, 2020/04/29
- [elpa] externals/modus-vivendi-theme 17c760f 065/110: Internal: refine function for conditional 3D box,
Stefan Monnier <=
- [elpa] externals/modus-vivendi-theme efdb292 062/110: Minor tweak to 3D modeline foreground, Stefan Monnier, 2020/04/29
- [elpa] externals/modus-vivendi-theme bd57c10 073/110: Clarify toggling of customisations in README, Stefan Monnier, 2020/04/29
- [elpa] externals/modus-vivendi-theme b874c79 058/110: NEW CUSTOM OPTION: 3d modeline for active window, Stefan Monnier, 2020/04/29
- [elpa] externals/modus-vivendi-theme 9481730 076/110: New palette subset of nuanced accented backgrounds, Stefan Monnier, 2020/04/29
- [elpa] externals/modus-vivendi-theme 5f8c9d5 078/110: Update README: improve discovery of custom options, Stefan Monnier, 2020/04/29
- [elpa] externals/modus-vivendi-theme bba4e77 045/110: Add support for IFLIPB, Stefan Monnier, 2020/04/29
- [elpa] externals/modus-vivendi-theme 4e88341 051/110: Refine WRITEGOOD-MODE: use new lang colours, Stefan Monnier, 2020/04/29
- [elpa] externals/modus-vivendi-theme 657adea 053/110: Draw a subtle border around the inactive modeline, Stefan Monnier, 2020/04/29
- [elpa] externals/modus-vivendi-theme 8336e5a 061/110: Refine 3D modeline conditionality and tweak looks, Stefan Monnier, 2020/04/29
- [elpa] externals/modus-vivendi-theme 7afc624 063/110: Improve README, especially docs on custom options, Stefan Monnier, 2020/04/29