summaryrefslogtreecommitdiffstats
path: root/src/themes
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 17:44:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 17:44:55 +0000
commit5068d34c08f951a7ea6257d305a1627b09a95817 (patch)
tree08213e2be853396a3b07ce15dbe222644dcd9a89 /src/themes
parentInitial commit. (diff)
downloadlnav-upstream.tar.xz
lnav-upstream.zip
Adding upstream version 0.11.1.upstream/0.11.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--src/themes/README.md5
-rw-r--r--src/themes/default-theme.json235
-rw-r--r--src/themes/eldar.json190
-rw-r--r--src/themes/grayscale.json166
-rw-r--r--src/themes/monocai.json266
-rw-r--r--src/themes/night-owl.json213
-rw-r--r--src/themes/solarized-dark.json204
-rw-r--r--src/themes/solarized-light.json204
-rw-r--r--src/themes/themes.am10
9 files changed, 1493 insertions, 0 deletions
diff --git a/src/themes/README.md b/src/themes/README.md
new file mode 100644
index 0000000..f52affd
--- /dev/null
+++ b/src/themes/README.md
@@ -0,0 +1,5 @@
+# Themes
+
+This directory contains the built-in theme definitions. The files are
+turned into C using `bin2c` and compiled into the executable. New themes
+need to be added to the [themes.am](themes.am) file.
diff --git a/src/themes/default-theme.json b/src/themes/default-theme.json
new file mode 100644
index 0000000..3920d78
--- /dev/null
+++ b/src/themes/default-theme.json
@@ -0,0 +1,235 @@
+{
+ "$schema": "https://lnav.org/schemas/config-v1.schema.json",
+ "ui": {
+ "theme-defs": {
+ "default": {
+ "vars": {
+ "semantic_highlight_color": "semantic()"
+ },
+ "styles": {
+ "text": {
+ "color": "Silver",
+ "background-color": "Black"
+ },
+ "identifier": {
+ "background-color": "",
+ "color": "semantic()"
+ },
+ "alt-text": {
+ "color": "Silver",
+ "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": "Maroon"
+ },
+ "skewed-time": {
+ "color": "Yellow"
+ },
+ "offset-time": {
+ "color": "Teal"
+ },
+ "invalid-msg": {
+ "color": "Yellow"
+ },
+ "popup": {
+ "color": "Silver",
+ "background-color": "Teal"
+ },
+ "focused": {
+ "color": "Black",
+ "background-color": "Silver"
+ },
+ "disabled-focused": {
+ "color": "Black",
+ "background-color": "#888"
+ },
+ "h1": {
+ "underline": true
+ },
+ "h2": {
+ "underline": true
+ },
+ "h3": {
+ "underline": true
+ },
+ "h4": {
+ "underline": true
+ },
+ "h5": {
+ "underline": true
+ },
+ "h6": {
+ "underline": true
+ },
+ "list-glyph": {
+ "color": "Yellow"
+ },
+ "breadcrumb": {
+ "color": "Teal"
+ }
+ },
+ "syntax-styles": {
+ "keyword": {
+ "color": "Blue"
+ },
+ "string": {
+ "color": "Green",
+ "bold": true
+ },
+ "comment": {
+ "color": "Green"
+ },
+ "doc-directive": {
+ "color": "Teal"
+ },
+ "variable": {
+ "color": "Teal"
+ },
+ "symbol": {
+ "color": "Blue"
+ },
+ "re-special": {
+ "color": "Teal"
+ },
+ "re-repeat": {
+ "color": "Yellow"
+ },
+ "diff-delete": {
+ "color": "Red"
+ },
+ "diff-add": {
+ "color": "Green"
+ },
+ "diff-section": {
+ "color": "Maroon"
+ },
+ "spectrogram-low": {
+ "background-color": "$green"
+ },
+ "spectrogram-medium": {
+ "background-color": "$yellow"
+ },
+ "spectrogram-high": {
+ "background-color": "$red"
+ },
+ "file": {
+ "color": "Blue"
+ },
+ "number": {
+ "bold": true
+ }
+ },
+ "status-styles": {
+ "title": {
+ "color": "Silver",
+ "background-color": "Blue",
+ "bold": true
+ },
+ "disabled-title": {
+ "color": "Black",
+ "background-color": "Silver",
+ "bold": true
+ },
+ "subtitle": {
+ "color": "Black",
+ "background-color": "Teal"
+ },
+ "text": {
+ "color": "Black",
+ "background-color": "Silver"
+ },
+ "warn": {
+ "color": "Yellow",
+ "background-color": "Silver"
+ },
+ "alert": {
+ "color": "Red",
+ "background-color": "Silver"
+ },
+ "active": {
+ "color": "Green",
+ "background-color": "Silver"
+ },
+ "info": {
+ "color": "Silver",
+ "background-color": "Grey37"
+ },
+ "inactive": {
+ "color": "Silver",
+ "background-color": "Grey37"
+ },
+ "inactive-alert": {
+ "color": "Red",
+ "background-color": "Grey37"
+ },
+ "title-hotkey": {
+ "color": "Teal",
+ "background-color": "Blue",
+ "underline": true
+ },
+ "hotkey": {
+ "color": "Purple",
+ "underline": true,
+ "bold": true
+ }
+ },
+ "log-level-styles": {
+ "warning": {
+ "color": "Yellow"
+ },
+ "error": {
+ "color": "Red"
+ },
+ "critical": {
+ "color": "Red"
+ },
+ "fatal": {
+ "color": "Red"
+ }
+ },
+ "highlights": {
+ "colors": {
+ "pattern": "(?:#[a-fA-F0-9]{6}|#[a-fA-F0-9]{3}\\b)",
+ "style": {
+ "color": "${semantic_highlight_color}"
+ }
+ },
+ "ipv4": {
+ "pattern": "\\b(?<!\\d\\.)\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\b(?!\\.\\d)",
+ "style": {
+ "color": "${semantic_highlight_color}"
+ }
+ },
+ "xml": {
+ "pattern": "</?([^ >=!]+)[^>]*>",
+ "style": {
+ "color": "${semantic_highlight_color}"
+ }
+ },
+ "xml-decl": {
+ "pattern": "<!([^ >=!]+)[^>]*>",
+ "style": {
+ "color": "${semantic_highlight_color}"
+ }
+ }
+ }
+ }
+ }
+ }
+} \ No newline at end of file
diff --git a/src/themes/eldar.json b/src/themes/eldar.json
new file mode 100644
index 0000000..5bce944
--- /dev/null
+++ b/src/themes/eldar.json
@@ -0,0 +1,190 @@
+{
+ "$schema": "https://lnav.org/schemas/config-v1.schema.json",
+ "ui": {
+ "theme-defs": {
+ "eldar": {
+ "vars": {
+ "black": "#000000",
+ "yellow": "#fce94f",
+ "red": "#ef2929",
+ "magenta": "#ad7fa8",
+ "blue": "#729fcf",
+ "cyan": "#34e2e2",
+ "green": "#8ae234",
+ "white": "#ffffff",
+ "semantic_highlight_color": "semantic()"
+ },
+ "styles": {
+ "identifier": {
+ "background-color": "",
+ "color": "semantic()"
+ },
+ "text": {
+ "color": "$white",
+ "background-color": ""
+ },
+ "alt-text": {
+ "color": "$white",
+ "background-color": "",
+ "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"
+ },
+ "invalid-msg": {
+ "color": "$yellow"
+ },
+ "popup": {
+ "color": "$black",
+ "background-color": "Grey37"
+ },
+ "h1": {
+ "underline": true
+ },
+ "h2": {
+ "underline": true
+ },
+ "h3": {
+ "underline": true
+ },
+ "h4": {
+ "underline": true
+ },
+ "h5": {
+ "underline": true
+ },
+ "h6": {
+ "underline": true
+ }
+ },
+ "syntax-styles": {
+ "keyword": {
+ "color": "$yellow"
+ },
+ "string": {
+ "color": "$magenta",
+ "bold": true
+ },
+ "comment": {
+ "color": "$cyan"
+ },
+ "doc-directive": {
+ "color": "$green"
+ },
+ "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"
+ },
+ "spectrogram-low": {
+ "background-color": "$green"
+ },
+ "spectrogram-medium": {
+ "background-color": "$yellow"
+ },
+ "spectrogram-high": {
+ "background-color": "$red"
+ },
+ "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": "#999"
+ },
+ "warn": {
+ "color": "$yellow",
+ "background-color": "#999"
+ },
+ "alert": {
+ "color": "$red",
+ "background-color": "#999"
+ },
+ "active": {
+ "color": "$green",
+ "background-color": "#999"
+ },
+ "info": {
+ "color": "$black",
+ "background-color": "Grey"
+ },
+ "inactive": {
+ "color": "$black",
+ "background-color": "Grey"
+ },
+ "inactive-alert": {
+ "color": "$red",
+ "background-color": "Grey"
+ }
+ },
+ "log-level-styles": {
+ "warning": {
+ "color": "$yellow"
+ },
+ "error": {
+ "color": "$red"
+ },
+ "critical": {
+ "color": "$red"
+ },
+ "fatal": {
+ "color": "$red"
+ }
+ }
+ }
+ }
+ }
+} \ No newline at end of file
diff --git a/src/themes/grayscale.json b/src/themes/grayscale.json
new file mode 100644
index 0000000..887736a
--- /dev/null
+++ b/src/themes/grayscale.json
@@ -0,0 +1,166 @@
+{
+ "$schema": "https://lnav.org/schemas/config-v1.schema.json",
+ "ui": {
+ "theme-defs": {
+ "grayscale": {
+ "vars": {
+ "black": "#2d2a2e",
+ "red": "#f92772",
+ "green": "#a7e22e",
+ "yellow": "#fe9720",
+ "blue": "#5394ec",
+ "magenta": "#ae81ff",
+ "cyan": "#66d9ee",
+ "white": "#f6f6f6",
+ "plaintext": "#ccc"
+ },
+ "styles": {
+ "identifier": {
+ "background-color": "",
+ "color": "",
+ "bold": true
+ },
+ "text": {
+ "color": "",
+ "background-color": ""
+ },
+ "alt-text": {
+ "color": "",
+ "background-color": "",
+ "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"
+ },
+ "invalid-msg": {
+ "color": "$yellow"
+ },
+ "focused": {
+ "color": "$black",
+ "background-color": "$plaintext"
+ },
+ "disabled-focused": {
+ "color": "$plaintext",
+ "background-color": "#333"
+ },
+ "popup": {
+ "color": "$plaintext",
+ "background-color": "#626262"
+ },
+ "scrollbar": {
+ "color": "$black",
+ "background-color": "#888"
+ },
+ "h1": {
+ "underline": true
+ },
+ "h2": {
+ "underline": true
+ },
+ "h3": {
+ "underline": true
+ },
+ "h4": {
+ "underline": true
+ },
+ "h5": {
+ "underline": true
+ },
+ "h6": {
+ "underline": true
+ }
+ },
+ "status-styles": {
+ "disabled-title": {
+ "color": "#5394ec",
+ "background-color": "#353535",
+ "bold": true
+ },
+ "title": {
+ "color": "#f6f6f6",
+ "background-color": "#8a8a8a",
+ "bold": true
+ },
+ "subtitle": {
+ "color": "#e4e4e4",
+ "background-color": "#626262",
+ "bold": true
+ },
+ "title-hotkey": {
+ "color": "$black",
+ "background-color": "#5394ec",
+ "underline": true
+ },
+ "hotkey": {
+ "color": "#fff",
+ "underline": true
+ },
+ "text": {
+ "color": "#f6f6f6",
+ "background-color": "#353535"
+ },
+ "warn": {
+ "color": "$yellow",
+ "background-color": "#353535"
+ },
+ "alert": {
+ "color": "$red",
+ "background-color": "#353535"
+ },
+ "active": {
+ "color": "$green",
+ "background-color": "#353535"
+ },
+ "info": {
+ "color": "#555",
+ "background-color": "#2f2f2f"
+ },
+ "inactive": {
+ "color": "#555",
+ "background-color": "#2f2f2f"
+ },
+ "inactive-alert": {
+ "color": "$red",
+ "background-color": "#2f2f2f"
+ }
+ },
+ "log-level-styles": {
+ "warning": {
+ "color": "$yellow"
+ },
+ "error": {
+ "color": "$red"
+ },
+ "critical": {
+ "color": "$red"
+ },
+ "fatal": {
+ "color": "$red"
+ }
+ }
+ }
+ }
+ }
+} \ No newline at end of file
diff --git a/src/themes/monocai.json b/src/themes/monocai.json
new file mode 100644
index 0000000..eb51280
--- /dev/null
+++ b/src/themes/monocai.json
@@ -0,0 +1,266 @@
+{
+ "$schema": "https://lnav.org/schemas/config-v1.schema.json",
+ "ui": {
+ "theme-defs": {
+ "monocai": {
+ "vars": {
+ "black": "#2d2a2e",
+ "red": "#f92772",
+ "green": "#a7e22e",
+ "yellow": "#fe9720",
+ "blue": "#5394ec",
+ "magenta": "#ae81ff",
+ "cyan": "#66d9ee",
+ "white": "#808080",
+ "semantic_highlight_color": "semantic()"
+ },
+ "styles": {
+ "identifier": {
+ "color": "semantic()"
+ },
+ "text": {
+ "color": "#f6f6f6",
+ "background-color": "$black"
+ },
+ "alt-text": {
+ "color": "#f6f6f6",
+ "background-color": "$black",
+ "bold": true
+ },
+ "ok": {
+ "color": "$green",
+ "bold": true
+ },
+ "info": {
+ "color": "$magenta",
+ "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"
+ },
+ "invalid-msg": {
+ "color": "$yellow"
+ },
+ "focused": {
+ "color": "$black",
+ "background-color": "$white"
+ },
+ "disabled-focused": {
+ "color": "$white",
+ "background-color": "#333"
+ },
+ "popup": {
+ "color": "$white",
+ "background-color": "$cyan"
+ },
+ "scrollbar": {
+ "color": "$black",
+ "background-color": "#888"
+ },
+ "h1": {
+ "color": "$magenta",
+ "bold": true
+ },
+ "h2": {
+ "color": "$magenta",
+ "underline": true
+ },
+ "h3": {
+ "color": "$magenta"
+ },
+ "h4": {
+ "underline": true
+ },
+ "h5": {
+ "underline": true
+ },
+ "h6": {
+ "underline": true
+ },
+ "hr": {
+ "color": "#444"
+ },
+ "hyperlink": {
+ "underline": true
+ },
+ "list-glyph": {
+ "color": "$yellow"
+ },
+ "breadcrumb": {
+ "color": "#99a"
+ },
+ "table-border": {
+ "color": "#444"
+ },
+ "table-header": {
+ "bold": true
+ },
+ "quote-border": {
+ "color": "#666",
+ "background-color": "#444"
+ },
+ "quoted-text": {
+ "background-color": "#444"
+ },
+ "footnote-border": {
+ "color": "$blue",
+ "background-color": "#444"
+ },
+ "footnote-text": {
+ "color": "#eee",
+ "background-color": "#444"
+ },
+ "snippet-border": {
+ "color": "$cyan"
+ }
+ },
+ "syntax-styles": {
+ "quoted-code": {
+ "color": "#eee",
+ "background-color": "#121212"
+ },
+ "code-border": {
+ "color": "#444",
+ "background-color": "#121212"
+ },
+ "keyword": {
+ "color": "#ff6188",
+ "bold": true
+ },
+ "string": {
+ "color": "#ffd866",
+ "bold": true
+ },
+ "comment": {
+ "color": "#949194"
+ },
+ "doc-directive": {
+ "color": "#a9dc76"
+ },
+ "variable": {
+ "color": "#a9dc76"
+ },
+ "symbol": {
+ "color": "#78dce8"
+ },
+ "re-special": {
+ "color": "$cyan"
+ },
+ "re-repeat": {
+ "color": "$yellow"
+ },
+ "diff-delete": {
+ "color": "#f00"
+ },
+ "diff-add": {
+ "color": "#0f0"
+ },
+ "diff-section": {
+ "color": "#656e76"
+ },
+ "spectrogram-low": {
+ "background-color": "$green"
+ },
+ "spectrogram-medium": {
+ "background-color": "$yellow"
+ },
+ "spectrogram-high": {
+ "background-color": "$red"
+ },
+ "file": {
+ "color": "$blue"
+ },
+ "number": {
+ "bold": true
+ }
+ },
+ "status-styles": {
+ "disabled-title": {
+ "color": "#5394ec",
+ "background-color": "#353535",
+ "bold": true
+ },
+ "title": {
+ "color": "#f6f6f6",
+ "background-color": "#5394ec",
+ "bold": true
+ },
+ "subtitle": {
+ "color": "#555",
+ "background-color": "#66d9ee",
+ "bold": true
+ },
+ "info": {
+ "color": "#aaa",
+ "background-color": "#2f2f2f"
+ },
+ "title-hotkey": {
+ "color": "$black",
+ "background-color": "#5394ec",
+ "underline": true
+ },
+ "hotkey": {
+ "color": "#fff",
+ "underline": true
+ },
+ "text": {
+ "color": "#f6f6f6",
+ "background-color": "#353535"
+ },
+ "warn": {
+ "color": "$yellow",
+ "background-color": "#353535"
+ },
+ "alert": {
+ "color": "$red",
+ "background-color": "#353535"
+ },
+ "active": {
+ "color": "$green",
+ "background-color": "#353535"
+ },
+ "inactive": {
+ "color": "#555",
+ "background-color": "#2f2f2f"
+ },
+ "inactive-alert": {
+ "color": "$red",
+ "background-color": "#2f2f2f"
+ }
+ },
+ "log-level-styles": {
+ "warning": {
+ "color": "$yellow"
+ },
+ "error": {
+ "color": "$red"
+ },
+ "critical": {
+ "color": "$red"
+ },
+ "fatal": {
+ "color": "$red"
+ }
+ }
+ }
+ }
+ }
+} \ No newline at end of file
diff --git a/src/themes/night-owl.json b/src/themes/night-owl.json
new file mode 100644
index 0000000..7e775e3
--- /dev/null
+++ b/src/themes/night-owl.json
@@ -0,0 +1,213 @@
+{
+ "$schema": "https://lnav.org/schemas/config-v1.schema.json",
+ "ui": {
+ "theme-defs": {
+ "night-owl": {
+ "vars": {
+ "black": "#011627",
+ "red": "#ff6868",
+ "green": "#007f00",
+ "yellow": "#cdcd00",
+ "blue": "#5394ec",
+ "magenta": "#ff70ff",
+ "cyan": "#33cccc",
+ "white": "#d6deeb",
+ "semantic_highlight_color": "semantic()"
+ },
+ "styles": {
+ "identifier": {
+ "background-color": "#011627",
+ "color": "semantic()"
+ },
+ "text": {
+ "color": "#d6deeb",
+ "background-color": "#011627"
+ },
+ "alt-text": {
+ "color": "#d6deeb",
+ "background-color": "#011627",
+ "bold": true
+ },
+ "ok": {
+ "color": "$green",
+ "bold": true
+ },
+ "error": {
+ "color": "#ef5350",
+ "bold": true
+ },
+ "warning": {
+ "color": "#b39554",
+ "bold": true
+ },
+ "hidden": {
+ "color": "$yellow",
+ "bold": true
+ },
+ "adjusted-time": {
+ "color": "$magenta"
+ },
+ "skewed-time": {
+ "color": "$yellow"
+ },
+ "offset-time": {
+ "color": "$cyan"
+ },
+ "invalid-msg": {
+ "color": "$yellow"
+ },
+ "focused": {
+ "color": "$black",
+ "background-color": "#666"
+ },
+ "disabled-focused": {
+ "color": "$white",
+ "background-color": "#333"
+ },
+ "popup": {
+ "color": "$base00",
+ "background-color": "$base3"
+ },
+ "h1": {
+ "underline": true
+ },
+ "h2": {
+ "underline": true
+ },
+ "h3": {
+ "underline": true
+ },
+ "h4": {
+ "underline": true
+ },
+ "h5": {
+ "underline": true
+ },
+ "h6": {
+ "underline": true
+ }
+ },
+ "syntax-styles": {
+ "keyword": {
+ "color": "#c792ea"
+ },
+ "string": {
+ "color": "#ecc48d",
+ "bold": true
+ },
+ "comment": {
+ "color": "#676e95"
+ },
+ "doc-directive": {
+ "color": "#addb67"
+ },
+ "variable": {
+ "color": "#addb67"
+ },
+ "symbol": {
+ "color": "#82aaff"
+ },
+ "number": {
+ "color": "#f78c6c"
+ },
+ "re-special": {
+ "color": "$cyan"
+ },
+ "re-repeat": {
+ "color": "$yellow"
+ },
+ "diff-delete": {
+ "color": "#b03435"
+ },
+ "diff-add": {
+ "color": "#264b33"
+ },
+ "diff-section": {
+ "color": "$magenta"
+ },
+ "spectrogram-low": {
+ "background-color": "$green"
+ },
+ "spectrogram-medium": {
+ "background-color": "$yellow"
+ },
+ "spectrogram-high": {
+ "background-color": "$red"
+ },
+ "file": {
+ "color": "#82aaff"
+ }
+ },
+ "status-styles": {
+ "disabled-title": {
+ "color": "#5394ec",
+ "background-color": "#353535",
+ "bold": true
+ },
+ "title": {
+ "color": "#f8f0f0",
+ "background-color": "#2d5a80",
+ "bold": true
+ },
+ "subtitle": {
+ "color": "#f8f8f0",
+ "background-color": "#005f5f"
+ },
+ "info": {
+ "color": "#aaa",
+ "background-color": "#0F1F2B"
+ },
+ "text": {
+ "color": "#f8f8f0",
+ "background-color": "#162d40"
+ },
+ "warn": {
+ "color": "#b39554",
+ "background-color": "#162d40"
+ },
+ "alert": {
+ "color": "#ef5350",
+ "background-color": "#162d40"
+ },
+ "active": {
+ "color": "#264b33",
+ "background-color": "#162d40"
+ },
+ "inactive": {
+ "color": "#f0f0f0",
+ "background-color": "#0F1F2B"
+ },
+ "inactive-alert": {
+ "color": "#ef5350",
+ "background-color": "#0F1F2B"
+ },
+ "hotkey": {
+ "color": "#2d5a80",
+ "bold": true,
+ "underline": true
+ },
+ "title-hotkey": {
+ "color": "$black",
+ "background-color": "#2d5a80",
+ "bold": true,
+ "underline": true
+ }
+ },
+ "log-level-styles": {
+ "warning": {
+ "color": "#b39554"
+ },
+ "error": {
+ "color": "#ef5350"
+ },
+ "critical": {
+ "color": "#ef5350"
+ },
+ "fatal": {
+ "color": "#ef5350"
+ }
+ }
+ }
+ }
+ }
+} \ No newline at end of file
diff --git a/src/themes/solarized-dark.json b/src/themes/solarized-dark.json
new file mode 100644
index 0000000..3451cda
--- /dev/null
+++ b/src/themes/solarized-dark.json
@@ -0,0 +1,204 @@
+{
+ "$schema": "https://lnav.org/schemas/config-v1.schema.json",
+ "ui": {
+ "theme-defs": {
+ "solarized-dark": {
+ "vars": {
+ "base03": "#002b36",
+ "base02": "#073642",
+ "base01": "#586e75",
+ "base00": "#657b83",
+ "base0": "#839496",
+ "base1": "#93a1a1",
+ "base2": "#eee8d5",
+ "base3": "#fdf6e3",
+ "black": "#002b36",
+ "yellow": "#b58900",
+ "orange": "#cb4b16",
+ "red": "#dc322f",
+ "magenta": "#d33682",
+ "violet": "#6c71c4",
+ "blue": "#268bd2",
+ "cyan": "#2aa198",
+ "green": "#859900",
+ "semantic_highlight_color": "semantic()"
+ },
+ "styles": {
+ "identifier": {
+ "background-color": "$base03",
+ "color": "semantic()"
+ },
+ "text": {
+ "color": "$base0",
+ "background-color": "$base03"
+ },
+ "alt-text": {
+ "color": "$base0",
+ "background-color": "$base03",
+ "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"
+ },
+ "invalid-msg": {
+ "color": "$yellow"
+ },
+ "popup": {
+ "color": "$base00",
+ "background-color": "$base3"
+ },
+ "focused": {
+ "color": "$base03",
+ "background-color": "$base01"
+ },
+ "disabled-focused": {
+ "color": "$base0",
+ "background-color": "$base02"
+ },
+ "h1": {
+ "underline": true
+ },
+ "h2": {
+ "underline": true
+ },
+ "h3": {
+ "underline": true
+ },
+ "h4": {
+ "underline": true
+ },
+ "h5": {
+ "underline": true
+ },
+ "h6": {
+ "underline": true
+ }
+ },
+ "syntax-styles": {
+ "keyword": {
+ "color": "$yellow"
+ },
+ "string": {
+ "color": "$cyan",
+ "bold": true
+ },
+ "comment": {
+ "color": "$base01"
+ },
+ "doc-directive": {
+ "color": "$cyan"
+ },
+ "variable": {
+ "color": "$blue"
+ },
+ "symbol": {
+ "color": "$blue"
+ },
+ "re-special": {
+ "color": "$cyan"
+ },
+ "re-repeat": {
+ "color": "$yellow"
+ },
+ "diff-delete": {
+ "color": "$red"
+ },
+ "diff-add": {
+ "color": "$green"
+ },
+ "diff-section": {
+ "color": "$magenta"
+ },
+ "spectrogram-low": {
+ "background-color": "$green"
+ },
+ "spectrogram-medium": {
+ "background-color": "$yellow"
+ },
+ "spectrogram-high": {
+ "background-color": "$red"
+ },
+ "file": {
+ "color": "$blue"
+ }
+ },
+ "status-styles": {
+ "title": {
+ "color": "$base02",
+ "background-color": "$blue",
+ "bold": true
+ },
+ "subtitle": {
+ "color": "$base00",
+ "background-color": "$cyan",
+ "bold": true
+ },
+ "text": {
+ "color": "$base2",
+ "background-color": "$base01"
+ },
+ "warn": {
+ "color": "$yellow",
+ "background-color": "$base01"
+ },
+ "alert": {
+ "color": "$red",
+ "background-color": "$base01"
+ },
+ "active": {
+ "color": "$green",
+ "background-color": "$base01"
+ },
+ "info": {
+ "color": "$base1",
+ "background-color": "$base02"
+ },
+ "inactive": {
+ "color": "$base1",
+ "background-color": "$base02"
+ },
+ "inactive-alert": {
+ "color": "$red",
+ "background-color": "$base02"
+ }
+ },
+ "log-level-styles": {
+ "warning": {
+ "color": "$yellow"
+ },
+ "error": {
+ "color": "$red"
+ },
+ "critical": {
+ "color": "$red"
+ },
+ "fatal": {
+ "color": "$red"
+ }
+ }
+ }
+ }
+ }
+} \ No newline at end of file
diff --git a/src/themes/solarized-light.json b/src/themes/solarized-light.json
new file mode 100644
index 0000000..cc3fc8c
--- /dev/null
+++ b/src/themes/solarized-light.json
@@ -0,0 +1,204 @@
+{
+ "$schema": "https://lnav.org/schemas/config-v1.schema.json",
+ "ui": {
+ "theme-defs": {
+ "solarized-light": {
+ "vars": {
+ "base03": "#002b36",
+ "base02": "#073642",
+ "base01": "#586e75",
+ "base00": "#657b83",
+ "base0": "#839496",
+ "base1": "#93a1a1",
+ "base2": "#eee8d5",
+ "base3": "#fdf6e3",
+ "black": "#002b36",
+ "yellow": "#b58900",
+ "orange": "#cb4b16",
+ "red": "#dc322f",
+ "magenta": "#d33682",
+ "violet": "#6c71c4",
+ "blue": "#268bd2",
+ "cyan": "#2aa198",
+ "green": "#859900",
+ "semantic_highlight_color": "semantic()"
+ },
+ "styles": {
+ "identifier": {
+ "background-color": "$base3",
+ "color": "semantic()"
+ },
+ "text": {
+ "color": "$base00",
+ "background-color": "$base3"
+ },
+ "alt-text": {
+ "color": "$base00",
+ "background-color": "$base3",
+ "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"
+ },
+ "invalid-msg": {
+ "color": "$yellow"
+ },
+ "popup": {
+ "color": "$base00",
+ "background-color": "$base3"
+ },
+ "focused": {
+ "color": "$base03",
+ "background-color": "$base01"
+ },
+ "disabled-focused": {
+ "color": "$base0",
+ "background-color": "$base02"
+ },
+ "h1": {
+ "underline": true
+ },
+ "h2": {
+ "underline": true
+ },
+ "h3": {
+ "underline": true
+ },
+ "h4": {
+ "underline": true
+ },
+ "h5": {
+ "underline": true
+ },
+ "h6": {
+ "underline": true
+ }
+ },
+ "syntax-styles": {
+ "keyword": {
+ "color": "$yellow"
+ },
+ "string": {
+ "color": "$cyan",
+ "bold": true
+ },
+ "comment": {
+ "color": "$base1"
+ },
+ "doc-directive": {
+ "color": "$blue"
+ },
+ "variable": {
+ "color": "$blue"
+ },
+ "symbol": {
+ "color": "$blue"
+ },
+ "re-special": {
+ "color": "$cyan"
+ },
+ "re-repeat": {
+ "color": "$yellow"
+ },
+ "diff-delete": {
+ "color": "$red"
+ },
+ "diff-add": {
+ "color": "$green"
+ },
+ "diff-section": {
+ "color": "$magenta"
+ },
+ "spectrogram-low": {
+ "background-color": "$green"
+ },
+ "spectrogram-medium": {
+ "background-color": "$yellow"
+ },
+ "spectrogram-high": {
+ "background-color": "$red"
+ },
+ "file": {
+ "color": "$blue"
+ }
+ },
+ "status-styles": {
+ "title": {
+ "color": "$base2",
+ "background-color": "$base0",
+ "bold": true
+ },
+ "subtitle": {
+ "color": "$base2",
+ "background-color": "$base01",
+ "bold": true
+ },
+ "text": {
+ "color": "$base2",
+ "background-color": "$base03"
+ },
+ "warn": {
+ "color": "$yellow",
+ "background-color": "$base03"
+ },
+ "alert": {
+ "color": "$red",
+ "background-color": "$base03"
+ },
+ "active": {
+ "color": "$green",
+ "background-color": "$base03"
+ },
+ "info": {
+ "color": "$base1",
+ "background-color": "$base03"
+ },
+ "inactive": {
+ "color": "$base1",
+ "background-color": "$base03"
+ },
+ "inactive-alert": {
+ "color": "$red",
+ "background-color": "$base03"
+ }
+ },
+ "log-level-styles": {
+ "warning": {
+ "color": "$yellow"
+ },
+ "error": {
+ "color": "$red"
+ },
+ "critical": {
+ "color": "$red"
+ },
+ "fatal": {
+ "color": "$red"
+ }
+ }
+ }
+ }
+ }
+} \ No newline at end of file
diff --git a/src/themes/themes.am b/src/themes/themes.am
new file mode 100644
index 0000000..42eacb6
--- /dev/null
+++ b/src/themes/themes.am
@@ -0,0 +1,10 @@
+
+THEME_FILES = \
+ $(srcdir)/%reldir%/default-theme.json \
+ $(srcdir)/%reldir%/eldar.json \
+ $(srcdir)/%reldir%/grayscale.json \
+ $(srcdir)/%reldir%/monocai.json \
+ $(srcdir)/%reldir%/night-owl.json \
+ $(srcdir)/%reldir%/solarized-dark.json \
+ $(srcdir)/%reldir%/solarized-light.json \
+ $()