GithubHelp home page GithubHelp logo

base46.nvim's Introduction

Base46

You could say 16 colors is enough, and yeah, it is enough. However, more is more. The more, the better. That is why we decided that 46 colors is perfect.

Base46 is simply a lua library for setting themes in Neovim

Usage

Install

  • packer.nvim
    use "jayden-chan/base46.nvim"
  • vim-plug
    Plug "jayden-chan/base46.nvim"
  • Or Just Use Any Plugin Manager You Like
  • Or Just Use Any Method You Like

Set Theme

  • base: (type string) The amount of colors you want in your theme ("base16" for 16 colors | "base46" for 46 colors).
  • theme: (type string) The name of the theme you desire. You can find out what themes are available by going into ./lua/base46/hl_themes/.
  • transparency: (type bool) Do you want transparency or not?
-- exit if it can't be found
local present, base46 = pcall(require, "base46")
if not present then
	return
end

local theme = "gruvchad"
local color_base = "base46"

local theme_opts = {
	base = color_base,
	theme = theme,
	transparency = false,
}

base46.load_theme(theme_opts)

Contribute Themes

  • Themes are placed in the ./lua/base46/hl_themes/ directory.
  • To create a new theme, create a lua file with the name of the theme you want it to be (the file name should be all lowercase for the sake of consistency).
  • All colors in the theme must be in a #RRGGBB hex code format.

License

MIT License

base46.nvim's People

Contributors

akianonymus avatar albertas avatar catthingy avatar cyrilguiz avatar dazai-osamu-san avatar dharmx avatar dylanarmstrong avatar felixkratz avatar frenzyexists avatar gb407 avatar javacafe01 avatar jayden-chan avatar lamduong33 avatar manas140 avatar mangeshrex avatar max397574 avatar nrbjerg avatar pc-2198x avatar phanlong2811 avatar pierorolando1 avatar pocco81 avatar rockorager avatar sefidel avatar siddrs avatar siduck avatar sparkenstein avatar yetone avatar zahimeen avatar zbirenbaum 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.