From 38de8c2cb6949148ae1ceb24375b961a67f5c322 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pau=20Ferrer=20Oca=C3=B1a?= Date: Mon, 13 Feb 2023 14:29:23 +0100 Subject: [PATCH] MOBILE-4065 theme: Add separate variables for calendar events --- src/theme/globals.variables.scss | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/src/theme/globals.variables.scss b/src/theme/globals.variables.scss index 49893eedf..dda1c0c67 100644 --- a/src/theme/globals.variables.scss +++ b/src/theme/globals.variables.scss @@ -124,11 +124,17 @@ $activity-icon-colors: ( interface: #a378ff ) !default; +$calendar-event-category-category: #8e24aa !default; +$calendar-event-category-course: $red !default; +$calendar-event-category-group: $yellow !default; +$calendar-event-category-user: $blue !default; +$calendar-event-category-site: $green !default; + // Calendar event category background colors. $calendar-event-category-colors: ( - category: #8e24aa, - course: $red, - group: $yellow, - user: $blue, - site: $green + category: $calendar-event-category-category, + course: $calendar-event-category-course, + group: $calendar-event-category-group, + user: $calendar-event-category-user, + site: $calendar-event-category-site, ) !default;