Skip to content

Commit

Permalink
Merge branch 'add-rose-pine-moon'
Browse files Browse the repository at this point in the history
  • Loading branch information
itchyny committed Nov 20, 2023
2 parents f11645c + 4b7b678 commit 1c6b455
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 2 deletions.
41 changes: 41 additions & 0 deletions autoload/lightline/colorscheme/rosepine_moon.vim
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
" =============================================================================
" Filename: autoload/lightline/colorscheme/rosepine_moon.vim
" Author: lsculv (based on work by sheruost)
" License: MIT License
" Last Change: 2022/11/18 11:30:19.
" =============================================================================

" Reference: https://rosepinetheme.com/palette
" Rosé Pine Moon
let s:base = [ '#232136', 233 ]
let s:surface = [ '#2a273f', 234 ]

let s:overlay = [ '#393552', 235 ]
let s:highlight_m = [ '#44415a', 59 ]
let s:muted = [ '#6e6a86', 60 ]
let s:subtle = [ '#908caa', 103 ]

let s:iris = [ '#c4a7e7', 182 ]
let s:pine = [ '#3e8fb0', 30 ]
let s:foam = [ '#9ccfd8', 152 ]
let s:rose = [ '#ea9a97', 217 ]
let s:love = [ '#eb6f92', 204 ]

let s:p = {'normal': {}, 'inactive': {}, 'insert': {}, 'replace': {}, 'visual': {}, 'tabline': {}}
let s:p.normal.left = [ [ s:base, s:pine ], [ s:subtle, s:surface ] ]
let s:p.normal.right = [ [ s:overlay, s:subtle ], [ s:muted, s:overlay ], [ s:highlight_m, s:surface ] ]
let s:p.inactive.right = [ [ s:base, s:surface ], [ s:overlay, s:base ] ]
let s:p.inactive.left = [ [ s:overlay, s:base ], [ s:surface, s:base ] ]
let s:p.insert.left = [ [ s:base, s:foam ], [ s:subtle, s:surface ] ]
let s:p.replace.left = [ [ s:base, s:love ], [ s:subtle, s:surface ] ]
let s:p.visual.left = [ [ s:base, s:iris ], [ s:subtle, s:surface ] ]
let s:p.normal.middle = [ [ s:overlay, s:base ] ]
let s:p.inactive.middle = [ [ s:surface, s:base ] ]
let s:p.tabline.left = [ [ s:subtle, s:base ] ]
let s:p.tabline.tabsel = [ [ s:pine, s:base ] ]
let s:p.tabline.middle = [ [ s:surface, s:base ] ]
let s:p.tabline.right = copy(s:p.normal.right)
let s:p.normal.error = [ [ s:love, s:base ] ]
let s:p.normal.warning = [ [ s:rose, s:surface ] ]

let g:lightline#colorscheme#rosepine_moon#palette = lightline#colorscheme#flatten(s:p)
4 changes: 4 additions & 0 deletions colorscheme.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,10 @@

![lightline.vim - rosepine_light](https://raw.githubusercontent.com/wiki/itchyny/lightline.vim/image/rosepine_light.png)

### rosepine_moon

![lightline.vim - rosepine_moon](https://raw.githubusercontent.com/wiki/itchyny/lightline.vim/image/rosepine_moon.png)

### srcery_drk

![lightline.vim - srcery_drk](https://raw.githubusercontent.com/wiki/itchyny/lightline.vim/image/srcery_drk.png)
Expand Down
4 changes: 2 additions & 2 deletions doc/lightline.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Author: itchyny (https://github.com/itchyny)
License: MIT License
Repository: https://github.com/itchyny/lightline.vim
Last Change: 2022/03/16 00:15:04.
Last Change: 2023/11/21 08:10:00.

CONTENTS *lightline-contents*

Expand Down Expand Up @@ -233,7 +233,7 @@ OPTIONS *lightline-option*
Tomorrow_Night_Bright, Tomorrow_Night_Eighties, PaperColor,
landscape, one, materia, material, OldHope, nord, deus,
simpleblack, srcery_drk, ayu_mirage, ayu_light, ayu_dark,
apprentice, rosepine, and 16color are available.
apprentice, rosepine, rosepine_moon, and 16color are available.
The default value is:
>
let g:lightline.colorscheme = 'default'
Expand Down

0 comments on commit 1c6b455

Please sign in to comment.