Skip to content

Nvim theme with pastel colors emulated a retro posters vibe

License

Notifications You must be signed in to change notification settings

ilof2/posterpole.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Posterpole.nvim

Simple nvim theme with pastel colors which try to emulate an old retro poster vibe

Stars Issues Commit activity

Main theme

Screenshot 2024-11-01 at 15 38 12

notermguicolors

Screenshot 2024-11-01 at 15 37 56

Other implementations

Features

  • 🪟 Transparency
  • 👾 set notermguicolors do not broke colors
    terminals without $TERM=xterm-256color support

Installation

Lazy:

{
  "ilof2/posterpole.nvim",
  priority=1000,
  config = function ()
    local posterpole = require("posterpole")

    posterpole.setup({
      -- config here
    })
    vim.cmd("colorscheme posterpole")
    
  end
}

Configuration

-- Default
require("posterpole").setup({
  transparent = false,
  dim_inactive = false, -- highlight inactive splits
  colors = {
    posterpole = {}, -- { mainRed = {hex = "#550000", cterm = 95} }
  },
  groups = {
    posterpole = {
     -- Comment = {fg = {hex = "#FFF000", cterm = 95 }}
    },
  },
  lualine = {
    transparent = true
  }
})

Highlight Groups

You can provide your custom highlight groups in this way:

{
    groups = {
        posterpole = {
            -- your groups here
            { GroupName = { fg = Color, bg = Color }}
        }
    }
}

Color table have structure:

{hex = "#000000", cterm = 123}

Also supported options: link, underline and reverse

Note

All options are optional, if link option provided, all other options will be ignored

Colors

You can override all colors that are used in colorscheme

Important

cterm color values should be integer in range 0-256

256 colors helpers:

Colors list which can be overwritten:

{
  comment 
  black
  special
  constant
  fg
  string
  directory
  func
  type
  keyword

  diffDel
  diffChanged
  diffAdded

  -- main bg colors
  bg
  bgDim
  bgSurface
}

Plugins Support (full or partial)

Inspiration

Known issues

  1. Color scheme with dim_inactive=true and transparent=true looks crappy. The best solution for now - is not to combine these 2 options