Coder Social home page Coder Social logo

fniessen / emacs-leuven-theme Goto Github PK

View Code? Open in Web Editor NEW
680.0 20.0 58.0 3.77 MB

This Emacs theme reduces eye strain with a light, high-contrast color scheme, syntax highlighting, and support for multiple modes. Enhance your coding experience! #emacs #theme #coding #orgmode

License: GNU General Public License v3.0

Emacs Lisp 97.32% Shell 0.43% Python 2.26%

emacs-leuven-theme's Introduction

Leuven-theme

http://img.shields.io/:license-gpl-blue.svg http://melpa.org/packages/leuven-theme-badge.svg https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif

Looking for an awesome Emacs color theme? Looking for one of the best light themes for Org mode, and for other modes too? Here’s the place to find one!

Welcome to the custom Leuven theme, an elegant and popular color theme for light backgrounds, with built-in style for many components such as Org mode, Gnus, Dired+ and EDiff. Make it yours!

Tweet

ADVERT: Elevate your Emacs skills in Paris, Rotterdam, Leuven or Valencia!

Unlock the power of Emacs in Valencia! Join my next exclusive “Emacs Boost” course on April 11th to 12th, 2024!

Ready to supercharge your productivity and become an Emacs ninja? Look no further!

What you’ll learn:

  • Master Emacs from the basics to advanced tricks.
  • Boost your editing efficiency and streamline your workflow.
  • Customize Emacs to fit your unique needs.
  • And much more!

Upcoming course details:

  • Date: April 11th to 12th (Thu + Fri)
  • Location: Valencia, Spain
  • Audience: Open to anyone interested in Emacs, from beginners to advanced users.

Why choose my course?

  • Expert instructor with 24 years of Emacs experience.
  • Hands-on exercises to reinforce your learning.
  • Networking opportunities with like-minded Emacs enthusiasts.
  • Personalized attention.

Don’t miss this opportunity to take your Emacs skills to the next level!
Seats are limited, so reserve yours today.

Visit https://emacsboost.com/en/ for more information, other dates and other locations, and to reserve your seat.

See you in Valencia! #EmacsBoostValencia

Screenshots

Org buffer (with code)

Fontified source code blocks:

./images/fontified-src-code-blocks.png

Note that, to get the whole heading lines fontified, you need to add the following line into your .emacs file:

;; Fontify the whole line for headings (with a background color).
(setq org-fontify-whole-heading-line t)

Agenda

Agenda with task list:

./images/agenda-and-task-list.png

Quotations

“Your Org-enhancing color-theme “leuven” ROCKS! … and not just for Org.”
Johan S.

“Amazing theme. I’ve been switching themes like socks the past 3 years and finally found a theme that fits me exactly.”
zeltak

“The Leuven theme has quickly become my favorite – the colors are great and the visual details for Org mode are just wonderful.”
Steve B.

“I’m using leuven theme, which is a great theme for Org-mode. […] I cannot use another emacs-theme.”
Joseph Vidal-Rosset

“Leuven theme is awesome!”
Joost Diepenmaat

“I still am really enjoying using the theme – wish I’d had it years back…”
V.

“I’ve been using leuven-theme, which is a fantastic theme for Org-mode files.”
thnetos

“I love leuven for it’s magit faces. E.g. the different sections of the magit status screen stand out much better with leuven than with any other theme I’ve tried. It’s a good looking theme but what makes it stand out is the attention the author has put into all of the different faces you find everywhere.”
UnwashedMeme

NEW! Dark version

There is now a dark version of Leuven-theme, automagically built by Thibault Polge.

./images/leuven-theme-dark.png

It surely will be improved over time, but this is a major first step into the right direction. A big thanks to him!

Install it

Though Leuven-theme has been added in Emacs 24.4 (October 2014), you can get a fresh version of it, at any time, from MELPA or from GitHub.

Install the ELPA package

In Emacs 24+, M-x list-packages is the recommended way to list and install packages.

MELPA keeps stable releases of Leuven theme.

See http://melpa.milkbox.net/#installing for more information on how to install leuven-theme:

  1. Just add MELPA to package-archives,
    ;; Archives from which to fetch.
    (setq package-archives
          (append '(("melpa" . "http://melpa.milkbox.net/packages/"))
                  package-archives))
        
  2. Call list-packages,
  3. Search for leuven-theme,
  4. Mark it for installation with i, and
  5. Execute the install action with x.

Install the Git version

Get the full Git repository at https://github.com/fniessen/emacs-leuven-theme using the following command:

git clone https://github.com/fniessen/emacs-leuven-theme

Add the following in your .emacs file:

(add-to-list 'custom-theme-load-path "/PATH/TO/EMACS-LEUVEN-THEME/lisp")
(load-theme 'leuven t)                  ; For Emacs 24+.

Restart Emacs.

Dark-theme

To load the dark theme, add the following to your .emacs file:

(load-theme 'leuven-dark t)

To use the dark theme with use-package, use the following:

(use-package leuven-theme
  :config
  (load-theme 'leuven-dark t))

Restart Emacs.

Customize it

You don’t like my large Org level-1 headings or my large Org agenda-date heading (though I made them larger on purpose!)?

Then, set the variable leuven-scale-outline-headlines to nil before the theme is loaded.

(setq leuven-scale-outline-headlines nil)
;; For dark theme:
(setq leuven-dark-scale-outline-headlines nil)

Other settings you might want to consider:

(setq leuven-scale-org-agenda-structure nil)
(setq leuven-scale-org-document-title nil)
(setq leuven-scale-volatile-highlight nil)
;; For dark theme:
(setq leuven-dark-scale-org-agenda-structure nil)
(setq leuven-dark-scale-org-document-title nil)
(setq leuven-dark-scale-volatile-highlight nil)

The value can be:

  • nil for unscaled,
  • t for using the theme default, or
  • a scaling number (that you choose to your liking!).

One way to do that is to it through M-x customize-variable and then restart Emacs.

Contributing

Issues

Report issues and suggest features and improvements on the GitHub issue tracker.

Patches

I love contributions! Patches under any form are always welcome!

Donations

If you use the emacs-leuven-theme project and feel it is making your life better and easier, you can show your appreciation and help support future development by making a donation through PayPal. Thank you!

Regardless of the donations, emacs-leuven-theme will always be free both as in beer and as in speech.

License

Emacs-Leuven-Theme
Copyright (C) 2003-2024 Free Software Foundation, Inc.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

http://img.shields.io/:license-gpl-blue.svg http://melpa.org/packages/leuven-theme-badge.svg https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif

emacs-leuven-theme's People

Contributors

cmburn avatar colonelpanic8 avatar cpbotha avatar dalugm avatar doolio avatar fniessen avatar jlokier avatar john2x avatar mrcnski avatar skangas avatar sntag avatar thblt avatar yiqiaowang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

emacs-leuven-theme's Issues

Expected colours for the different org babel blocks?

For me, inside an org buffer an org babel quote block does not appear to have the expected background colour. There is also this (IMO ugly) trailing grey/blue line (see below) which takes up the last line inside the block.

ob-quote-blk-leuven-theme

I presume the following is the relevant line of emacs lisp. From this it appears to have the same background colour set as the generic org babel block colours (see screenshot further down) yet the above screenshot suggests that is not the case.

ob-quote-blk-leuven-theme_1

Now if we consider the org babel example block it too does not appear to have the expected background colour. I have the following:

ob-example-blk-leuven-theme

Yet, this following line of emacs lisp suggests I should see a different background colour to both a quote and src block.

ob-example-blk-leuven-theme_1

I presume the following lines of emacs lisp define the generic org babel block colours.

ob-blk-leuven-theme_1

For completeness this is how a src block appears:

ob-src-blk-leuven-theme

Do these screenshots appear as you expect?

Hopefully, you can make out the colours in the above screenshots. I've used rainbow-mode to fontify the colour values in the code. Thanks for leuven and your time.

How to see the menu with your theme

Good afternoon, I have a question about how to see the menu. I am in fedora Kde, and in the emacs does not appear the menu. How to make it appeared?

Here is my init.el:

;; Added by Package.el.  This must come before configurations of
;; installed packages.  Don't delete this line.  If you don't want it,
;; just comment it out by adding a semicolon to the start of the line.
;; You may delete these explanatory comments.
(package-initialize)

(add-to-list 'load-path "/home/jose/workspace_git/emacs-leuven-master")
(require 'emacs-leuven)
(add-to-list 'package-archives
       '("melpa" . "http://melpa.org/packages/") t)

(custom-set-variables
 ;; custom-set-variables was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 '(package-selected-packages
   (quote
    (elpy elpypy ag ant anzu auctex auto-complete auto-highlight-symbol auto-package-update avy back-button bbdb bookmark+ boxquote circe color-identifiers-mode company company-tern company-quickhelp csv-mode cygwin-mount dictionary diff-hl diminish dired+ dumb-jump emr ess expand-region fancy-narrow fill-column-indicator flycheck flycheck-color-mode-line flycheck-ledger fuzzy git-commit git-messenger git-timemachine google-this google-translate goto-chg graphviz-dot-mode helm helm-ag helm-descbinds helm-ls-git helm-projectile helm-swoop hide-lines hideshowvis highlight-numbers hl-anything howdoi htmlize indent-guide jquery-doc js2-mode js2-refactor json-mode key-chord litable idle-require info+ interaction-log ledger-mode leuven-theme markdown-mode multi-term multiple-cursors org-plus-contrib pager powerline rainbow-delimiters rainbow-mode skewer-mode sqlup-mode tern tidy smart-comment smartparens sql-indent unbound undo-tree volatile-highlights web-mode which-key ws-butler yasnippet ztree))))
(custom-set-faces
 ;; custom-set-faces was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 )

Thanks in advance.

Add colors for term-mode

leuven does not have any colors set for term mode, so whatever colors were active in the last them are displayed instead

[REQUEST] Dark version of theme

Leuven is in my opinion the perfect theme. I would like to request a dark version of this theme for use with emacs on the terminal. When using a 'white on black' terminal theme, it would be great to have a matching Leuven theme. Do you have any plans on making a dark version of this amazing theme?

add support for audoload, better install via melpa

Something like the below code should be added to leuven-theme.el (I took this from naquadah-theme.el):

 ;;;###autoload
 (when (and (boundp 'custom-theme-load-path) load-file-name)
    (add-to-list 'custom-theme-load-path
               (file-name-as-directory (file-name-directory load-file-name))))

Then the theme folder is added to custom-theme-load-path when installed over melpa.

hl-line-mode and org macros

Using leuven theme, if hl-line-mode is on, the text of org-macros become impossible to read on the current line.
Line above:
screen shot 2016-03-10 at 10 25 47
On the line:
screen shot 2016-03-10 at 10 26 00

I guess the problem is that the org-macro face has Foreground as white, and this is not inverted with hl-line.

Is this possible to fix this on the leuven side, or is this an hl-line-mode bug?

Inconsistencies in background for org-ellipsis

Hi, if I use a custom ellipsis for org-mode the background color also changes.

This is what it looks like by default:

default_ellipsis

and this is what it looks like if I change the ellipsis using (setq org-ellipsis " ▼" )

custom_ellipsis

Is there a way to instead change the background color to match the rest of the line?

P.S. Thanks for the excellent theme. I can't imagine using org-mode without it :)

[Request] Structured Haskell Mode

Hi there, it'd be great if you could setup some theme variables for Structured Haskell Mode.

Here's an excerpt from the readme:

You'll want to customize these two variables: shm-quarantine-face and shm-current-face to something that better suites your color theme.

The following are apparently pretty good for solarized-light.

(set-face-background 'shm-current-face "#eee8d5")
(set-face-background 'shm-quarantine-face "lemonchiffon")

Thanks!

Highlight narrow nobreak-space

I really like how Leuven highlights nobreak-space. When I write in French, I use narrow nobreak-space before some punctuation. Could it be possible to highlight those as well?

Here is what describe-char says about this character:

            character:   (displayed as  ) (codepoint 8239, #o20057, #x202f)
    preferred charset: unicode (Unicode (ISO10646))
code point in charset: 0x202F
               script: symbol
               syntax: .    which means: punctuation
             category: .:Base
             to input: type "C-x 8 RET HEX-CODEPOINT" or "C-x 8 RET NAME"
          buffer code: #xE2 #x80 #xAF
            file code: #xE2 #x80 #xAF (encoded by coding system utf-8-unix)
              display: by this font (glyph code)
    mac-ct:-*-Source Code Pro-normal-normal-normal-*-13-*-*-*-m-0-iso10646-1 (#x602)

Character code properties: customize what to show
  name: NARROW NO-BREAK SPACE
  general-category: Zs (Separator, Space)
  decomposition: (noBreak 32) (noBreak ' ')

Decrease font size of agenda days

How do I decrease the font-size of days showing up in my agenda? They take too much space for serious stuff. :D I want them to be the same size as level 1 headings.

Dark theme improvement

I love leuven theme very much. It's great for org files especially. But the dark theme is not good as light theme. IMO It's too dark and not colorful.
Please improve and thanks in advance!

How to find out if Emacs is using git Leuven or built-in leuven?

I have been using the Emacs built-in Leuven as my default theme.

I would like to start using its latest version from this git repository. I have installed it and set up properly custom-theme-load-path, but how can one be sure the latest version is loaded instead of the built-in one?

Thank you for this very nice theme, it makes a big difference.

`magit-blame-header` face is too large

The magit-blame-header face is so large it becomes hard to read in a small Emacs window. See the pictures below for a comparison with a smaller face.

Current face:

screenshot from 2014-11-22 10 08 41

Smaller face (exemplified by inheriting magit-diff-file-header):

screenshot from 2014-11-22 10 08 54

tags, number of spaces, and visual-line-mode

When using bigger headlines (leuven-scale-outline-headlines), the number of spaces before the tags is not modified, hence tags end up outside the frame (my frames are about 85 characters wide). This is even worse when using visual-line-mode as headlines with tags now take two lines.

Is it possible to reduce the number of spaces before the tags when using bigger headlines?

Option to not supersize

I love this theme, but I don't like the increased size in the next-error face since it pushes other text down momentarily as it highlights. Would it be possible to get an option to disable this, or alternatively a way to customize the theme where I can use the colors defined below;; Leuven generic colors. without needing to duplicate their definition in my customization?

Undefined variables in leuven-theme.el

Are these variables supposed to be defined somewhere in the file?

Symbol's value as variable is void: diff-refine-added
Symbol's value as variable is void: diff-refine-removed

Background for headlines

The background on the headlines are only as wide as the text, not for the complete width of the window (like in your screenshot). It works for code-blocks but not for headlines.

2014-03-06-221417_722x356_scrot

I use GNU Emacs 24.3.1 (with GTK+ 3.10.7)

No releases in MELPA-Stable

I have been using MELPA-Stable for some time but it seems to be missing Leuven-theme. Is it possible to add release tags and add your package to MELPA-Stable?

bold and bold-italic faces force black foreground

   `(bold ((,class (:weight bold :foreground "black"))))
   `(bold-italic ((,class (:weight bold :slant italic :foreground "black"))))

Is this intentional? font-lock-regexp-grouping-backslash inherits from bold, and this way grouping constructs, in addition to bold style, are colored in black.

With the default theme, they are just bold, but retain the foreground color of the string face.

change colors of the lucid toolkit?

Hi, how are you?

well after about 5 years of using leuven i finally encountered something new :)

i changes the emacs GUI toolkit to lucid to avoid an X bug and i get really ugly faces in the menu

https://paste.xinu.at/5DBU/

i saw that other themes (such as solarized) change the faces of the menu

any clue if we can have that in leuven?

best

Z

A question on code blocks in Leuven

Hya again

First of all let me thank you again for this amazing theme, ive been switching themes like socks the past 3 years and finally found a theme that fits me exactly, thx alot for your work!!

i have a small question though, the theme seems to allow customizing the org-mode bg/fg colors of the code block IE

(org-block-background ((,class (:background "#FFFFE0"))))
(org-block-begin-line ((,class (:underline "#A7A6AA" :foreground "#555555" :background "#E2E1D5"))))
`(org-block-end-line ((,class (:overline "#A7A6AA" :foreground "#555555" :background "#E2E1D5"))))

I was wondering if this could be extended in anyway to have a few different code block colors so that IE a sh block would have a different bg then a elisp code block?

best and thx again

z.

Modline

Hi

how are you? i soon ill be celebrating soon 2 years using leuven :)

I just tried another theme today for a few seconds and noticed it also themes the modline.
i noticed that leuven has a mode line theme section which looks like this:

;; Mode line faces
(mode-line ((,class (:box (:line-width 1 :color "#1A2F54") :foreground "#853333" :background "black")))) (mode-line-inactive ((,class (:box (:line-width 1 :color "#4E4E4C") :foreground "#F0F0EF" :background "#9B9C97"))))
(mode-line-buffer-id ((,class (:weight bold :foreground "white")))) (mode-line-emphasis ((,class (:weight bold :foreground "white"))))
`(mode-line-highlight ((,class (:foreground "yellow"))))

currently when i change the above the mode line is still colored an ugly blue.

Also off topic i may want to give a try to create a solarized leuven :) since i dont know Lisp. how would i "clone" the theme so i can load it side by side with classic leuven? do i need to change every instance of "leuven" to "sleuven" etc?

best and thx again for this amazing theme that has been powering my emacs last 2 years :)

z

Darker foreground for linum?

More of a suggestion rather than a bug.

The line numbers are almost invisible with the leuven theme when linum-mode is activated.
Is it possible to just use a black foreground?

I always customize linum face when using leuven as I don't see clearly the line numbers.

(set-face-attribute 'linum nil :foreground "black")

Unmodified Leuven face-attribute with linum-mode
linum-orig-fg

Black foreground with linum-mode
linum-black-fg

Thanks

Agenda font sizes causes org-column view to be misaligned

When I hit C-c C-x C-c in org-agenda, the columns for the column view are not aligned due to the section headers:

screenshot_2017-04-12_10-44-46

If I invoke org-columns in my regular org-mode file, the headlines (which are usually larger) use a smaller font so that the table is aligned, see the before and after pictures:

before:
screenshot_2017-04-12_11-01-28
after:
screenshot_2017-04-12_11-01-42

The cursor and lisp-mode can not see clearly

In the Easy Customize buffer, Your cursor color and input box color seems too close.

Colorblind people with poor eyesight (....me) will not be able to distinguish the cursor and input box.

Please consider modifying the cursor color to make it deeper or lighter.

and in Emacs-Lisp buffer, Your highlight option is very small, it seems only bright in the function head, and the parameters look exactly the same between.

So please adjust colors of your theme, so that more people see clearly.

Thank you.

Customize :
virtualbox_arch linux_11_07_2017_16_25_48

Emacs-lisp:
virtualbox_arch linux_12_07_2017_17_03_52
virtualbox_arch linux_12_07_2017_17_10_46

Compiler warning when installing from MELPA

When installing leuven-theme from MELPA, the following warning occurs:

In end of data:
leuven-theme-pkg.el:2:1:Warning: the function `define-package' is not known to
    be defined.

Perhaps it might be a good idea to add an autoload?

[FEATURE] Leuven for highlighting class and method names

Hi,

I've been using the Leuven theme for a while, and it's really great!
As others said, not just for org-mode :)

Recently I've added highlighting for python classes and method definitions. It's pretty rudimentary, but it works. Maybe others like it as well, and maybe it's a nice feature to have not just for Python.

You can view the example here: https://gist.github.com/MelleB/920ad8e6c9d68a50b0670f72d324b284

Feel free to close this issue if you don't like the suggestion.

leuven-theme

Hi, this theme is fantastic and really catches my heart.
Do you have any plan to transplant it for zsh?

highlight-sexp-mode

Highlight-sexp-mode doesn't work well with this theme because a value for the variable hl-sexp-background-color is missing.

Here's what doing (setf hl-sexp-background-color "#efebe9") does

image

hidestars / org-indent-mode only hiding level 2 stars

With #+STARTUP: hidestars, orgmode hides the initial stars in headings. See the attached solarized-light theme rendering for an example of what this looks like. However, somehow this only works on level 2 headings for Leuven, with all deeper headings it does not manage to hide the leading starts.

#+STARTUP: hidestars

* level 1 heading

** level 2 heading

*** level 3

**** level 4

***** level 5

image

image

minibuffer height changes constantly when moving cursor across orgmode buffer

When I move cursor up/down in orgmode, the minibuffer will echo the heading and since the heading line is taller than others, the height of minibuffer will change constantly when I do so. I find it's annoying. Is there a way to fix this? Thanks!

BTW, the variable resize-mini-windows is set to grow-only, and leuven-scale-outline-headlines and leuven-scale-org-agenda-structure are both set to nil.

Success and error faces hard to read

I find the current success face is hard to read against the blue mode-line:

success face example

The error face is a bit better, but still a bit hard on the eyes:

error face example

Any chance they could be tweaked a bit?

By the way, I want to thank you for providing this overall awesome Emacs theme. :)

magit highlight background is dark even in light themes

Description :octocat:

In light themes, the magit line highlight background is a dark grey, which makes the line illegible.

Reproduction guide 🪲

I haven't been able to isolate this, but here's what reproduces it on my machine:

  • Start Emacs with leuven-theme selected
  • Open magit-status in a Git-controlled file with SPC g s
  • Move cursor to e.g. a commit

Observed behaviour: 👀 💔
Highlighted line background is gray20.

Expected behaviour: ❤️ 😄
Highlighted line background is something light

System Info 💻

  • OS: gnu/linux
  • Emacs: 25.2.2
  • Spacemacs: 0.200.13
  • Spacemacs branch: master (rev. c7a103a77)
  • Graphic display: t
  • Distribution: spacemacs
  • Editing style: hybrid
  • Completion: helm
  • Layers:
(yaml javascript helm auto-completion better-defaults colors themes-megapack emacs-lisp git markdown org
      (shell :variables shell-default-height 30 shell-default-position 'bottom)
      spell-checking syntax-checking version-control python clojure terraform docker)
  • System configuration features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11

Extra info

At first I thought this might be related to magit/magit#1922 but that seems way too old to still be relevant.

Partial output from describe-char on an affected line:

             position: 171 of 606 (28%), column: 31
            character: t (displayed as t) (codepoint 116, #o164, #x74)
    preferred charset: ascii (ASCII (ISO646 IRV))
code point in charset: 0x74
               script: latin
               syntax: w 	which means: word
             category: .:Base, L:Left-to-right (strong), a:ASCII, l:Latin, r:Roman, u:Lowercase
             to input: type "C-x 8 RET 74" or "C-x 8 RET LATIN SMALL LETTER T"
          buffer code: #x74
            file code: #x74 (encoded by coding system utf-8)
              display: by this font (glyph code)
    xft:-CTDB-Fira Code-normal-normal-normal-*-18-*-*-*-m-0-iso10646-1 (#xE9)

Character code properties: customize what to show
  name: LATIN SMALL LETTER T
  general-category: Ll (Letter, Lowercase)
  decomposition: (116) ('t')

There are 2 overlays here:
 From 140 to 210
  evaporate            t
  face                 magit-section-highlight
 From 141 to 209
  before-string        [Show]
  evaporate            t


There are text properties here:
  keymap               [Show]
  magit-section        [Show]

The culprit appears to be magit-section-highlight face:

Face: magit-section-highlight (sample) (customize this face)

Documentation:
Face for highlighting the current section.

Defined in ‘magit-section.el’.

           Family: unspecified
          Foundry: unspecified
            Width: unspecified
           Height: unspecified
           Weight: unspecified
            Slant: unspecified
       Foreground: unspecified
DistantForeground: unspecified
       Background: grey20
        Underline: unspecified
         Overline: unspecified
   Strike-through: unspecified
              Box: unspecified
          Inverse: unspecified
          Stipple: unspecified
             Font: unspecified
          Fontset: unspecified
          Inherit: unspecified

(note grey20 background)

That face is defined as follows:

(defface magit-section-highlight
  '((((class color) (background light)) :background "grey95")
    (((class color) (background  dark)) :background "grey20"))
  "Face for highlighting the current section."
  :group 'magit-faces)

... which makes no sense -- clearly levuen is a light theme. I can reproduce with a number of other light

More contrast when highlighting lines

I often use hl-line-flash from the hl-line+ package to orient myself in a buffer. I found the default leuven highlight color to be hard to see, so I replaced it with a bright red. Would that be reasonable change to make to the official color scheme, or do you feel strongly about the low contrast yellow?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.