From 4214293b76ca79458a1bac8482a2a8566f5295a3 Mon Sep 17 00:00:00 2001 From: Jeremias Arnstadt Date: Sat, 28 Jan 2017 18:32:06 +0100 Subject: [PATCH] updated README of weatherforecast and calendar module for color options --- modules/default/calendar/README.md | 8 ++++++++ modules/default/weatherforecast/README.md | 6 ++++++ 2 files changed, 14 insertions(+) diff --git a/modules/default/calendar/README.md b/modules/default/calendar/README.md index c5745152..c4c330b8 100644 --- a/modules/default/calendar/README.md +++ b/modules/default/calendar/README.md @@ -174,10 +174,12 @@ The following properties can be configured: ### Calendar configuration The `calendars` property contains an array of the configured calendars. +The `colored` property gives the option for an individual color for each calendar. #### Default value: ````javascript config: { + colored: false, calendars: [ { url: 'http://www.calendarlabs.com/templates/ical/US-Holidays.ics', @@ -210,6 +212,12 @@ config: {
Possible values: See Font Awesome website. + + color + The font color of an event from this calendar. This property should be set if the config is set to colored: true.
+
Possible values: HEX, RGB or RGBA values (#efefef, rgb(242,242,242), rgba(242,242,242,0.5)). + + repeatingCountTitle The count title for yearly repating events in this calendar.
diff --git a/modules/default/weatherforecast/README.md b/modules/default/weatherforecast/README.md index 2842af54..6b5e3930 100644 --- a/modules/default/weatherforecast/README.md +++ b/modules/default/weatherforecast/README.md @@ -191,5 +191,11 @@ The following properties can be configured: } + + colored + If set 'colored' to true the min-temp get a blue tone and the max-temp get a red tone.
+
Default value: false + +