devstats icon indicating copy to clipboard operation
devstats copied to clipboard

Code::Stats title has same color as background

Open ferenczy opened this issue 6 years ago • 1 comments

For some reason, Code::Stats site title has the same color as the background so it's not visible.

PowerShell in ConEmu: PowerShell in ConEmu

cmd in Cmder: cmd in Cmder

Plain cmd: PLain cmd

Cygwin zsh inside MinTTY: Cygwin zsh inside MinTTY (even though there are various cosole background colors, it's just a different pallete, the backgroud is always color index 0, the same as Code::Stats' foreground color index)

Also, as you can see, inside ConEmu and Cmder, those color rectangles are not displayed (may not be an issue of devstats).

Windows 7 Ultimate 64-bit

ferenczy avatar Sep 05 '19 19:09 ferenczy

That's probably because the theme color I chose for Code::Stats is pretty dark, so dark in fact that when chalk downsamples the color for terminals that don't support RGB colors it becomes the background color.

@ferenczy Since you already have access to all of these terminals to test on, could you maybe help me choose a new color for Code::Stats? All you have to do is change the hex code on this line, build the source code using yarn build (or npm run build), and look at the result by running bin/devstats (or node bin/devstats). Code::Stats doesn't seem to have a real brand color, so any of the gray tones from their website (like #bccacd) would be fine.

niklashigi avatar Sep 05 '19 20:09 niklashigi