Skip to main content

An arctic, north-bluish clean and elegant JupyterLab theme based on the Nord color palette

Project description

JupyterLab Nord Theme

An arctic, north-bluish clean and elegant JupyterLab theme based on the Nord color palette.

JupyterLab version PyPI License

Preview

JupyterLab Nord Theme Screenshot

Features

  • Nord Color Palette: Authentic implementation of the 16-color Nord palette
  • Dark Theme: Designed for comfortable coding in low-light environments
  • Complete Coverage: Themes all JupyterLab components including notebooks, file browser, terminals, and settings
  • Syntax Highlighting: Beautiful Nord-based syntax highlighting for code cells
  • Perfect Compatibility: Built using JupyterLab 4.0+ CSS variable system for full compatibility
  • Font Scaling Support: Respects JupyterLab's font scaling settings
  • Layout Preservation: Uses exact default theme layout and sizing, only changes colors

Color Palette

This theme uses the official Nord color palette with custom auxiliary colors for enhanced readability:

Polar Night (Dark Backgrounds)

  • nord0 - #2e3440 - Darkest background
  • nord1 - #3b4252 - Dark background
  • nord2 - #434c5e - Medium background
  • nord3 - #4c566a - Light background

Snow Storm (Light Text)

  • nord4 - #d8dee9 - Dark foreground
  • nord5 - #e5e9f0 - Medium foreground
  • nord6 - #eceff4 - Light foreground

Frost (Blue Accents)

  • nord7 - #8fbcbb - Calm accent
  • nord8 - #88c0d0 - Bright accent
  • nord9 - #81a1c1 - Medium accent
  • nord10 - #5e81ac - Dark accent

Aurora (Vibrant Colors)

  • nord11 - #bf616a - Red (errors)
  • nord12 - #d08770 - Orange
  • nord13 - #ebcb8b - Yellow (warnings)
  • nord14 - #a3be8c - Green (success)
  • nord15 - #b48ead - Purple

Custom Auxiliary Colors

  • nord-aux-comment - #8a9199 - Optimized comment color for better readability

Installation

From PyPI (Recommended)

pip install jupyterlab-nord-theme

From Source

# Clone the repository
git clone https://github.com/carlyou/jupyterlab-nord-theme.git
cd jupyterlab-nord-theme

# Install in development mode
pip install -e .

Usage

  1. Install the extension using one of the methods above
  2. Launch JupyterLab: jupyter lab
  3. Go to SettingsThemeNord Theme
  4. The theme will be applied immediately

Development

Requirements

  • Python >= 3.8
  • Node.js >= 16
  • JupyterLab >= 4.0

Setup Development Environment

# Clone the repository
git clone https://github.com/carlyou/jupyterlab-nord-theme.git
cd jupyterlab-nord-theme

# Install Python dependencies
pip install -e .

# Install Node.js dependencies
npm install

# Build in development mode
npm run build

# Install for development
jupyter labextension develop . --overwrite

Making Changes

  1. Edit CSS variables in style/index.css
  2. Modify TypeScript registration in src/index.ts
  3. Rebuild: npm run build
  4. Refresh JupyterLab to see changes

Project Structure

jupyterlab-nord-theme/
├── src/                    # TypeScript source code
│   └── index.ts           # Extension registration
├── style/                 # CSS theme files
│   ├── index.css         # Main theme CSS with Nord variables
│   └── index.js          # Style module entry point
├── jupyterlab_nord_theme/ # Python package
│   ├── __init__.py       # Extension metadata
│   └── labextension/     # Built extension files
├── package.json          # Node.js configuration
├── pyproject.toml        # Python packaging configuration
├── tsconfig.json         # TypeScript configuration
└── README.md            # This file

Building for Production

# Clean previous builds
npm run clean:all

# Build production version
npm run build:prod

Publishing

PyPI

# Build package
pip install build
python -m build

# Upload to PyPI
pip install twine
twine upload dist/*

npm (for developers)

npm publish

Contributing

Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.

Guidelines

  • Follow the existing code style
  • Test your changes thoroughly
  • Update documentation as needed
  • Add appropriate commit messages

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

  • Nord Theme by Arctic Ice Studio for the beautiful color palette
  • JupyterLab team for the excellent extension system
  • The JupyterLab community for inspiration and best practices

Related Projects

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jupyterlab_nord-0.1.4.tar.gz (567.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jupyterlab_nord-0.1.4-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file jupyterlab_nord-0.1.4.tar.gz.

File metadata

  • Download URL: jupyterlab_nord-0.1.4.tar.gz
  • Upload date:
  • Size: 567.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for jupyterlab_nord-0.1.4.tar.gz
Algorithm Hash digest
SHA256 9baa80a567dd86a8aac4b1740af92fe1ec043cde3d1dc5d193b48eaf843776f2
MD5 c2712d41a2316717402de769ba9a7fc9
BLAKE2b-256 c3a2e515035a0c90876a68f1f048303494c1708edad2a0f32ca8b25e9002ff9d

See more details on using hashes here.

File details

Details for the file jupyterlab_nord-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for jupyterlab_nord-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 14b4f9f824d2ad69787c6164f866278cc183249111ec4c1dfb5acb61b04049f6
MD5 8e97314b7cddccc26c36b494a5e49ebf
BLAKE2b-256 71e6893f1df59941314513506d422617078912742cba021f656b8fa1d9e2077c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page