Skip to content

Dark mode chart #21

Open
Open

Description

@devTam

Can we have a dark mode chart since github updated their site to dark mode?

Activity

  1. eridgraves commented on Jan 10, 2021

    @eridgraves

    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:

    COLOR_SCHEMES = {
    default: ['#eeeeee', '#d6e685', '#8cc665', '#44a340', '#1e6823'],
    halloween: ['#EEEEEE', '#FFEE4A', '#FFC501', '#FE9600', '#03001C'],
    teal: ['#EEEEEE', "#7FFFD4", "#76EEC6", "#66CDAA", "#458B74"]
    }

    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!

  2. devTam commented on Jan 11, 2021

    @devTam
    Author
  3. aryan29 commented on Mar 31, 2021

    @aryan29

    Anyone working on this?

  4. devTam commented on Apr 2, 2021

    @devTam
    Author
  5. 2016rshah commented on Apr 21, 2022

    @2016rshah
    Owner

    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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions