mirror of https://github.com/tstack/lnav.git
[theme] add eldar theme
This commit is contained in:
parent
fb7d6eafaf
commit
65d9240300
2
NEWS
2
NEWS
|
@ -1,6 +1,6 @@
|
|||
lnav v0.8.6:
|
||||
Features:
|
||||
* Added support for themes and included a few as well: default,
|
||||
* Added support for themes and included a few as well: default, eldar,
|
||||
monocai, night-owl, solarized-light, and solarized-dark. The theme
|
||||
can be changed using the ':config' command, like so:
|
||||
:config /ui/theme night-owl
|
||||
|
|
|
@ -31,6 +31,7 @@ default-log-formats-json.c: $(srcdir)/default-log-formats.json bin2c
|
|||
CONFIG_FILES = \
|
||||
$(srcdir)/root-config.json \
|
||||
$(srcdir)/themes/default.json \
|
||||
$(srcdir)/themes/eldar.json \
|
||||
$(srcdir)/themes/monocai.json \
|
||||
$(srcdir)/themes/night-owl.json \
|
||||
$(srcdir)/themes/solarized-dark.json \
|
||||
|
@ -153,6 +154,7 @@ dist_noinst_DATA = \
|
|||
root-config.json \
|
||||
search-for.lnav \
|
||||
themes/default.json \
|
||||
themes/eldar.json \
|
||||
themes/monocai.json \
|
||||
themes/night-owl.json \
|
||||
themes/solarized-dark.json \
|
||||
|
|
|
@ -0,0 +1,146 @@
|
|||
{
|
||||
"ui": {
|
||||
"theme-defs": {
|
||||
"eldar": {
|
||||
"vars": {
|
||||
"black": "#000000",
|
||||
"yellow": "#fce94f",
|
||||
"red": "#ef2929",
|
||||
"magenta": "#ad7fa8",
|
||||
"blue": "#729fcf",
|
||||
"cyan": "#34e2e2",
|
||||
"green": "#8ae234",
|
||||
"white": "#ffffff"
|
||||
},
|
||||
"styles": {
|
||||
"identifier": {
|
||||
"background-color": "$black"
|
||||
},
|
||||
"text": {
|
||||
"color": "$white",
|
||||
"background-color": "$black"
|
||||
},
|
||||
"alt-text": {
|
||||
"color": "$white",
|
||||
"background-color": "$black",
|
||||
"bold": true
|
||||
},
|
||||
"ok": {
|
||||
"color": "$green",
|
||||
"bold": true
|
||||
},
|
||||
"error": {
|
||||
"color": "$red",
|
||||
"bold": true
|
||||
},
|
||||
"warning": {
|
||||
"color": "$yellow",
|
||||
"bold": true
|
||||
},
|
||||
"hidden": {
|
||||
"color": "$yellow",
|
||||
"bold": true
|
||||
},
|
||||
"adjusted-time": {
|
||||
"color": "$magenta"
|
||||
},
|
||||
"skewed-time": {
|
||||
"color": "$yellow"
|
||||
},
|
||||
"offset-time": {
|
||||
"color": "$cyan"
|
||||
},
|
||||
"popup": {
|
||||
"color": "$black",
|
||||
"background-color": "Grey37"
|
||||
}
|
||||
},
|
||||
"syntax-styles": {
|
||||
"keyword": {
|
||||
"color": "$yellow"
|
||||
},
|
||||
"string": {
|
||||
"color": "$magenta",
|
||||
"bold": true
|
||||
},
|
||||
"comment": {
|
||||
"color": "$cyan"
|
||||
},
|
||||
"number": {
|
||||
"color": "$red"
|
||||
},
|
||||
"variable": {
|
||||
"color": "$green"
|
||||
},
|
||||
"symbol": {
|
||||
"color": "$green"
|
||||
},
|
||||
"re-special": {
|
||||
"color": "$cyan"
|
||||
},
|
||||
"re-repeat": {
|
||||
"color": "$yellow"
|
||||
},
|
||||
"diff-delete": {
|
||||
"color": "$red"
|
||||
},
|
||||
"diff-add": {
|
||||
"color": "$green"
|
||||
},
|
||||
"diff-section": {
|
||||
"color": "$magenta"
|
||||
},
|
||||
"file": {
|
||||
"color": "$blue"
|
||||
}
|
||||
},
|
||||
"status-styles": {
|
||||
"title": {
|
||||
"color": "$black",
|
||||
"background-color": "$blue",
|
||||
"bold": true
|
||||
},
|
||||
"subtitle": {
|
||||
"color": "$black",
|
||||
"background-color": "$cyan",
|
||||
"bold": true
|
||||
},
|
||||
"text": {
|
||||
"color": "$black",
|
||||
"background-color": "$white"
|
||||
},
|
||||
"warn": {
|
||||
"color": "$yellow",
|
||||
"background-color": "$white"
|
||||
},
|
||||
"alert": {
|
||||
"color": "$red",
|
||||
"background-color": "$white"
|
||||
},
|
||||
"active": {
|
||||
"color": "$green",
|
||||
"background-color": "$white"
|
||||
},
|
||||
"inactive": {
|
||||
"color": "$black",
|
||||
"background-color": "Grey"
|
||||
}
|
||||
},
|
||||
"log-level-styles": {
|
||||
"warning": {
|
||||
"color": "$yellow"
|
||||
},
|
||||
"error": {
|
||||
"color": "$red"
|
||||
},
|
||||
"critical": {
|
||||
"color": "$red"
|
||||
},
|
||||
"fatal": {
|
||||
"color": "$red"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue