Code Monkey home page Code Monkey 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

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

darcula-solid.nvim's Issues

Add highlight for WinSeparator

Nvim is deprecating VertSplit and moving to WinSeparator for window borders in 0.10. By default, WinSeparator links to normal which does not look great for most colorschemes.

Add a section on how to customise

I had some trouble customising this theme and the author of lush was very helpful in guiding me to a working method.

So in case it can help someone else out, it works as follows (maybe this can be included in the README.md):

  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")

Thank you for the beautiful theme!

Inactive split background color

Hi, is there a way to deactivate the different background colors when using splits ? I have the inactive tab with a different color than the one that is active. Thanks.

Add support for listchars

As of right now, listchars appear to be displayed in the same color as the background, therefore being invisible, also leading to the cursor becoming invisible while on a listchar.

You can see the issue really well while being in visual mode, the lighter gray is the selection while the cursor takes the foreground color of the text it's currently on. The listchars have the same foreground color as the background, rendering the cursor invisible in normal mode.
image

Render cpp function incorrectly

I have installed Treesitter and neovim 8.0.

When open a file where the function has class scope, the cpp function name cannot be rendered correctly. The function names are suppose to be yellow color.

Snipaste_2023-01-27_15-55-13

Add LspUnderline

Really enjoying your theme, however it seems like the LspDiagnosticsUnderline*** are not defined. For example, with gruvbox theme, errors will show the underline like so:
image
But no such underline with your themes are visible:
image

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.