summaryrefslogtreecommitdiffstats
path: root/src/themes/default-theme.json
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/themes/default-theme.json235
1 files changed, 235 insertions, 0 deletions
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