-
Notifications
You must be signed in to change notification settings - Fork 36
Add Catppuccin Theme in Draft #286
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
|
May I ask you weather I can support all four favour of themes in one colorscheme? |
That is possible, but I wouldn't recommend that. The original theme doesn't do that either. FWIW, you could define a discriminator in the Colortemplate template, e.g.: Then define all color palettes: And finally define variants for each highlight group (the default variant corresponding to “mocha” in my example), e.g.: Then, you could choose the flavor of the color scheme by setting the global option: let g:captuccin_flavor = "latte"
colorscheme catpuccinIt's cleaner to just have four color schemes, imo. |
|
Btw, color schemes to be included in Vim should have no options. So, the above is probably ruled out if you want your color scheme to be included in Vim. |
|
Indeed we don't want to add too much complexity to the colorschemes distributed with Vim. Making one colorscheme work equally well with Did you have any feedback from the upstream maintainers? If your version is visually/functionally identical to the original one, then you should submit it in the original repo as it will make it easier for you to follow the original. |
Not yet. It seems that the vim repo is less active than the nvim repo, I am considering translate some catppuccin/nvim's features into it. |
|
Which one do you think is the best? ToolbarButton rosewater none bold |
|
@romainl Can you help me to test that problem you tested still exist? On my gVim on Windows it don't have the problem as you said. |
|
I believe he is checking it in terminal vim with 256 colors. |
Yes. Is it need to be solved?
What is the problem? @habamax Other problems are solved. |
|
I noticed that, I'm afraid it is a disign choice. If seems it as a bug, fixed like that: diff --git a/colortemplate/catppuccin.colortemplate b/colortemplate/catppuccin.colortemplate
index db1ca34..4b6626d 100644
--- a/colortemplate/catppuccin.colortemplate
+++ b/colortemplate/catppuccin.colortemplate
@@ -143,8 +143,8 @@ ModeMsg text none bold
MoreMsg blue none
NonText overlay0 none
Pmenu overlay2 mantle
-PmenuExtra overlay0 none
-PmenuExtraSel overlay0 none bold
+PmenuExtra overlay0 mantle
+PmenuExtraSel overlay0 surface0 bold
PmenuSel none surface0 bold
PmenuSbar none surface0
PmenuThumb none overlay0
|
|
Any problems about gui colors? |
|
Thanks for all your reviews. I will deal with these next Friday. |
|
We try to avoid adding non-bundled highlight groups (e.g. lsp, ale, etc). There is one colorscheme where it kind of slipped in, |
240a91a to
5e92605
Compare
|
Could you remove external plugin related highlights? |
|
@mao-yining could you please check cursearch and visual in GUI?
|
|
Thanks for your kind review.
It is different. Please check your term color.
I prefer the current seamless feel compared to this:
It is due to foreground color is set: |
f11c5ac to
c9bfc97
Compare
dfc23d5 to
deb95db
Compare
|
Make TitleBar's background color different from Normal. What do you think about it? @habamax
|
Thx, this looks OK. |
|
Could you make |
|
I would agree for 16 and 8 but 256 should be more or less |
Well. As you see that picture. 256 diff and visual is quite different. I can hardly fix the performance on your machine. |
|
On 2 different machines and 2 different terminal emulators 2 different OSes it looks the same unreadable for me. |
|
Done diff --git a/colortemplate/catppuccin.colortemplate b/colortemplate/catppuccin.colortemplate
index 43470f0..b93dbef 100644
--- a/colortemplate/catppuccin.colortemplate
+++ b/colortemplate/catppuccin.colortemplate
@@ -43,11 +43,12 @@ Color: crust #11111B 16 Black
Color: cursorLine #2A2B3C 236
Color: diffAdd #364143 22 DarkGreen
-Color: diffChange #25293C 59 DarkYellow
+Color: diffChange #25293C 235 DarkYellow
Color: diffDelete #443244 52 DarkRed
Color: diffText #3E4B6B 23 DarkCyan
Color: search #3E5767 24 DarkBlue
-Color: quickfixline #52476A 60 Magenta
+Color: curSearch #89556B 132 Red
+Color: quickFixLine #52476A 60 Magenta
Background: light
@@ -87,7 +88,8 @@ Color: diffChange #E0E7F5 254 Yellow
Color: diffDelete #EAC8D3 224 Red
Color: diffText #B0C7F5 153 Cyan
Color: search #A8DAF0 117 Cyan
-Color: quickfixline #D0BAF3 183 Magenta
+Color: curSearch #fc8fc3 211 Red
+Color: quickFixLine #D0BAF3 183 Magenta
Background: any
@@ -96,12 +98,10 @@ Background: any
Normal text base
Visual surface1 text reverse
/gui none surface1
- /256+tgc true omit omit
/16/8 blue base bold,reverse
Conceal overlay1 none
ColorColumn none mantle
/8 base overlay0
-CurSearch mantle red
Cursor base rosewater
lCursor base red
CursorIM base mauve
@@ -110,6 +110,7 @@ Directory blue none
EndOfBuffer surface1 none
ErrorMsg red none bold
VertSplit crust none
+ /16/8 overlay0 none
Folded blue none
FoldColumn overlay0 none
SignColumn surface1 none
@@ -166,7 +167,7 @@ Underlined none none underline
Bold none none bold
Italic none none italic
Error red none
-Todo flamingo base bold,reverse
+Todo flamingo none bold
Exception mauve none
String green none
Tag lavender none bold
@@ -202,10 +203,10 @@ DiffText none diffText
DiffDelete none diffDelete
/16/8 base diffDelete
Search text search
-QuickFixLine text quickfixline bold
- /gui none quickfixline bold
- /256+tgc true omit omit bold
- /16 base quickfixline bold
+CurSearch curSearch text reverse
+QuickFixLine text quickFixLine bold
+ /gui none quickFixLine bold
+ /16 base quickFixLine bold
; Links
Boolean -> Constant
@@ -222,7 +223,7 @@ Typedef -> Type
Terminal -> Normal
TabLineSel -> Normal
-IncSearch -> Search
+IncSearch -> CurSearch
LineNrAbove -> LineNr
LineNrBelow -> LineNr
StatusLineTerm -> StatusLine |
740d8ac to
21c93e4
Compare
Soothing pastel theme for the high-spirited! Related: vim#285, catppuccin/vim#29 Signed-off-by: Mao-Yining <[email protected]>
21c93e4 to
360db91
Compare
DONE. Thanks. |
|
Looks good to me. @romainl would you test drive this? If nothing exceptional would be found, I will merge this next week. |
Will do over the week-end. I have some coding to do so… perfect testing conditions. |

















































Related: #285, catppuccin/vim#29