catppuccin / catppuccin

😸 Soothing pastel theme for the high-spirited!
https://catppuccin.com
MIT License
14.55k stars 263 forks source link

Newsboat (help needed) #243

Closed ignamartinoli closed 2 years ago

ignamartinoli commented 2 years ago

Are you available to help in the creation of this port? 😄

Yes

Additional context 📷

Sometime ago this issue was created. I fell in love with it. Unfortunately the creator vanished. This is what it looked like.

164674640-fa1c248f-9d41-4644-9310-b5991c93cb1a

164674731-736cc41f-f9eb-4e86-bb39-6b72cb263fb4

As you can see, I was able to get quite close.

20220905015750

20220905015754

I understand how it was configured, but I still can't get right the background color and some other shades of colors. Newsboat only accepts 256-xterm (for reference).

To approximate the color codes I use this script. I suck at recognizing colors, so if somebody can tell me what are the hex codes, I can finish this up and pull for this to get merged.

Any help is appreciated :D

nekowinston commented 2 years ago

Hey there :wave: I use newsboat myself, but haven't themed it yet. Depending on how busy I am in the coming days, I'd be open to take a look at it.

ignamartinoli commented 2 years ago

Hey Felix ahah :D,

that's great to hear! I was trying to put side-by-side the xterm-256 color chart, and the themed Newsboat but I can't get which color the original creator is using, so for now I use the default background.

Tell me when you're available and we can test this out

xor commented 2 years ago

+1 I also use newsboat, and I've searched catppuccin theme for newsboat.

ignamartinoli commented 2 years ago

In the last few days I got the hang of how ricing Newsboat works and I made some progress, if someone just tells me the hex codes (I don't have a color picker on Wayland and I suck at colors) I can convert them to xterm-256 and push it.

I got something close to the original already

iamlambda commented 2 years ago

Hi @ignamartinoli, thanks for your work (: You can find the hex codes for each flavour of catppuccin here : palettes As the text states, if you're unsure about where a color should go, there's a style guide right here : style guide

ignamartinoli commented 2 years ago

Thanks @iamlambda, I'm working on it. I'm still wrapping my head around the background color used. I tried some combinations but it doesn't look like a color from the palette, is more something between Base and Lavender

nekowinston commented 2 years ago

Seems like the screenshots in the terminal are off, because the terminal didn't render base properly - #1e1f2e. Please follow the style guide and use base as the main background color for the official port draft.

ignamartinoli commented 2 years ago

Update, for now I worked using the Mocha flavour as reference. I improved all the colors and they look good now, the only exception is the background.

Base is used for that, so I put the hex code into the converter to get a xterm-256 equivalent.

sicro@sicro ~ $ python colortrans.py #1e1e2e
RGB #1e1e2e -> xterm color approx 16 (000000)

After using that color, I don't know if it's me, but it just looks too dark. This is a side-by-side comparison with the Neovim theme. Maybe the script I'm using is approximating wrong.

20220911190417

nekowinston commented 2 years ago

Are you using Catppuccin for your terminal? base0 should be exactly #1e1e2e. 🤔

Could you share your current progress as a simple gist? I'd love to take a look at it.

ignamartinoli commented 2 years ago

This is what I have so far: https://gist.github.com/ignamartinoli/ee6dd255bcd44c504720e16f633c4a52

I use Catppuccin official theme for Kitty and Neovim, I also use it for my Waybar modules

nekowinston commented 2 years ago

@ignamartinoli tried a little something https://gist.github.com/nekowinston/b386f803d9772231abe683ed43781f51

just edited it, I missed the [1] link selectors, sorry about that

ignamartinoli commented 2 years ago

@nekowinston really love the idea of the green color for unread items

just edited it, I missed the [1] link selectors, sorry about that

what do you mean?

nekowinston commented 2 years ago

what do you mean?

Edited it 60 seconds after posting that comment, apologies. It's fixed now, I meant the Link indicators in square brackets, in the articles.

What's your take on the current state of it, I can't see anything I missed on my end. Pink for the header is a matter of the user's taste of course - I just like it.

ignamartinoli commented 2 years ago

I am tweaking with it. Another thing I like is using color0 as the focused background. It looks like vim.opt.cursorline = true and adds a lot to the user experience. One thing we could improve on that is adding the bold modifier to focused items.

For link selectors I used Blue, which is the color assigned for tags (I guess that could be the best approximation). For links the specifications suggest Rosewater. These are all only suggestions from a generalized specification, but they don't look that bad. Check it and tell me your review on that, I'm really open on this.

I updated the code merging things from both our configurations. It's still work in progress so any feedback can help to improve this to some final form :D

nekowinston commented 2 years ago

Just made some tweaks on my end, and created a basic repo for it: https://github.com/catppuccin/newsboat

Please let me know how I can properly add you as a co-author for it.

Regarding URLs: please feel free to disregard our Guidelines, we don't have rosewater in our base16 colorscheme, let's use blue instead; since it is a well established web standard.

ignamartinoli commented 2 years ago

Wow, this is beginning to take shape.

What documentation are you using? I am using this and I couldn't find an <element> list.

Please let me know how I can properly add you as a co-author for it.

I'm really not that skilled with GitHub but I think you have to add me as a Contributor, not entirely sure how that can be done tho, I'm investigating on it (edit: I found this).

Also I really like the direction the theme is going, I'm experimenting to see if some red can be added to have a more complete color range

nekowinston commented 2 years ago

I've had to rebase the repository to add you as a co-author, you show up now; I've also invited you with write access.

Could we possibly have a chat? We have our discord, but I'm up for Matrix as well. I feel like we could cooperate faster that way.

The docs I'm using can be found here.

nekowinston commented 2 years ago

Repo is up at https://github.com/catppuccin/newsboat, it's marked as WIP for now, dark theme works reasonably well, Latte is soon to follow.

You can follow the #newsboat thread on the Discord if you're interested.