Git Product home page Git Product logo

palenightfall.nvim's Introduction

๐ŸŒ‘ Palenightfall

A Neovim theme inspired by material palenight. I've used the material palenight theme for a long time and have made many adjustments to it in my config. I thought that it would make sense to turn this into an actual theme.

Here are some differences from the material themes:

  • Darker: A darker background color
  • Easier on the eyes: Much less red and brown
  • Smaller and simpler codebase: A single theme since I only used the palenight variant
  • Extensible: Super easily configurable with new colors and highlights

โšก๏ธ Requirements

  • Neovim >= 0.5.0

๐Ÿ“ฆ Installation

Install with your favorite plugin manager:

use 'JoosepAlviste/palenightfall.nvim'

๐Ÿš€ Usage

In Vimscript:

colorscheme palenightfall

Or in Lua:

require('palenightfall').setup()

๐ŸŒฏ Supported plugins

These are mainly just the plugins I use, but feel free to send a PR or open an issue if there are any others you'd like to see support for.

โš™๏ธ Configuration

A transparent background can be enabled with:

require('palenightfall').setup({
  transparent = true,
})

Any colors and highlights can be overridden in Lua with the setup function:

require('palenightfall').setup({
  color_overrides = {
    cyan = '#fff0000',
  },
  highlight_overrides = {
    -- Check the exact highlight configuration format from the code
    Normal = { fg = '#ff0000' },
  },
})

There are also explicit functions for overriding either the colors or the highlights:

require('palenightfall').configure_colors({
  cyan = '#fff0000',
})
require('palenightfall').configure_highlights({
  Normal = { fg = '#ff0000' },
})

-- Make sure to call `.setup()` *after* configuration
require('palenightfall').setup()

You can access the colors if you would like to use them in your own customizations:

local colors = require('palenightfall').colors

require('palenightfall').setup({
  highlight_overrides = {
    Normal = { fg = colors.cyan },
  },
})

See lua/palenightfall/init.lua for the default colors and highlights.

๐Ÿ“ธ More screenshots

palenightfall.nvim's People

Contributors

joosepalviste 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.