[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/eglot-inactive-regions e7be73b354 15/66: Invert shading fa
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/eglot-inactive-regions e7be73b354 15/66: Invert shading factor |
Date: |
Fri, 6 Dec 2024 06:59:52 -0500 (EST) |
branch: elpa/eglot-inactive-regions
commit e7be73b3545c91bf65f161ed7186a044b7823e64
Author: Filippo Argiolas <filippo.argiolas@gmail.com>
Commit: Filippo Argiolas <filippo.argiolas@gmail.com>
Invert shading factor
Shading is the amount current default background will be blended with
foreground. The higher the shading the more the inactive background
color will differ from the active regions.
---
clangd-inactive-regions.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/clangd-inactive-regions.el b/clangd-inactive-regions.el
index 090e959ffc..320e123517 100644
--- a/clangd-inactive-regions.el
+++ b/clangd-inactive-regions.el
@@ -46,7 +46,7 @@ foreground and background color and apply to the foreground of
the inactive region. The lower the blending factor the more text
will look dim.")
-(defvar clangd-inactive-regions-shading 0.9
+(defvar clangd-inactive-regions-shading 0.08
"Blending factor for the `shade-background' method. Used to mix
background and foreground and shade inactive region
background. The higher the less visible the shading will be.")
@@ -206,8 +206,8 @@ foreground colors, if the face doesn't exist yet create it."
(when (string= clangd-inactive-regions-method "shade-background")
(set-face-background 'clangd-inactive-regions-shade-face
(clangd-inactive-regions--color-blend
- (face-background 'default)
(face-foreground 'default)
+ (face-background 'default)
clangd-inactive-regions-shading)))
(let ((ranges (copy-tree clangd-inactive-regions--ranges)))
(dolist (range ranges)
- [nongnu] elpa/eglot-inactive-regions 4f5ab3203c 17/66: No need to copy-tree ranges, (continued)
- [nongnu] elpa/eglot-inactive-regions 4f5ab3203c 17/66: No need to copy-tree ranges, ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions 5528f4d3e1 03/66: fix gpl preamble, ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions 4fc6480bed 18/66: Move forward if forward-same-syntax does not, ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions 2e52c1a10a 19/66: Use my own forward function, ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions 3876101626 31/66: Update README., ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions b0ade8c12e 21/66: Handle face list properties, ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions 3d3280c415 48/66: rename to eglot-inactive-regions.el, ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions 475864a1a3 65/66: exclude screenshots from the tarball, ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions 17c9db32d3 02/66: initial commit, ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions e15124a898 07/66: Rewrite the darkening logic using fontify-region, ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions e7be73b354 15/66: Invert shading factor,
ELPA Syncer <=
- [nongnu] elpa/eglot-inactive-regions b81249c566 23/66: Update README with caveats section, ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions 4b01aba42f 29/66: Fix package-lint warnings, ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions 2346944d4b 05/66: Add clean up and refresh functions, ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions 3ba8e528f1 06/66: allow to change opacity on the fly, ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions 10f1772888 09/66: Drop eglot from the name, ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions 2736b46310 10/66: Update dependencies and some minor changes, ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions 15d6db2d6d 13/66: Add some helper methods to set UI options, ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions ae67afac14 12/66: Use overlays instead of changing text properties, ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions 343abb100c 26/66: Update README.md, ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions e25016ddb8 22/66: Do not flush all inactive regions, ELPA Syncer, 2024/12/06