Smaller line numbers
This commit is contained in:
parent
055d16a3c4
commit
1c15aae678
@ -46,6 +46,10 @@
|
|||||||
"Petrol light color theme.")
|
"Petrol light color theme.")
|
||||||
|
|
||||||
(let* ((class '((class color) (min-colors 89)))
|
(let* ((class '((class color) (min-colors 89)))
|
||||||
|
;;,--------------------
|
||||||
|
;;| General variables.
|
||||||
|
;;`--------------------
|
||||||
|
(petrol-line-numbers-height (- (face-attribute 'default :height) 10))
|
||||||
|
|
||||||
;;,-----------------
|
;;,-----------------
|
||||||
;;| Generic colors.
|
;;| Generic colors.
|
||||||
@ -60,7 +64,7 @@
|
|||||||
;;,------------------
|
;;,------------------
|
||||||
;;| Specific colors.
|
;;| Specific colors.
|
||||||
;;`------------------
|
;;`------------------
|
||||||
(petrol-line-numbers-color "#eaeae1")
|
(petrol-line-numbers-bg "#eaeae1")
|
||||||
|
|
||||||
;;,--------------------------
|
;;,--------------------------
|
||||||
;;| Specific face fragments.
|
;;| Specific face fragments.
|
||||||
@ -100,10 +104,14 @@
|
|||||||
`(file-name-shadow ((,class (:foreground "#cccccc"))))
|
`(file-name-shadow ((,class (:foreground "#cccccc"))))
|
||||||
|
|
||||||
|
|
||||||
`(line-number ((,class (:background ,petrol-line-numbers-color
|
`(line-number ((,class (:background ,petrol-line-numbers-bg
|
||||||
:foreground "#8c8c8c"))))
|
:foreground "#8c8c8c"
|
||||||
`(line-number-current-line ((,class (:background ,petrol-line-numbers-color
|
:height ,petrol-line-numbers-height
|
||||||
:foreground "#cc6d00"))))
|
))))
|
||||||
|
`(line-number-current-line ((,class (:background ,petrol-line-numbers-bg
|
||||||
|
:foreground "#cc6d00"
|
||||||
|
:height ,petrol-line-numbers-height
|
||||||
|
))))
|
||||||
|
|
||||||
|
|
||||||
`(linum ((,class (:background "#f2f2f2" :foreground "#8c8c8c"))))
|
`(linum ((,class (:background "#f2f2f2" :foreground "#8c8c8c"))))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user