Skip to content

Fix: color theme examples #1925

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Fix: color theme examples #1925

wants to merge 1 commit into from

Conversation

levitte
Copy link

@levitte levitte commented May 27, 2025

The color theme examples in book/coloring_and_theming.md weren't quite right.

The color theme examples in book/coloring_and_theming.md weren't quite right.
@@ -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
Copy link
Contributor

@fdncred fdncred May 27, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm guessing it's probably better to use a slash here. iirc, not using a slash causes everything to be sourced. Same for the below change.

Suggested change
use std 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants