nu_scripts/themes
Antoine Stevan b9ec76b493
rewrite the theme generation (#437)
* remove the template

* update the theme generation script

* fix the local path to the lemnos themes

* use the real `export der main` module template

* remove the empty lines and the comments from theme files

* adapt the default config file theme to the template

This commit uses closures for `filesize`, `date` and `bool`.

* put quotes around all the colors in the template

* fix the `else` of `filesize` => returns a true record now

* use default colors for the filesize

* regenerate all the themes with `./make.nu`
2023-04-05 12:52:15 -05:00
..
themes rewrite the theme generation (#437) 2023-04-05 12:52:15 -05:00
make.nu rewrite the theme generation (#437) 2023-04-05 12:52:15 -05:00
README.md FIX: define a main function to use the themes modules (#402) 2023-03-20 08:51:14 -05: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
let-env config = ($env.config | merge {color_config: (dracula)})

The theme should be activated!