Skip to content

Commit

Permalink
new: improved compatibility of universal and universal-blue themes
Browse files Browse the repository at this point in the history
  • Loading branch information
pamburus committed Jul 2, 2023
1 parent 1f57be8 commit 8e2dcf3
Show file tree
Hide file tree
Showing 6 changed files with 116 additions and 14 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ categories = ["command-line-utilities"]
description = "Utility for viewing json-formatted log files."
keywords = ["cli", "human", "log"]
name = "hl"
version = "0.20.0-beta.8"
version = "0.20.0-beta.8.1"
edition = "2021"
build = "build.rs"

Expand Down
51 changes: 51 additions & 0 deletions etc/defaults/themes/one-dark-blue-x.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
elements:
input:
modes: [faint]
time:
modes: [faint]
logger:
modes: [faint]
caller:
modes: [faint, italic]
level:
foreground: default
message:
foreground: bright-white
field:
modes: [faint]
key:
foreground: bright-blue
modes: [underline]
ellipsis:
modes: [faint]
object:
foreground: green
array:
foreground: green
string:
foreground: cyan
number:
foreground: green
boolean:
foreground: bright-red
'null':
foreground: bright-red
levels:
debug:
level-inner:
foreground: bright-magenta
info:
level-inner:
foreground: cyan
warning:
time:
foreground: bright-yellow
level-inner:
foreground: bright-yellow
error:
time:
foreground: bright-red
level-inner:
foreground: bright-red
message:
foreground: bright-red
51 changes: 51 additions & 0 deletions etc/defaults/themes/one-dark-green-x.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
elements:
input:
modes: [faint]
time:
modes: [faint]
logger:
modes: [faint]
caller:
modes: [faint, italic]
level:
foreground: default
message:
foreground: bright-white
field:
modes: [faint]
key:
foreground: green
modes: [underline]
ellipsis:
modes: [faint]
object:
foreground: cyan
array:
foreground: cyan
string:
foreground: cyan
number:
foreground: bright-blue
boolean:
foreground: bright-red
'null':
foreground: bright-red
levels:
debug:
level-inner:
foreground: bright-magenta
info:
level-inner:
foreground: cyan
warning:
time:
foreground: bright-yellow
level-inner:
foreground: bright-yellow
error:
time:
foreground: bright-red
level-inner:
foreground: bright-red
message:
foreground: bright-red
10 changes: 5 additions & 5 deletions etc/defaults/themes/universal-blue.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ elements:
ellipsis:
modes: [faint]
object:
foreground: cyan
foreground: yellow
array:
foreground: cyan
foreground: yellow
string:
foreground: default
number:
Expand All @@ -38,12 +38,12 @@ levels:
level-inner:
foreground: cyan
warning:
time:
foreground: bright-yellow
level-inner:
foreground: bright-yellow
foreground: yellow
modes: [bold]
error:
time:
foreground: bright-red
level-inner:
foreground: bright-red
modes: [bold]
14 changes: 7 additions & 7 deletions etc/defaults/themes/universal.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ elements:
ellipsis:
modes: [faint]
object:
foreground: cyan
foreground: yellow
array:
foreground: cyan
foreground: yellow
string:
foreground: default
number:
Expand All @@ -38,12 +38,12 @@ levels:
level-inner:
foreground: cyan
warning:
time:
foreground: bright-yellow
level-inner:
foreground: bright-yellow
level:
foreground: yellow
modes: [reverse]
error:
time:
foreground: bright-red
level-inner:
level:
foreground: bright-red
modes: [reverse]

0 comments on commit 8e2dcf3

Please sign in to comment.