Git Product home page Git Product logo

darcula-solid.nvim's Introduction

Darcula-solid.nvim

Darcula-solid.nvim

A color-scheme that was heavily inspired by the JetBrains IntelliJ IDEA default theme, but was carefully refined to bring a more pleasant, aesthetic, and contrasting experience to our beloved Neovim.

✨ Features

  • Treesitter support
  • NvimTree support
  • 256 colors
  • Beautiful contrasting (IntelliJ like) colors

⚡ Requirements

📦 Instalation

With Packer

use { "briones-gabriel/darcula-solid.nvim", requires = "rktjmp/lush.nvim" }

With Plug

Plug 'briones-gabriel/darcula-solid.nvim'
Plug 'rktjmp/lush.nvim'

Or you can use your favorite plugin manager.

🔧 Configuration

In your init.vim:

colorscheme darcula-solid
set termguicolors

Or in init.lua:

vim.cmd 'colorscheme darcula-solid'
vim.cmd 'set termguicolors'

And because the plugin is build with Lush, you can freely copy and edit the color-scheme to fit your needs.

How to customize

  1. Create a colors directory if it doesn't exist at ~/.config/nvim/colors.
  2. Create a file for the modified theme: e.g ~/.config/nvim/colors/darcula-solid-custom.
  3. Set your modifications:
vim.opt.background = 'dark'
vim.g.colors_name = 'darcula-solid-custom'

local lush = require('lush')
local darcula_solid = require('lush_theme.darcula-solid')
local spec = lush.extends({darcula_solid}).with(function()
  -- Your modifications go here...
  -- Pallete copied from https://github.com/briones-gabriel/darcula-solid.nvim/blob/main/lua/lush_theme/darcula-solid.lua
  local yellow  = lush.hsl(37, 100, 71)

  return {
    Type { fg = yellow },
    Function { fg = darcula_solid.Normal.fg },
  }
end)

lush(spec)
  1. In your config file (e.g. ~/.config/nvim/init.lua) set the theme to your custom one as follows:
vim.cmd("colorscheme darcula-solid-custom")

A big thanks to @rorystephenson for suggesting this amazing idea! ♥️

Preview

darcula-solid

darcula-solid.nvim's People

Contributors

derfetzer avatar zhann 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.