Skip to content

mcauley-penney/techbase.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

89 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⎔ Techbase.nvim

techbase-markdown

A colorscheme inspired by the aesthetics of Doom (1993) and Doom 2 (1994)

Variants

Name Screenshot Notes
entryway entryway-react Named for the first map of Doom II
techbase techbase-react Named after an aesthetic of Doom maps called "Techbase".
hellbound hellbound-react Named after the first megawad I ever played and one of my favorites, Hellbound by Zoltán Sófalvi.
escape_velocity escape-velocity_react High contrast variant of Hellbound, Compliant with WCAG AAA; Named after "Escape Velocity" by James Paddock, my personal favorite Doom track.
sw1comm sw1comm Named for a futuristic wall switch texture from the original DOOM texture set. Described as a "[f]ader with red/green LEDs on SHAWN wall", this texture displays the "off" state of the wall switch and is paired with the "on" state, SW2COMM.

Installation

Below are examples for installing and loading the color scheme. Call setup() before colorscheme when using non-default options.

vim.pack:

vim.pack.add({
  { src = "https://github.com/mcauley-penney/techbase.nvim" },
})

-- optional: configure before loading the colorscheme
require("techbase").setup({
  italic_comments = false,
  transparent = false,
  hl_overrides = {},
})

vim.cmd.colorscheme("techbase")

Lazy.nvim:

{
    "mcauley-penney/techbase.nvim",
    opts = {
      italic_comments = false,

      -- set to true to make the background, floating windows, statusline,
      -- signcolumn, foldcolumn, and tabline transparent
      transparent = false,

      -- allows you to override any highlight group for finer-grained control
      hl_overrides = {},
    },
    init = function() vim.cmd.colorscheme("techbase") end,
    priority = 1000
}

Important

To load the color scheme by default and use non-default options, you should load the options, then the scheme. This is how the template above is set up.

Plugins

Highlights

To override plugin highlights, use hl_overrides with the plugin highlight group name:

opts = {
  hl_overrides = {
    GitSignsAdd = { link = "Added" },
    VisualNonText = { fg = "#ff0000" },
  },
}

Lualine

Lualine uses a separate theme file and needs to be configured in lualine:

 require('lualine').setup {
  options = {
    theme = "techbase"
    -- ... your lualine config
  }
}

Extras

Matching color schemes are available for external tools:

  • Ghostty
  • iTerm2
  • Kitty
  • Tmux
  • Warp
  • Wezterm
  • GNU Coreutils ls
  • Zsh syntax highlighting

Please see those tools' respective documentation for how to use these configurations.

For GNU Coreutils ls, evaluate dircolors with the file for your variant:

eval "$(dircolors -b /path/to/techbase.nvim/extra/dircolors/dircolors-techbase)"

For zsh, source the file for your variant after loading your syntax-highlighting plugin. For example:

source /path/to/techbase.nvim/extra/zsh/techbase.zsh

About

Dark, cold color scheme inspired by sci-fi horror and retro technology

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages