Skip to content
living-code-themePublic

About

🐚 Living Code theme for Nushell.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Living Code [lc] mark

🐚 Living Code for Nushell

Calm slate. Living color.
Living Code for Nushell: native modules for syntax shapes, structured values, tables, search matches and command-line hints.

teal #00a692 mint #52d7c1 aqua #9ae0dd steel #80b6d3 moss #8acb83 amber #f0be6d copper #e18c5f flare #e96560 orchid #bf91cd rose #ddaec3

Living Code: 4 flavors GitHub stars Open issues Last commit

Installation · Flavors · Configuration · All ports

Previews

Night
Dark · full palette

Nushell running Living Code Night
Frost
Dark · softer chroma

Nushell running Living Code Frost
Paper
Light · near-white slate

Nushell running Living Code Paper
Signal
Dark · teal accent

Nushell running Living Code Signal

Select any preview to view the image at full size.

Installation

flavor=night # night, frost, paper, or signal
theme_dir="$(nu --no-config-file -c '$nu.default-config-dir')/themes"
curl -fsSL --create-dirs -o "$theme_dir/living-code-$flavor.nu" "https://raw.githubusercontent.com/living-code-theme/nushell/main/themes/living-code-$flavor.nu"

Run that download block in Bash/Zsh; nu reports the native config directory, including custom or platform-specific locations. Then add these lines inside Nushell to config.nu (adjust the module path to the directory reported above):

use ~/.config/nushell/themes/living-code-night.nu
$env.config.color_config = (living-code-night)

Restart Nu or evaluate the same two lines in the current session. Existing config and environment settings are not overwritten.

Flavors

Expand a flavor for its full-size preview and activation instructions.

Night · Dark · full palette

Nushell running Living Code Night

use ~/.config/nushell/themes/living-code-night.nu
$env.config.color_config = (living-code-night)
Frost · Dark · softer chroma

Nushell running Living Code Frost

use ~/.config/nushell/themes/living-code-frost.nu
$env.config.color_config = (living-code-frost)
Paper · Light · near-white slate

Nushell running Living Code Paper

use ~/.config/nushell/themes/living-code-paper.nu
$env.config.color_config = (living-code-paper)
Signal · Dark · teal accent

Nushell running Living Code Signal

use ~/.config/nushell/themes/living-code-signal.nu
$env.config.color_config = (living-code-signal)

Configuration

Each file exports main, returning a color record without mutating $env. Set color_config explicitly as shown, or merge the returned record into your existing color configuration. Syntax shapes include keyword, literal, constant, function, type, string, variable, parameter and operator distinctions. Search results have explicit foreground/background pairs.

Compatibility

Uses Nushell’s native module syntax and color_config API. The exported record follows the current shape-color contract; unknown supplemental record keys are inert. The theme does not configure prompts, LS_COLORS or the terminal emulator palette. Its background, foreground and cursor record entries are metadata used by theme tooling, not commands that recolor the host terminal. Native module loading can be tested with pnpm test:native when nu is installed.

Previews are captured programmatically from the actual application in an isolated profile. See capture/app.py for the app-owned recipe and images/capture.json for runtime, palette and image provenance. No mock interface is drawn.

Contributing

Found a problem? Open an issue with the app version, the flavor and a screenshot. Want Living Code somewhere else? Request a port.

Pull requests are welcome. Keep this README, port.json and images/ in sync, and use real screenshots of the app, never mockups.

🦎 One chameleon, many habitats. Part of Living Code.

License

MIT license

© Elliot Luque

About

🐚 Living Code theme for Nushell.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages