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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

FEATURE: add the preview script for the themes #501

Merged

Conversation

amtoine
Copy link
Member

@amtoine amtoine commented May 17, 2023

cc/ @fdncred

Darren, this is actually greatly inspired from one of the scripts you shared on Discord, i made it a bit more general and thought it would be cool to share it 馃槍

./themes/preview-current.nu would give an output like the following
preview-current-theme
where the first three columns are the currently loaded theme and the three last are the pure colors printed in hex 馃憤

@amtoine amtoine added the enhancement New feature or request label May 17, 2023
@amtoine amtoine self-assigned this May 17, 2023
@fdncred
Copy link
Collaborator

fdncred commented May 17, 2023

I like it! I'd also like to be able to have a script like preview-theme theme_name and it show the results.

@fdncred fdncred merged commit ac17502 into nushell:main May 17, 2023
@amtoine amtoine deleted the feature/add-a-script-to-preview-current-theme branch May 17, 2023 19:53
@amtoine
Copy link
Member Author

amtoine commented May 17, 2023

I like it!

馃槉

I'd also like to be able to have a script like preview-theme theme_name and it show the results.

i agree completely 馃憤
haven't had the time to dive in for now 馃槍

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

Successfully merging this pull request may close these issues.

None yet

2 participants