Coder Social home page Coder Social logo

wezterm-canonical-solarized's Introduction

Canonical Solarized Color Scheme for Wezterm

Wezterm is a terminal emulator that supports true color via CSS Color 4. The Solarized color palette is defined with L*a*b values, and so we have the opportunity to define a color scheme in Wezterm using the canonical color space of Solarized.

This repo is not strictly a color scheme for Wezterm, but rather a Lua module that defines the Solarized schemes to be applied to your Wezterm config. This is mainly because of the need to specify bold_brightens_ansi_colors = false as part of the scheme โ€“ the way that Solarized defines its terminal colors is not compatible with this option. Additionally, we can define the light theme, the dark theme, and the terminal colors just once and refer to them as necessary.

Also included is an optional module that will automatically switch between the light & dark themes depending upon the system gui appearance.

Installation

  1. Clone this repo
  2. Copy the files to ~/.config/wezterm/, or wherever you keep your wezterm modules (or create a symbolic link)

Usage

Add the following lines to your .wezterm.lua file to define the schemes "Canonical Solarized Light" and "Canoncial Solarized Dark":

local canonical_solarized = require "canonical_solarized"
canonical_solarized.apply_to_config(config)

You can then use one of the themes specifically:

config.color_scheme = "Canonical Solarized Light"

OR

Use the auto appearance module:

local canonical_solarized_auto_appearance = require "canonical_solarized_auto_appearance"
canonical_solarized_auto_appearance.apply_to_config(config)

wezterm-canonical-solarized's People

Contributors

gfguthrie avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.