Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tawny.nvim

A warm, earthy Neovim colorscheme with muted tones inspired by tawny browns and natural hues.

Features

Color Palette

Name Hex
Background #16110e
Foreground #f1d8b8
Red #e26d7d
Orange #ee9b52
Yellow #f4c96b
Green #96bd6f
Teal #6fb9a1
Blue #7eadd6
Violet #c09ac0

Installation

{
  "r-happy/tawny.nvim",
  priority = 1000,
  config = function()
    require("tawny").setup()
    vim.cmd("colorscheme tawny")
  end,
}
use {
  "r-happy/tawny.nvim",
  config = function()
    require("tawny").setup()
    vim.cmd("colorscheme tawny")
  end,
}

Configuration

require("tawny").setup({
  -- "dark" | "light" | nil
  -- Used when calling require("tawny").load() directly.
  -- :colorscheme tawny and :colorscheme tawny-light are fixed.
  variant = nil,

  -- Enable transparent background
  transparent = false,

  -- Configure colors used by :terminal
  terminal_colors = true,

  -- Customize highlight styles
  styles = {
    comments = { italic = true },
    keywords = { bold = false, italic = true },
  },

  -- Override specific highlight groups
  overrides = function(colors)
    return {
      -- Example: make Normal background transparent
      -- Normal = { bg = colors.none },
    }
  end,
})

Light mode

vim.cmd("colorscheme tawny-light")

Companion Themes

Regenerate companion theme files from lua/tawny/palette.lua with:

make generate-companion-themes

Zed

zed/tawny.json contains both Tawny and Tawny Light.

Copy or symlink it into your Zed themes directory:

mkdir -p ~/.config/zed/themes
ln -sf /path/to/tawny.nvim/zed/tawny.json ~/.config/zed/themes/tawny.json

Then select Tawny or Tawny Light from the theme picker.

VS Code

Tawny is a standalone VS Code theme extension in vscode. It includes:

  • Tawny (dark)
  • Tawny Light

For local development, open vscode/ in VS Code and press F5; then select a theme with Preferences: Color Theme in the Extension Development Host. To create an installable .vsix package, run:

cd vscode
npx @vscode/vsce package

The extension is ready for VS Code Marketplace publication once the r-happy publisher is created or verified there.

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages