Skip to content

add color param to events #1

Description

@rsgalloway

currently events are just a list of lists of dates:

[
  ["3/14/2022", "3/15/2022", "3/16/2022"],
  ["3/28/2022", "3/29/2022", "3/30/2022"]
]

to support this feature we may need to change this to a list of dicts:

[
  {
    "dates": ["3/14/2022", "3/15/2022", "3/16/2022"],
    "color": "#ee2233"
  },
  {
    "dates": ["3/28/2022", "3/29/2022", "3/30/2022"],
    "color": "#11ee33"
  }
]

Activity

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

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions