Open rwmitchell opened 3 years ago
That's pretty nice, but would be a lot of effort to replace all of the current screenshots. Unless it could be automated somehow
I'll echo what @rwmitchell said; seeing the text colours against the background color is generally more useful to me than the screenshots themselves.
I'm sure it could be automated easily enough. We're already running a number of transforms when we run update_all
, which retrieve the hex values for the colours. Similar to what Gogh has done, we could store these in JSON within the repo and have the website consume that, then iterate over it to populate React components or similar. Happy to take a stab at it. Thoughts?
Sure!
Took me forever to find the time to actually work on this, but here's a proof of concept. I can add a little polish if this looks worth having.
Looks great!
🤩 Stellar work @jdhmtl! Been looking for something like this for a long time.
Took me forever to find the time to actually work on this, but here's a proof of concept. I can add a little polish if this looks worth having.
That's A W E S O M E
For those looking for it later, gogh is now at https://gogh-co.github.io/Gogh/ and https://github.com/Gogh-Co/Gogh
I wrote a small example for a rust crate I maintain (Ratatui) that could also be useful for showing colors for screenshots nicely (the color names are the ones used by the library - so subtly different to the ones used here):
to run this (assuming you have rust and github cli installed):
gh repo clone ratatui-org/ratatui
cd ratatui
cargo run --example colors
Recently came across
The two rows of color boxes at the top of each screenshot is really helpful (to me) for determining scheme I'm likely to like. It is much easier to differentiate near colors and which ones repeat and/or use the same color for bold and normal.