From e803d3e56641ada6385237afd30bc144908db9f0 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Tue, 27 May 2025 11:41:33 +0200 Subject: [PATCH] Fix: color theme examples The color theme examples in book/coloring_and_theming.md weren't quite right. --- book/coloring_and_theming.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/book/coloring_and_theming.md b/book/coloring_and_theming.md index 0dabbea618d..bfc76902a2f 100644 --- a/book/coloring_and_theming.md +++ b/book/coloring_and_theming.md @@ -602,11 +602,11 @@ If you are working on a light background terminal, you can apply the light theme ```nu # in $nu.config-path -use config light-theme # add this line to load the theme into scope +use std config light-theme # add this line to load the theme into scope $env.config = { # ... - color_config: (light_theme) # if you want a light theme, replace `$dark_theme` to `$light_theme` + color_config: (light-theme) # if you want a light theme, replace `$dark_theme` to `$light_theme` # ... } ``` @@ -615,11 +615,11 @@ You can also load the dark theme. ```nu # in $nu.config-path -use config dark-theme +use std config dark-theme $env.config = { # ... - color_config: (dark_theme) + color_config: (dark-theme) # ... } ```