1{ 2 "$schema": "https://lnav.org/schemas/config-v1.schema.json", 3 "ui": { 4 "theme-defs": { 5 "default": { 6 "vars": { 7 "semantic_highlight_color": "semantic()" 8 }, 9 "styles": { 10 "text": { 11 "color": "Silver", 12 "background-color": "Black" 13 }, 14 "identifier": { 15 "background-color": "", 16 "color": "semantic()" 17 }, 18 "alt-text": { 19 "color": "Silver", 20 "bold": true 21 }, 22 "ok": { 23 "color": "Green", 24 "bold": true 25 }, 26 "error": { 27 "color": "Red", 28 "bold": true 29 }, 30 "warning": { 31 "color": "Yellow", 32 "bold": true 33 }, 34 "hidden": { 35 "color": "Yellow", 36 "bold": true 37 }, 38 "adjusted-time": { 39 "color": "Maroon" 40 }, 41 "skewed-time": { 42 "color": "Yellow" 43 }, 44 "offset-time": { 45 "color": "Teal" 46 }, 47 "invalid-msg": { 48 "color": "Yellow" 49 }, 50 "popup": { 51 "color": "Silver", 52 "background-color": "Teal" 53 }, 54 "focused": { 55 "color": "Black", 56 "background-color": "Silver" 57 }, 58 "disabled-focused": { 59 "color": "Black", 60 "background-color": "#888" 61 } 62 }, 63 "syntax-styles": { 64 "keyword": { 65 "color": "Blue" 66 }, 67 "string": { 68 "color": "Green", 69 "bold": true 70 }, 71 "comment": { 72 "color": "Green" 73 }, 74 "doc-directive": { 75 "color": "Teal" 76 }, 77 "variable": { 78 "color": "Teal" 79 }, 80 "symbol": { 81 "color": "Blue" 82 }, 83 "re-special": { 84 "color": "Teal" 85 }, 86 "re-repeat": { 87 "color": "Yellow" 88 }, 89 "diff-delete": { 90 "color": "Red" 91 }, 92 "diff-add": { 93 "color": "Green" 94 }, 95 "diff-section": { 96 "color": "Maroon" 97 }, 98 "file": { 99 "color": "Blue" 100 } 101 }, 102 "status-styles": { 103 "title": { 104 "color": "Silver", 105 "background-color": "Blue", 106 "bold": true 107 }, 108 "disabled-title": { 109 "color": "Black", 110 "background-color": "Silver", 111 "bold": true 112 }, 113 "subtitle": { 114 "color": "Black", 115 "background-color": "Teal" 116 }, 117 "text": { 118 "color": "Black", 119 "background-color": "Silver" 120 }, 121 "warn": { 122 "color": "Yellow", 123 "background-color": "Silver" 124 }, 125 "alert": { 126 "color": "Red", 127 "background-color": "Silver" 128 }, 129 "active": { 130 "color": "Green", 131 "background-color": "Silver" 132 }, 133 "inactive": { 134 "color": "Silver", 135 "background-color": "Grey37" 136 }, 137 "inactive-alert": { 138 "color": "Red", 139 "background-color": "Grey37" 140 }, 141 "title-hotkey": { 142 "color": "Teal", 143 "background-color": "Blue", 144 "underline": true 145 }, 146 "hotkey": { 147 "color": "Purple", 148 "background-color": "Silver", 149 "underline": true, 150 "bold": true 151 } 152 }, 153 "log-level-styles": { 154 "warning": { 155 "color": "Yellow" 156 }, 157 "error": { 158 "color": "Red" 159 }, 160 "critical": { 161 "color": "Red" 162 }, 163 "fatal": { 164 "color": "Red" 165 } 166 }, 167 "highlights": { 168 "colors": { 169 "pattern": "(?:#[a-fA-F0-9]{6}|#[a-fA-F0-9]{3}\\b)", 170 "style": { 171 "color": "${semantic_highlight_color}" 172 } 173 }, 174 "ipv4": { 175 "pattern": "\\b(?<!\\d\\.)\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\b(?!\\.\\d)", 176 "style": { 177 "color": "${semantic_highlight_color}" 178 } 179 }, 180 "xml": { 181 "pattern": "</?([^ >=]+)[^>]*>", 182 "style": { 183 "color": "${semantic_highlight_color}" 184 } 185 } 186 } 187 } 188 } 189 } 190}