Skip to content

Commit

Permalink
Make the Man-overstrike face gold yellow (#f3dc55)
Browse files Browse the repository at this point in the history
This looks much better IMO than the default bold, especially in dark
terminals. The face can be overridden in user's elesscfg file if
present. See https://eless.scripter.co/#user-config-override
  • Loading branch information
kaushalmodi committed Feb 22, 2018
1 parent 09917c6 commit 9448563
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 19 deletions.
29 changes: 15 additions & 14 deletions docs/eless.info
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ File: eless.info, Node: Current eless Version, Next: Code, Prev: Usage Exampl

v0.5

7a73a06
09917c6
This commit hash was retrieved before (obviously) the commit was made
where you see this. So if you see a commit hash when checking ‘eless’
version, it would always refer to the one-earlier commit.
Expand Down Expand Up @@ -1301,7 +1301,8 @@ key-bindings in this file.
;; The tango-dark theme is good except for the bright yellow hl-line face
(custom-theme-set-faces
(quote user)
(quote (hl-line ((t (:background "color-238"))))))))
(quote (hl-line ((t (:background "color-238")))))
(quote (Man-overstrike ((t (:foreground "#f3dc55" :weight normal)))))))) ;gold yellow


File: eless.info, Node: Contributing, Next: Miscellaneous, Prev: Code, Up: Top
Expand Down Expand Up @@ -1508,18 +1509,18 @@ Node: tar-mode setup47553
Node: Auto-setting of major modes48268
Node: Key bindings49129
Node: User config override51808
Node: Contributing53073
Node: How to help debug53449
Node: Development54161
Node: Preparation54390
Node: Building eless54694
Node: Sanity check of the tangled eless54922
Node: Building documentation55291
Node: Understand the changes55622
Node: Build everything55949
Node: Submitting PR56211
Node: Miscellaneous56520
Node: Example eless config in tcsh56669
Node: Contributing53166
Node: How to help debug53542
Node: Development54254
Node: Preparation54483
Node: Building eless54787
Node: Sanity check of the tangled eless55015
Node: Building documentation55384
Node: Understand the changes55715
Node: Build everything56042
Node: Submitting PR56304
Node: Miscellaneous56613
Node: Example eless config in tcsh56762

End Tag Table

Expand Down
5 changes: 3 additions & 2 deletions eless
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# Do NOT edit this manually.

eless_version='v0.5'
eless_git_hash='7a73a06'
eless_git_hash='09917c6'

h="
Script to run emacs in view-mode with some sane defaults in attempt to replace
Expand Down Expand Up @@ -503,7 +503,8 @@ function emacs_Q_view_mode {
;; The tango-dark theme is good except for the bright yellow hl-line face
(custom-theme-set-faces
(quote user)
(quote (hl-line ((t (:background "color-238"))))))))
(quote (hl-line ((t (:background "color-238")))))
(quote (Man-overstrike ((t (:foreground "#f3dc55" :weight normal)))))))) ;gold yellow
)' 2>/dev/null </dev/tty
}

Expand Down
7 changes: 4 additions & 3 deletions eless.org
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Time-stamp: <2018-02-22 10:17:50 kmodi>
# Time-stamp: <2018-02-22 12:20:02 kmodi>
#+title: eless -- A Better less
#+author: Kaushal Modi

Expand Down Expand Up @@ -266,7 +266,7 @@ git rev-parse HEAD | head -c 7
#+end_src
#+results:
#+BEGIN_SRC shell :noweb-ref git-hash
7a73a06
09917c6
#+END_SRC
This commit hash was retrieved before (obviously) the commit was made
where you see this. So if you see a commit hash when checking =eless=
Expand Down Expand Up @@ -1221,7 +1221,8 @@ key-bindings in this file.
;; The tango-dark theme is good except for the bright yellow hl-line face
(custom-theme-set-faces
(quote user)
(quote (hl-line ((t (:background "color-238"))))))))
(quote (hl-line ((t (:background "color-238")))))
(quote (Man-overstrike ((t (:foreground "#f3dc55" :weight normal)))))))) ;gold yellow
#+end_src
* Contributing :contributing:
:PROPERTIES:
Expand Down

0 comments on commit 9448563

Please sign in to comment.