obsidian-calendar-plugin icon indicating copy to clipboard operation
obsidian-calendar-plugin copied to clipboard

CSS class for days that contain a note

Open javierarce opened this issue 4 years ago • 3 comments

Currently, if a day contains a note a dot appears under the number. This is great and allows seeing if there's a note linked to a given day, but I find it too subtle for my taste.

I'd love to be able to customize the style of calendar cells that contain dots. This improvement would allow showing a chain of days with notes very clearly (some sort of Seinfeld's "Don't Break the Chain" method).

Here's an example of the possible change in action:

Screen Shot 2020-12-07 at 17 12 28

javierarce avatar Dec 07 '20 16:12 javierarce

Love this idea! Will add a class and maybe a data-streak-count so that you could add custom colors/gradients

liamcain avatar Dec 07 '20 17:12 liamcain

That's even better, thanks @liamcain!

javierarce avatar Dec 07 '20 18:12 javierarce

So I added a new has-note class in v.1.4.4. The streak number will come in a future release (since it takes a little bit more work) so I'll leave this issue open to track.

liamcain avatar Dec 08 '20 19:12 liamcain