fniessen / emacs-leuven-theme

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
GNU General Public License v3.0
696 stars 59 forks source link

Modline #13

Closed zeltak closed 9 years ago

zeltak commented 9 years ago

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

fniessen commented 9 years ago

Hi Zeltak,

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

I'm fine. Great anniversary. For me, it'll be 12 years soon ;-)

I just tried another theme today for a few seconds

OK, so no fear for me ;-)

and noticed it also themes the modline. Does leuven has an option to do that? currently when using leuven the modline is colored an ugly blue.

Note that I have no objection about you finding the blue ugly, but on the contrary I find it nice myself (with a 1-px black line border) -- otherwise, I'd implemented something else.

I'm not sure about what you mean by having an option to "theme" the modeline... Can you be more explicit, or even give an example?

Note as well that I do have an "heavily" customized modeline in my Emacs, thanks to PowerLine. See my emacs-leuven project for more information about it.

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?

There are many ways to get your own theme based on mine. If that's just a couple of modifications, you can adapt some faces with "set-face-attributes" (see intro page, "Customize it" section).

If that's much more, you can either fork my project on GitHub, or clone it, and commit your changes on top of my HEAD (and rebase them, each time you pull a new version).

If it's even more, or if you want to switch between the official Leuven-theme and your own version, yes, that makes sense to get a new name for your own theme.

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

Thanks!