Richardsl / heatmap-calendar-obsidian

An Obsidian plugin for displaying data in a calendar similar to the github activity calendar
Apache License 2.0
623 stars 103 forks source link

Add default grid color option to match dark and light color themes. #17

Closed MosaicMan closed 2 years ago

MosaicMan commented 2 years ago

This adds the ability to specify a default gridColor for cells without matching data so the styling can better suit themes with light or dark colors. Attempts to address #6.

const calendarData = { 
    entries: [],
    year: 2022,
        gridColor: "#2a2a2a", // (optional) Defaults to "#ffffff"
}
asphaltbuffet commented 2 years ago

eagerly awaiting this to be included!

Richardsl commented 2 years ago

i think we should keep the styling separate in custom css snippets. i gave all of the empty days a separate class isEmpty now, so they should be easy to style

MosaicMan commented 2 years ago

Way better solution. Thanks!