Skip to content

Commit a483460

Browse files
authored
Fix wrong/outdated color config references
1 parent 9aa4ac9 commit a483460

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

book/coloring_and_theming.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ Here's a small example of changing some of these values.
327327
$env.config.color_config.separator = purple
328328
$env.config.color_config.leading_trailing_space_bg = "#ffffff"
329329
$env.config.color_config.header = gb
330-
$env.config.color_config.date = wd
330+
$env.config.color_config.datetime = wd
331331
$env.config.color_config.filesize = c
332332
$env.config.color_config.row_index = cb
333333
$env.config.color_config.bool = red
@@ -338,7 +338,7 @@ $env.config.color_config.float = red
338338
$env.config.color_config.string = white
339339
$env.config.color_config.nothing = red
340340
$env.config.color_config.binary = red
341-
$env.config.color_config.cellpath = cyan
341+
$env.config.color_config.cell-path = cyan
342342
$env.config.color_config.hints = dark_gray
343343
```
344344

@@ -352,7 +352,7 @@ $env.config.color_config.header = { # this is like PR #489
352352
bg: "#ffb900", # note, commas are not required, it could also be all on one line
353353
attr: bli # note, there are no quotes around this value. it works with or without quotes
354354
}
355-
$env.config.color_config.date = "#75507B"
355+
$env.config.color_config.datetime = "#75507B"
356356
$env.config.color_config.filesize = "#729fcf"
357357
$env.config.color_config.row_index = {
358358
# note, that this is another way to set only the foreground, no need to specify bg and attr

0 commit comments

Comments
 (0)