From 2dc29d0f16558b93a5a55f0692ae09f10be4d288 Mon Sep 17 00:00:00 2001 From: Yaman Qalieh Date: Tue, 30 Aug 2016 06:42:04 -0400 Subject: [PATCH] fix errors caused by not fixing merge --- hourglass/client/main/main.js | 39 ----------------------------------- 1 file changed, 39 deletions(-) diff --git a/hourglass/client/main/main.js b/hourglass/client/main/main.js index 40e9c1f..91dcb30 100644 --- a/hourglass/client/main/main.js +++ b/hourglass/client/main/main.js @@ -11,41 +11,7 @@ var openValues = { "options": "-20%" }; -<<<<<<< HEAD -// Sets values for the different themes - -Session.set('themeColors', { - "light": { - "background": "White.jpg", - "header": "#EBEBEB", - "sidebar": "#65839A", - "funcButton": "#849CAE", - "statusIcons": "#33ADFF", - "highlightText": "#FF1A1A", - "cards": "#FEFEFE", - "classes":"#EBEBEB", - "calendar": "#000", - "text": "#000" - }, - "dark": { - "background": "Black.jpg", - "header": "#373A56", - "sidebar": "#35435D", - "funcButton": "#5d75A2", - "statusIcons": "#33ADFF", - "highlightText": "#FF1A1A", - "cards": "#151A2B", - "classes":"#46396E", - "calendar": "#000", - //30313B - "text": "#F6F6F6" - } -}); - //Sets colors for different assignment statuses - -======= ->>>>>>> origin/master var workColors = { "normal": "#2E4F74", "quiz": "#409333", @@ -342,13 +308,8 @@ Template.main.helpers({ var width = window.innerWidth * 0.85; return "width:" + width.toString() + "px;margin-left:" + (0.5 * window.innerWidth - 0.5 * width).toString() + "px;"; }, -<<<<<<< HEAD calColor() { // Sets the color of the calendar according to theme - return "color:"+Session.get("themeColors")[Meteor.user().profile.preferences.theme].calendar; -======= - calColor() { return "color:"+themeColors[Meteor.user().profile.preferences.theme].calendar; ->>>>>>> origin/master }, calbg() { //Sets size of the calendar var width = window.innerWidth * 0.865;