nu_scripts/themes
Antoine Stevan cc0719bdad
make the themes a module (#648)
related to
- https://github.com/nushell/nupm/pull/33

## description
with https://github.com/nushell/nupm/pull/33, Nupm can now install
separate modules from a single package 🥳

the `nu_scripts` are a package and looks like they contain a few
potential standalone modules:
- the themes
- the hooks
- the custom completions
- ...

this PR is a proposal to move `themes/` to `nu-themes/` and add
`./nu-themes/` as a module to the `nu-scripts` package.
that way when running `nupm install --path .` in the root of the
`nu_scripts`, a `nu-themes` module will be installed in
`$env.NUPM_HOME/modules`.

then one can run
```nushell
use nu-themes/themes/nushell-dark.nu
```
and next get the theme with
```nushell
nushell-dark
```
2023-10-23 18:25:04 +02:00
..
nu-themes make the themes a module (#648) 2023-10-23 18:25:04 +02:00
screenshots FEATURE: add catppuccin-mocha theme (#601) 2023-09-12 18:20:16 -05:00
.gitignore FEATURE: allow to run themes/make script from anywhere (#499) 2023-05-17 13:10:43 -05:00
make.nu add missing colors to the themes (#520) 2023-06-02 13:05:20 -05:00
README.md use $env. instead of let-env (#543) 2023-07-01 10:40:16 +02:00

Nushell themes

Credit to @lemnos and all contributors.

Use a colorscheme

Currently, the theme change has to be a bit manual. To have access to the list of all the themes,

ls ./themes/themes

To use the dracula theme for instance, please run

use ./themes/themes/dracula.nu
$env.config = ($env.config | merge {color_config: (dracula)})

The theme should be activated!

Screenshots

Here are screenshots of our themes.