# farmOS Calendar module (v2)

**URL:** <https://farmos.discourse.group/t/farmos-calendar-module-v2/1617>\
**Category:** Using farmOS\
**Created:** [April 13, 2023, 3:47pm UTC](https://farmos.discourse.group/t/farmos-calendar-module-v2/1617 "2023-04-13T15:47:04Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![mstenta](https://yyz2.discourse-cdn.com/free1/user_avatar/farmos.discourse.group/mstenta/32/4_2.png) [@mstenta](https://farmos.discourse.group/u/mstenta)\
**Post date:** [April 17, 2023, 1:19pm UTC](https://farmos.discourse.group/t/farmos-calendar-module-v2/1617/11 "2023-04-17T13:19:22Z")

</div>

I’ve released v1.0.0 of the farmOS Calendar module and made it available to enable on Farmier-hosted instances.

> **[farm\_calendar 1.0.0](https://www.drupal.org/project/farm_calendar/releases/1.0.0)**
>
> Initial release.

Thanks for reviewing/testing! Couple of quick responses to specific things…

> [@wotnak](#):
>
> Calendar doesn’t look too good on the dark mode, low color contrast on log titles makes them hard to read.

That’s unfortunate. Thanks for opening the upstream issue @wotnak! It is definitely an issue with the way the [Calendar View](https://www.drupal.org/project/calendar_view) module interacts with the [Gin](https://www.drupal.org/project/gin) theme. Hopefully the maintainers of those two projects can figure out a good solution.

> [@pat](#):
>
> Not sure I get the colors… Yellow seems to be for “done” tasks.

The colors are pretty simple right now. Here’s the CSS file: [css/calendar.css · 1.x · project / farm\_calendar · GitLab](https://git.drupalcode.org/project/farm_calendar/-/blob/1.x/css/calendar.css)

The rules are (basically):

- If the log is “pending” the circle next to the log name will be empty. Otherwise, it will be a solid circle. (Almost like a radio button that’s been checked)
- Color is determined by log type (hard-coded for some of the common core types):
  - Activities are yellow: [#f1c40f hex color](https://www.colorhexa.com/f1c40f)
  - Harvests are orange: [#e67e22 hex color](https://www.colorhexa.com/e67e22)
  - Inputs are purple: [#9b59b6 hex color](https://www.colorhexa.com/9b59b6)
  - Observations are blue: [#2980b9 hex color](https://www.colorhexa.com/2980b9)
  - Maintenance and Medical are red: [#e74c3c hex color](https://www.colorhexa.com/e74c3c)
  - Seeding and Transplanting are green: [#2ecc71 hex color](https://www.colorhexa.com/2ecc71)
  - All others (default fallback) are blue (a bit lighter than observations): [#3498db hex color](https://www.colorhexa.com/3498db)

> [@pat](#):
>
> Sorry, I can’t hold back the ideas…

These are great ideas @pat! Like I said above I don’t have plans (or funding) to dig much deeper on this module in the short term, but I think a lot of these would be great next steps for v1.0.1 or v1.1.0.

I also really like the dashboard calendar block ideas that you and @Farmer-Ed were tossing around in [Medical Logs, withdrawal flags](https://farmos.discourse.group/t/medical-logs-withdrawal-flags/1208)

If anyone wants to contribute PRs to this module I’d be happy to review!

---

_[View the full topic](https://farmos.discourse.group/t/farmos-calendar-module-v2/1617)._
