• Stars
    star
    205
  • Rank 185,426 (Top 4 %)
  • Language
    Lua
  • License
    GNU General Publi...
  • Created over 2 years ago
  • Updated 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A pack of modern nvim color schemes: material, moonlight, Dracula (blood), Monokai, Mariana, Emerald, earlysummer, middlenight_blue... Fully support Treesitter, LSP and a variety of plugins.

๐ŸŒ ๐ŸŒŒ Starry ๐ŸŒŒ๐ŸŒ 

A collection of colorschemes for neovim (Neovim 8.0+ required), written in lua. This first version of starry plugin was built based on

Following colorschemes were added later on:

  • Moonlight (Low contrast bluish clean and elegant color theme)
  • Dracula & Dracula_blood theme
  • Monokai (Based on Sublime Build 3)
  • Mariana (The latest Sublime (Build 4) builtin color scheme) and Mariana_lighter
  • Emerald (Low contrast green color scheme)
  • Middlenight_blue (The theme to use in middle night)
  • Earlysummer (more vivid colors) and Earlysummer_lighter
  • Darksolar (dark solarized)
  • Ukraine yellow text on blue background

Why this repo:

  • All-In-One
  • Better color contrast and easy for eyes tuning for material.nvim and moonlight.nvim
  • Colorscheme color random loading (loading from Deep ocean, Oceanic, Palenight, Lighter, Darker, moonlight, dracula, monokai, mariana, emerald, middlenight_blue, earlysummer randomly )
  • Built with latest neovim API
  • Tracking latest neovim/lsp/treesitter highlight updates. e.g. NormalFloat, FloatShadow, LspReferenceRead/Write
  • Random loading
  • Daylight mode, tune the color for daytime
  • Transparent background ready

Credits:

  • marko-cerovac For the material color palettes. The lua color scheme framework
  • shaunsingh for his work of schemes based on material

The basic color palettes of material is from material.vim

material.vim

material

moonlight.nvim

transparent mode

moonlight

moonlight color palette

non-transparent mode

moonlight

Dracula

Color palettes from github.com/dracula/vim darcula

dracula

Dracula_blood

reddish tone of dracula blood dracula_blood

Monokai

Color palettes from colors/monokai.vim

monokai

monokai

Mariana

The sublime 4.0 default color scheme

Color palettes from twolfson/sublime-files

mariana

mariana2

Please check README of starry.nvim project for setups.

Emerald

I heard green can reduce eye strain :-P

emerald

Middlenight_blue

middlenight

Earlysummer

Colorful colorscheme

Earlysummer

Dark solar

Bluish colorscheme darksolar

Nighttime and daytime

Some of the scheme allow choose nighttime and day time mode, you can set starry_daylight_switch to true to turn on this feature. Here is an example for nighttime and daytime for earlysummer color scheme

night time and day time

limestone

The only light colorschem

limestone colorscheme

Ukraine

Yellow text on blue background. Color palette from Ukraine nation flag. image

Supported Plugins

All the plugins supported by starry.nvim, e.g. Treesitter, LSP, Telescope, NvimTree...

nvim-cmp:

image

install

Plug

Plug 'ray-x/starry.nvim'

packer:

use {'ray-x/starry.nvim', setup = function() 
-- see example setup below
vim.g.starry_italic_comments = true
...
end}

Example Setup

let starry_bold = v:true  "set to false to disable bold globally
let starry_italic = v:true "set to false to disable italic globally
let starry_italic_comments = v:true
let starry_italic_string = v:false
let starry_italic_keywords = v:false
let starry_italic_functions = v:false
let starry_italic_variables = v:false
let starry_contrast = v:true
let starry_borders = v:false
let starry_disable_background = v:false  "set to true to disable background and allow transparent background
let starry_style_fix=v:true  "disable random loading
let starry_style="moonlight"  "load moonlight everytime or
let starry_darker_contrast=v:true  "darker background
let starry_deep_black=v:false       "OLED deep black
let starry_italic_keywords=v:false
let starry_italic_functions=v:false
let starry_set_hl=v:false " Note: enable for nvim 0.6+, it is faster (loading time down to 4~6s from 7~11s), but it does
" not overwrite old values and may has some side effects
let starry_daylight_switch=false  "this allow using brighter color
" other themes: dracula, oceanic, dracula_blood, 'deep ocean', darker, palenight, monokai, mariana, emerald, middlenight_blue

Toggle style

:colorscheme starry        " this allow pickup a colorscheme randomly
:colorscheme mariana        " this allow switch to mariana

or

:lua require('starry.functions').toggle_style()

or

:Starry

Change to specific style

:Starry dracula_blood
lua require('starry.functions').change_style("dracula_blood")

override default color group, please also check material.nvim Configuration Example:

local starry = require 'starry'
local colors = require 'starry.colors'

starry.setup{
    custom_highlights = {
        LineNr = { bg = '#9F809E' }
        CursorLine = { fg = colors.editor.constrast , underline = true },

        -- This is a list of possible values
        -- override @string of treesitter
        @string = {
            fg = "#339922", -- foreground color
            bg = "NONE", -- background color
            sp = "#779988", -- special color (for colored underlines, undercurls...)
            bold = false, -- make group bold
            italic = false, -- make group italic
            underline = false, -- make group underlined
            undercurl = false, -- make group undercurled
            underdot = false, -- make group underdotted
            underdash = false -- make group underslashed
            striketrough = false, -- make group striked trough
            reverse = false, -- reverse the fg and bg colors
            link = "Comment" -- link to some other highlight group
        }
    },

    -- Custom colors must be a function that takes in the default colors table as
    -- a paramter, and then modifies them.
    -- To se the available colors, see lua/material/colors/init.lua
    custom_colors = function(colors)
        colors.editor.bg = "#SOME_COLOR"
        colors.main.purple = "#SOME_COLOR"
        colors.lsp.error = "#SOME_COLOR"
    end
}
vim.cmd('colorscheme oceanic')

More Repositories

1

lsp_signature.nvim

LSP signature hint as you type
Lua
1,916
star
2

go.nvim

A feature-rich Go development plugin, leveraging gopls, treesitter AST, Dap, and various Go tools to enhance the dev experience.
Lua
1,805
star
3

navigator.lua

Code analysis & navigation plugin for Neovim. Navigate codes like a breeze๐ŸŽ Exploring LSP and ๐ŸŒฒTreesitter symbols a piece of ๐Ÿฐ Take control like a boss ๐Ÿฆ
Lua
1,220
star
4

nvim

Personal neovim setup with 180+ plugins.
Lua
347
star
5

aurora

A vivid dark theme for (Neo)Vim. Optimized for treesitter, LSP.
Lua
298
star
6

cmp-treesitter

cmp source for treesitter
Lua
215
star
7

sad.nvim

Space Age seD in Neovim. A project-wide find and replace plugin for Neovim.
Lua
183
star
8

guihua.lua

A GUI library for Neovim plugin developers
Lua
155
star
9

web-tools.nvim

Neovim plugin for web developers
Lua
131
star
10

forgit.nvim

Interactive fzf+git for Neovim. I remembered the git commands so you wont forget.
Lua
76
star
11

dotfiles

Lua
34
star
12

material_plus.nvim

A pack of modern nvim color schemes: material, moonlight, Dracula (blood), Monokai, Mariana, Emerald, earlysummer, middlenight_blue... Fully support Treesitter, LSP and a variety of plugins.
Lua
23
star
13

Wifi-TI3200

iOS APP for WIFI starter of TI 3200, fix multiple issue on building
Objective-C
21
star
14

viewdoc.nvim

Search and view your (vim plugins) markdown & help files with glow
Lua
20
star
15

telescope-ast-grep.nvim

AST grep extension for telescope.nvim
Lua
20
star
16

rtems_book

rtems internal and development
15
star
17

ButtonAnimationCollage

Animate the iOS button with CABasicAmimation. Provide Ripple, border, invert effects.
Objective-C
12
star
18

mkdn.nvim

markdown note taking tools with LSP
Lua
10
star
19

Revised_II

RenPy Visual editor
C++
4
star
20

AudioAnalysis

Java
2
star
21

Gululu

Gamify Your Fitness
Swift
2
star
22

ray-x

2
star
23

blog

django-blog
CSS
1
star