summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKyohei Uto <im@kyoheiu.dev>2023-10-30 04:59:50 +0900
committerGitHub <noreply@github.com>2023-10-30 04:59:50 +0900
commitd12f8c66cfba3fb87c009bc86b8ffe2a29983ad6 (patch)
tree65207fb36edb4394acbf4ed561c42f35c8b03e39
parent7b9d7bed26d347816c19e859ea109e9c10666db6 (diff)
parente648ff8974bed2d4400e460aa00a22e6a2e3d4a1 (diff)
Merge pull request #249 from kyoheiu/develop
Add example for Rgb and AnsiValue
-rw-r--r--README.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/README.md b/README.md
index 1b08ca3..7c99793 100644
--- a/README.md
+++ b/README.md
@@ -264,4 +264,15 @@ trash directory : $PROFILE\AppData\Local\felix\Trash
log files : $PROFILE\AppData\Local\felix\log
```
+### About `Rgb` and `AnsiValue`
+You can configure these colors like this:
+```
+color:
+ dir_fg: LightCyan
+ file_fg: !AnsiValue 120
+ symlink_fg: LightYellow
+ dirty_fg: !Rgb [124, 30, 40]
+```
+cf: https://docs.rs/serde_yaml/latest/serde_yaml/#using-serde-derive
+
For more details, visit https://kyoheiu.dev/felix.