From 542233da980eb57fb8d455ab1db0e395ab350ed4 Mon Sep 17 00:00:00 2001 From: Lucas Culverhouse Date: Sat, 18 Nov 2023 11:32:31 -0800 Subject: [PATCH 1/2] =?UTF-8?q?Add=20Ros=C3=A9=20Pine=20Moon=20colorscheme?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../lightline/colorscheme/rosepine_moon.vim | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 autoload/lightline/colorscheme/rosepine_moon.vim diff --git a/autoload/lightline/colorscheme/rosepine_moon.vim b/autoload/lightline/colorscheme/rosepine_moon.vim new file mode 100644 index 00000000..08bfc56e --- /dev/null +++ b/autoload/lightline/colorscheme/rosepine_moon.vim @@ -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) From 4b7b6787fc0705fca390dcbffe02f2f98ad6b971 Mon Sep 17 00:00:00 2001 From: itchyny Date: Tue, 21 Nov 2023 08:11:58 +0900 Subject: [PATCH 2/2] add rosepine_moon to colorscheme list --- colorscheme.md | 4 ++++ doc/lightline.txt | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/colorscheme.md b/colorscheme.md index 89a71574..0e7df04d 100644 --- a/colorscheme.md +++ b/colorscheme.md @@ -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) diff --git a/doc/lightline.txt b/doc/lightline.txt index 1e4e7bd0..ab1e89ea 100644 --- a/doc/lightline.txt +++ b/doc/lightline.txt @@ -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* @@ -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'