Skip to content
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

add missing colors to the themes #520

Merged
merged 3 commits into from
Jun 2, 2023

Conversation

amtoine
Copy link
Member

@amtoine amtoine commented Jun 1, 2023

related to

in this PR, i've

Note
files of interest

  • themes/make.nu
  • themes/themes/nushell-dark.nu
  • themes/themes/nushell-light.nu

all the others files have been modified automatically with a call to ./themes/make.nu in dda5dc2

NOTE: color1 should be red-ish and color7 should be white-ish.
these keys are "background", "foreground" and "cursor".
@amtoine amtoine requested a review from fdncred June 1, 2023 17:37
@fdncred fdncred marked this pull request as draft June 1, 2023 17:49
@fdncred
Copy link
Collaborator

fdncred commented Jun 1, 2023

I think we need to wait on this one until the nushell feature lands, but glad you're keeping up with the changes. I've also been thinking about porting this folder. This folder allows you to change the terminal theme (not nushell) if your terminal supports OSC 4,5,10,17,19 escapes.


background: dark_gray
foreground: default
cursor: red
Copy link
Collaborator

Choose a reason for hiding this comment

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

cursor: red? seems like an odd choice. aren't most cursors are the same color as text?

Copy link
Member Author

Choose a reason for hiding this comment

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

yeah to be honest i had no idea what color to use here 😬

so do we go with default? 😋

btw, when i add the following to my config.nu, after the theme is set

$env.config.color_config.cursor = red

it does not change anything around the cursor in the REPL 🤔

@amtoine
Copy link
Member Author

amtoine commented Jun 2, 2023

I think we need to wait on this one until the nushell feature lands, but glad you're keeping up with the changes.

yes that's a good idea 👍

I've also been thinking about porting this folder. This folder allows you to change the terminal theme (not nushell) if your terminal supports OSC 4,5,10,17,19 escapes.

i dunno, i use npx alacritty-themes to set the theme of alacritty 😋

@amtoine
Copy link
Member Author

amtoine commented Jun 2, 2023

oooh but nushell/nushell#9326 has landed so we can work with this one now 😉

@amtoine amtoine marked this pull request as ready for review June 2, 2023 16:12
@fdncred fdncred merged commit 6d5afb6 into nushell:main Jun 2, 2023
@fdncred
Copy link
Collaborator

fdncred commented Jun 2, 2023

yup, sounds good to me. i just have to generate all my friggin screenshots again, lol

@amtoine amtoine deleted the themes/add-missing-colors branch June 3, 2023 10:11
@amtoine
Copy link
Member Author

amtoine commented Jun 3, 2023

i just have to generate all my friggin screenshots again, lol

😬 😆

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.

None yet

2 participants