Skip to content

Commit e803d3e

Browse files
authored
Fix: color theme examples
The color theme examples in book/coloring_and_theming.md weren't quite right.
1 parent 985c0a7 commit e803d3e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

book/coloring_and_theming.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -602,11 +602,11 @@ If you are working on a light background terminal, you can apply the light theme
602602

603603
```nu
604604
# in $nu.config-path
605-
use config light-theme # add this line to load the theme into scope
605+
use std config light-theme # add this line to load the theme into scope
606606
607607
$env.config = {
608608
# ...
609-
color_config: (light_theme) # if you want a light theme, replace `$dark_theme` to `$light_theme`
609+
color_config: (light-theme) # if you want a light theme, replace `$dark_theme` to `$light_theme`
610610
# ...
611611
}
612612
```
@@ -615,11 +615,11 @@ You can also load the dark theme.
615615

616616
```nu
617617
# in $nu.config-path
618-
use config dark-theme
618+
use std config dark-theme
619619
620620
$env.config = {
621621
# ...
622-
color_config: (dark_theme)
622+
color_config: (dark-theme)
623623
# ...
624624
}
625625
```

0 commit comments

Comments
 (0)