Skip to content

Latest commit

 

History

History
83 lines (59 loc) · 1.61 KB

File metadata and controls

83 lines (59 loc) · 1.61 KB

Rewrite Theme for Neovim

The official Rewrite theme for Neovim.

Bring the same Rewrite palette into Neovim with an automatic colorscheme, explicit dark and light variants, and a matching lualine theme.

RepositoryWebsiteDashboard

Rewrite Banner

Install

This directory is documentation only. The installable Neovim runtime is exposed at the repository root on purpose, so plugin managers can install it directly from GitHub.

{
  "RewriteToday/theme",
  name = "rewrite.nvim",
  lazy = false,
  priority = 1000,
  config = function()
    require("rewrite").setup({ style = "auto" })
    vim.cmd.colorscheme("rewrite")
  end,
}

Use an explicit variant if you want to lock the editor to one mode:

vim.cmd.colorscheme("rewrite-night")
vim.cmd.colorscheme("rewrite-day")

rewrite follows vim.o.background.
rewrite-night and rewrite-day always force the matching palette.

require("lualine").setup({
  options = {
    theme = "rewrite",
  },
})

What ships in this package

colors/
├─ rewrite.lua
├─ rewrite-night.lua
└─ rewrite-day.lua
lua/rewrite/
├─ init.lua
├─ base.lua
├─ night.lua
└─ day.lua
lua/lualine/themes/
└─ rewrite.lua

Made with love by the Rewrite team.
SMS the way it should be.