diff --git a/MMM-TitanSchoolMealMenu.css b/MMM-TitanSchoolMealMenu.css index 12cec5c..380e899 100644 --- a/MMM-TitanSchoolMealMenu.css +++ b/MMM-TitanSchoolMealMenu.css @@ -2,7 +2,7 @@ font-weight: 700; } -.MMM-TitanSchoolMealMenu .meal-description { +.MMM-TitanSchoolMealMenu .breakfast-description, .MMM-TitanSchoolMealMenu .lunch-description { font-weight: 300; } diff --git a/MMM-TitanSchoolMealMenu.js b/MMM-TitanSchoolMealMenu.js index 0d5f0fa..e07af52 100644 --- a/MMM-TitanSchoolMealMenu.js +++ b/MMM-TitanSchoolMealMenu.js @@ -133,7 +133,7 @@ Module.register("MMM-TitanSchoolMealMenu", { breakfastMenuRecipes.innerHTML = dayMenu.breakfast ?? "none"; breakfastMenuRecipes.className = "meal-recipes"; - breakfastMenuList.className = "meal-description"; + breakfastMenuList.className = "breakfast-description"; breakfastMenuList.appendChild(breakfastMenuItems); breakfastMenuItems.appendChild(breakfastMenuTitle); breakfastMenuItems.appendChild(breakfastMenuRecipes); @@ -150,7 +150,7 @@ Module.register("MMM-TitanSchoolMealMenu", { lunchMenuRecipes.innerHTML = dayMenu.lunch ?? "none"; lunchMenuRecipes.className = "meal-recipes"; - lunchMenuList.className = "meal-description"; + lunchMenuList.className = "lunch-description"; lunchMenuList.appendChild(lunchMenuItems); lunchMenuItems.appendChild(lunchMenuTitle); lunchMenuItems.appendChild(lunchMenuRecipes); diff --git a/README.md b/README.md index 2492eed..595083c 100644 --- a/README.md +++ b/README.md @@ -6,10 +6,25 @@ A module for the MagicMirror framework that retrieves a school meal menu from th ![Screenshot](./docs/screenshot.png) +## Installation + +```bash +cd ~/MagicMirror/modules +git clone https://github.com/evanhsu/MMM-TitanSchoolMealMenu.git +``` + +## Updating + +```bash +cd ~/MagicMirror/modules/MMM-TitanSchoolMealMenu +git pull +``` + ## Usage Add this to your MagicMirror `config.js`: +```js { module: "MMM-TitanSchoolMealMenu", position: "top_left", @@ -32,9 +47,11 @@ Add this to your MagicMirror `config.js`: debug: false // Optional: boolean; Default: false; Setting this to true will output verbose logs }, }, +``` You can also track multiple school menus by listing the module multiple times in your `config.js` file (each config will probably have a different `buildingId`/`districtId`): +```js { module: "MMM-TitanSchoolMealMenu", position: "top_right", @@ -53,6 +70,7 @@ You can also track multiple school menus by listing the module multiple times in districtId: "93f76ff0-2eb7-eb11-a2c4-e816644282bd", } }, +``` ![Multiple Schools](./docs/multiple-schools.png)