You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can we have a dark mode chart since github updated their site to dark mode?
Reacted by Aryan Khandelwal, 干志雄, Eddie Cosma, HelloTools 机器人, Oktavian Yoga Syahputra, Hossein Abbasi, Aryan, Zaid Amin, deniz, Patrick Breheny and 1 more
Hi there, I have looked through the GitHub site to find the colors used with their dark theme (if you're into that). I have never used ruby before, so I may or may not open a PR. Feel free to scoop this change if you'd like.
The hex color codes are as follows:
#161b22 -- color-calendar-graph-day-border (no contributions)
#1e6823 -- L1 bg
#034525 -- L2 bg
#0f6d31 -- L3 bg
#00c647 -- L4 bg (most contributions)
#0d1117 -- site background in dark mode
I believe these should be added here, as a new dark scheme:
On Sun, 10 Jan 2021, 23:42 Eric Graves, ***@***.***> wrote:
Hi there, I have looked through the GitHub site to find the colors used
with their dark theme (if you're into that). I have never used ruby before,
so I may or may not open a PR. Feel free to scoop this change if you'd like.
The hex color codes are as follows:
#161b22 -- color-calendar-graph-day-border (no contributions)
#1e6823 -- L1 bg
#034525 -- L2 bg
#0f6d31 -- L3 bg
#00c647 -- L4 bg (most contributions)
#0d1117 -- site background in dark mode
I believe these should be added here, as a new dark scheme:
https://github.com/2016rshah/githubchart-api/blob/2a12825b20e92f534ef5628784b2777a7ff2890c/color.rb#L1-L5
i.e. dark: ['#161b22', "#1e6823", "#034525", "#0f6d31", "#00c647"]
It's not obvious to me where the background color of the SVG gets set, but
that should be #0d1117.
Hope this helps!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#21 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANPM4IKPUF2Q6TY6FF5HMDLSZIUMDANCNFSM4UV5VSAA>
.
Activity
eridgraves commentedon Jan 10, 2021
Hi there, I have looked through the GitHub site to find the colors used with their dark theme (if you're into that). I have never used ruby before, so I may or may not open a PR. Feel free to scoop this change if you'd like.
The hex color codes are as follows:
I believe these should be added here, as a new
darkscheme:githubchart-api/color.rb
Lines 1 to 5 in 2a12825
i.e.
dark: ['#161b22', "#1e6823", "#034525", "#0f6d31", "#00c647"]It's not obvious to me where the background color of the SVG gets set, but that should be
#0d1117.Hope this helps!
devTam commentedon Jan 11, 2021
aryan29 commentedon Mar 31, 2021
Anyone working on this?
devTam commentedon Apr 2, 2021
2016rshah commentedon Apr 21, 2022
Would be cool! I'm not actively developing this project but I'll add a feature request label in case anybody wants to take a stab at it in the future!