2021-02-03 09:30:07 +00:00
|
|
|
/*
|
|
|
|
* App LIGHT theme CSS
|
|
|
|
* ----------------------------------------------------------------------------
|
|
|
|
* Ionic Variables and Theming. For more info, please see:
|
|
|
|
* http://ionicframework.com/docs/theming/
|
|
|
|
*/
|
2020-10-06 10:48:02 +00:00
|
|
|
|
2020-10-05 12:56:27 +00:00
|
|
|
:root {
|
2020-10-22 13:13:12 +00:00
|
|
|
|
|
|
|
// Color palette
|
2022-01-27 17:03:02 +00:00
|
|
|
--black: #{$black};
|
|
|
|
--gray-900: #{$gray-900};
|
|
|
|
--gray-800: #{$gray-800};
|
|
|
|
--gray-700: #{$gray-700};
|
|
|
|
--gray-600: #{$gray-600};
|
|
|
|
--gray-500: #{$gray-500};
|
|
|
|
--gray-400: #{$gray-400};
|
|
|
|
--gray-300: #{$gray-300};
|
|
|
|
--gray-200: #{$gray-200};
|
|
|
|
--gray-100: #{$gray-100};
|
|
|
|
--white: #{$white};
|
|
|
|
|
|
|
|
// Ionic shades.
|
|
|
|
--ion-color-step-0: var(--white);
|
|
|
|
--ion-color-step-50: var(--gray-100);
|
|
|
|
--ion-color-step-100: var(--gray-100);
|
|
|
|
--ion-color-step-150: var(--gray-100);
|
|
|
|
--ion-color-step-200: var(--gray-200);
|
|
|
|
--ion-color-step-250: var(--gray-200);
|
|
|
|
--ion-color-step-300: var(--gray-300);
|
|
|
|
--ion-color-step-350: var(--gray-300);
|
|
|
|
--ion-color-step-400: var(--gray-400);
|
|
|
|
--ion-color-step-450: var(--gray-400);
|
|
|
|
--ion-color-step-500: var(--gray-500);
|
|
|
|
--ion-color-step-550: var(--gray-500);
|
|
|
|
--ion-color-step-600: var(--gray-600);
|
|
|
|
--ion-color-step-650: var(--gray-600);
|
|
|
|
--ion-color-step-700: var(--gray-700);
|
|
|
|
--ion-color-step-750: var(--gray-700);
|
|
|
|
--ion-color-step-800: var(--gray-800);
|
|
|
|
--ion-color-step-850: var(--gray-800);
|
|
|
|
--ion-color-step-900: var(--gray-900);
|
|
|
|
--ion-color-step-950: var(--gray-900);
|
|
|
|
--ion-color-step-1000: var(--black);
|
2021-02-03 09:30:07 +00:00
|
|
|
|
|
|
|
--blue: #{$blue};
|
2021-02-03 14:59:12 +00:00
|
|
|
--blue-light: #{$blue-light};
|
2021-02-23 07:53:24 +00:00
|
|
|
--blue-dark: #{$blue-dark};
|
|
|
|
|
2021-02-03 09:30:07 +00:00
|
|
|
--green: #{$green};
|
2021-02-23 07:53:24 +00:00
|
|
|
--green-light: #{$green-light};
|
|
|
|
--green-dark: #{$green-dark};
|
|
|
|
|
2021-02-03 09:30:07 +00:00
|
|
|
--red: #{$red};
|
2021-02-23 07:53:24 +00:00
|
|
|
--red-light: #{$red-light};
|
|
|
|
--red-dark: #{$red-dark};
|
|
|
|
|
2021-02-03 09:30:07 +00:00
|
|
|
--yellow: #{$yellow};
|
2021-02-23 07:53:24 +00:00
|
|
|
--yellow-light: #{$yellow-light};
|
|
|
|
--yellow-dark: #{$yellow-dark};
|
2021-02-03 09:30:07 +00:00
|
|
|
|
2021-06-16 16:00:21 +00:00
|
|
|
--turquoise: #007982; // Accent.
|
|
|
|
--purple: #8e24aa;
|
|
|
|
|
|
|
|
--text-color: #{$text-color};
|
|
|
|
--background-color: #{$background-color};
|
|
|
|
|
|
|
|
--brand-color: #{$brand-color};
|
|
|
|
--brand-color-contrast: var(--text-color);
|
2021-02-23 07:53:24 +00:00
|
|
|
|
2021-06-16 16:00:21 +00:00
|
|
|
--core-online-color: #5cb85c;
|
2021-02-03 09:30:07 +00:00
|
|
|
|
|
|
|
// Named Color Variables
|
2022-01-27 17:03:02 +00:00
|
|
|
--primary: #{$primary};
|
|
|
|
--secondary: #{$secondary};
|
2021-06-16 16:00:21 +00:00
|
|
|
--success: #{$success};
|
|
|
|
--danger: #{$danger};
|
|
|
|
--warning: #{$warning};
|
|
|
|
--info: #{$info};
|
|
|
|
--light: #{$light};
|
|
|
|
--dark: #{$dark};
|
|
|
|
--medium: #{$medium};
|
2021-02-23 07:53:24 +00:00
|
|
|
|
2022-01-27 17:03:02 +00:00
|
|
|
--stroke: #{$stroke};
|
|
|
|
|
2021-02-23 07:53:24 +00:00
|
|
|
@each $color-name, $value in $colors {
|
2021-05-14 08:26:52 +00:00
|
|
|
@include generate-color($color-name, $colors);
|
2021-02-23 07:53:24 +00:00
|
|
|
}
|
|
|
|
|
2021-05-06 09:33:10 +00:00
|
|
|
// Accessibility vars.
|
|
|
|
--a11y-min-target-size: 44px;
|
2021-05-13 14:39:16 +00:00
|
|
|
--a11y-focus-color: var(--primary);
|
|
|
|
--a11y-focus-width: 2px;
|
2021-10-07 09:26:08 +00:00
|
|
|
--zoom-level: 100%;
|
2021-05-06 09:33:10 +00:00
|
|
|
|
2021-05-10 09:52:41 +00:00
|
|
|
--module-icon-size: 24px;
|
|
|
|
|
2021-06-16 16:00:21 +00:00
|
|
|
--ion-background-color: var(--background-color);
|
|
|
|
--ion-background-color-rgb: #{$background-color-rgb};
|
2021-05-18 15:11:00 +00:00
|
|
|
|
2021-06-02 10:44:34 +00:00
|
|
|
--contrast-background: white;
|
|
|
|
|
2021-06-16 16:00:21 +00:00
|
|
|
--ion-text-color: var(--text-color);
|
|
|
|
--ion-text-color-rgb: #{$text-color-rgb};
|
|
|
|
--subdued-text-color: #595959;
|
2021-06-02 10:44:34 +00:00
|
|
|
|
2022-01-27 22:13:21 +00:00
|
|
|
--small-radius: 4px;
|
|
|
|
--big-radius: 8px;
|
|
|
|
|
2021-06-16 16:00:21 +00:00
|
|
|
--ion-card-color: var(--text-color);
|
2022-01-27 17:02:34 +00:00
|
|
|
ion-card {
|
|
|
|
--border-width: 1px;
|
|
|
|
--border-style: solid;
|
2022-01-27 17:03:02 +00:00
|
|
|
--border-color: var(--stroke);
|
2022-01-27 17:02:34 +00:00
|
|
|
--box-shadow: none;
|
2022-01-27 22:13:21 +00:00
|
|
|
--border-radius: var(--big-radius);
|
2022-01-27 17:02:34 +00:00
|
|
|
}
|
2020-10-22 13:13:12 +00:00
|
|
|
|
2021-05-07 08:31:06 +00:00
|
|
|
--text-hightlight-background-color: #{$core-text-hightlight-background-color};
|
2021-01-21 14:00:38 +00:00
|
|
|
|
2021-06-16 16:00:21 +00:00
|
|
|
--ion-placeholder-color: var(--subdued-text-color);
|
2021-06-15 11:23:48 +00:00
|
|
|
|
2020-10-22 13:13:12 +00:00
|
|
|
ion-content {
|
2021-05-18 15:11:00 +00:00
|
|
|
--background: var(--ion-background-color);
|
2022-01-27 17:03:02 +00:00
|
|
|
--background-alternative: var(--light);
|
2020-10-22 13:13:12 +00:00
|
|
|
}
|
|
|
|
|
2022-01-27 17:02:34 +00:00
|
|
|
--core-bottom-tabs-background: var(--white);
|
2022-01-27 17:03:02 +00:00
|
|
|
--core-bottom-tabs-color: var(--medium);
|
2021-06-16 16:00:21 +00:00
|
|
|
--core-bottom-tabs-color-selected: var(--brand-color);
|
2021-09-08 16:00:29 +00:00
|
|
|
--core-bottom-tabs-background-selected: transparent;
|
2021-06-16 16:00:21 +00:00
|
|
|
--core-bottom-tabs-badge-color: var(--brand-color);
|
|
|
|
--core-bottom-tabs-badge-text-color: var(--brand-color-contrast);
|
|
|
|
--bottom-tabs-size: 56px;
|
2021-05-26 07:51:12 +00:00
|
|
|
ion-tab-bar.mainmenu-tabs {
|
2021-05-07 08:31:06 +00:00
|
|
|
--background: var(--core-bottom-tabs-background);
|
|
|
|
--color: var(--core-bottom-tabs-color);
|
|
|
|
--color-selected: var(--core-bottom-tabs-color-selected);
|
2021-07-07 13:24:16 +00:00
|
|
|
--background-selected: var(--core-bottom-tabs-background-selected);
|
2020-10-22 13:13:12 +00:00
|
|
|
}
|
|
|
|
|
2021-06-16 16:00:21 +00:00
|
|
|
--core-link-color: var(--blue);
|
2021-05-07 08:31:06 +00:00
|
|
|
a {
|
|
|
|
color: var(--core-link-color);
|
|
|
|
}
|
|
|
|
|
2021-06-16 16:00:21 +00:00
|
|
|
--core-header-toolbar-button-image-size: 44px;
|
|
|
|
--core-header-toolbar-background: var(--white);
|
|
|
|
--core-header-toolbar-border-width: 3px;
|
|
|
|
--core-header-toolbar-border-color: var(--brand-color);
|
2022-01-27 17:03:02 +00:00
|
|
|
--core-header-toolbar-color: var(--gray-900);
|
2021-06-16 16:00:21 +00:00
|
|
|
--core-header-toolbar-height: 56px;
|
|
|
|
html.ios {
|
|
|
|
--core-header-toolbar-height: 54px;
|
|
|
|
}
|
|
|
|
|
2021-06-07 08:22:27 +00:00
|
|
|
ion-header ion-toolbar {
|
2021-05-07 08:31:06 +00:00
|
|
|
--color: var(--core-header-toolbar-color);
|
|
|
|
--background: var(--core-header-toolbar-background);
|
2021-06-02 10:44:34 +00:00
|
|
|
--border-width: 0 0 var(--core-header-toolbar-border-width) 0;
|
|
|
|
--border-color: var(--core-header-toolbar-border-color);
|
|
|
|
|
2020-12-04 15:10:10 +00:00
|
|
|
ion-button {
|
2021-06-07 08:22:27 +00:00
|
|
|
--ion-toolbar-color: var(--core-header-toolbar-color);
|
2021-05-07 08:31:06 +00:00
|
|
|
--color: var(--core-header-toolbar-color);
|
2020-12-04 15:10:10 +00:00
|
|
|
}
|
2020-11-20 10:59:36 +00:00
|
|
|
|
|
|
|
ion-spinner {
|
2021-05-19 14:26:59 +00:00
|
|
|
--ion-color-base: var(--core-header-toolbar-color);
|
2021-05-07 08:31:06 +00:00
|
|
|
--color: var(--core-header-toolbar-color);
|
2020-11-20 10:59:36 +00:00
|
|
|
}
|
2020-10-22 13:13:12 +00:00
|
|
|
}
|
|
|
|
|
2021-06-07 08:22:27 +00:00
|
|
|
ion-header.header-ios ion-toolbar:last-of-type {
|
|
|
|
--border-width: 0 0 var(--core-header-toolbar-border-width) 0;
|
|
|
|
}
|
|
|
|
|
2021-05-27 14:10:43 +00:00
|
|
|
ion-searchbar {
|
|
|
|
--background: var(--ion-item-background);
|
|
|
|
.searchbar-input {
|
|
|
|
height: var(--a11y-min-target-size);
|
2022-01-27 22:13:21 +00:00
|
|
|
border: 1px solid var(--stroke);
|
|
|
|
box-shadow: none;
|
|
|
|
border-radius: var(--big-radius);
|
2021-05-27 14:10:43 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-11-04 16:37:02 +00:00
|
|
|
ion-action-sheet {
|
2021-06-02 10:44:34 +00:00
|
|
|
--button-color: var(--ion-text-color);
|
|
|
|
--button-color-selected: var(--ion-text-color);
|
2021-07-01 10:17:26 +00:00
|
|
|
--title-border-color: var(--brand-color);
|
2021-05-07 08:31:06 +00:00
|
|
|
|
|
|
|
.action-sheet-title {
|
2021-06-02 10:44:34 +00:00
|
|
|
--color: var(--ion-text-color);
|
2021-07-01 10:17:26 +00:00
|
|
|
font-weight: bold;
|
2021-05-07 08:31:06 +00:00
|
|
|
}
|
2020-11-04 16:37:02 +00:00
|
|
|
|
|
|
|
@media (min-height: 500px) {
|
|
|
|
--max-height: 50%;
|
|
|
|
--height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.action-sheet-cancel {
|
|
|
|
--button-color: var(--ion-color-danger);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-06-16 16:00:21 +00:00
|
|
|
--core-tabs-background: var(--white);
|
|
|
|
--core-tab-background: var(--core-tabs-background);
|
|
|
|
--core-tab-color: var(--subdued-text-color);
|
2022-01-27 17:03:02 +00:00
|
|
|
--core-tab-border-color: var(--stroke);
|
2021-06-16 16:00:21 +00:00
|
|
|
--core-tab-color-active: var(--dark);
|
|
|
|
--core-tab-border-color-active: var(--brand-color);
|
|
|
|
--core-tab-font-weight-active: normal;
|
|
|
|
--core-tabs-height: 56px;
|
2021-02-01 11:32:10 +00:00
|
|
|
core-tabs, core-tabs-outlet {
|
2020-11-03 07:37:59 +00:00
|
|
|
ion-slide {
|
2021-01-26 16:38:23 +00:00
|
|
|
--background: var(--core-tab-background);
|
|
|
|
--color: var(--core-tab-color);
|
2021-05-05 15:41:37 +00:00
|
|
|
--border-color: var(--core-tab-border-color);
|
2021-01-26 16:38:23 +00:00
|
|
|
--color-active: var(--core-tab-color-active);
|
|
|
|
--border-color-active: var(--core-tab-border-color-active);
|
2021-06-03 10:35:16 +00:00
|
|
|
--font-weight-active: var(--core-tab-font-weight-active);
|
2020-11-03 07:37:59 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-11-12 08:44:44 +00:00
|
|
|
ion-spinner {
|
2021-05-19 14:26:59 +00:00
|
|
|
--ion-color-base: var(--ion-color-primary);
|
2021-05-07 08:31:06 +00:00
|
|
|
--color: var(--ion-color-primary);
|
2020-11-12 08:44:44 +00:00
|
|
|
}
|
|
|
|
|
2021-06-16 16:00:21 +00:00
|
|
|
--core-progressbar-height: 8px;
|
|
|
|
--core-progressbar-color: var(--brand-color);
|
2022-01-27 17:03:02 +00:00
|
|
|
--core-progressbar-text-color: var(--medium);
|
|
|
|
--core-progressbar-background: var(--light);
|
2020-11-18 10:07:56 +00:00
|
|
|
core-progress-bar {
|
2021-05-27 14:10:43 +00:00
|
|
|
--height: var(--core-progressbar-height);
|
|
|
|
--color: var(--core-progressbar-color);
|
|
|
|
--text-color: var(--core-progressbar-text-color);
|
|
|
|
--background: var(--core-progressbar-background);
|
2020-11-18 10:07:56 +00:00
|
|
|
}
|
|
|
|
|
2021-06-16 16:00:21 +00:00
|
|
|
--ion-item-background: #{$ion-item-background};
|
2022-01-27 17:03:02 +00:00
|
|
|
--ion-item-detail-icon-color: var(--medium);
|
2021-05-03 13:32:10 +00:00
|
|
|
--ion-item-detail-icon-font-size: 20px;
|
|
|
|
--ion-item-detail-icon-opacity: 1;
|
|
|
|
ion-item {
|
|
|
|
--detail-icon-color: var(--ion-item-detail-icon-color);
|
|
|
|
--detail-icon-font-size: var(--ion-item-detail-icon-font-size);
|
|
|
|
--detail-icon-opacity: var(--ion-item-detail-icon-opacity);
|
|
|
|
}
|
|
|
|
|
2021-05-10 10:19:34 +00:00
|
|
|
--item-divider-min-height: calc(var(--a11y-min-target-size) + 8px);
|
2022-01-27 17:03:02 +00:00
|
|
|
--item-divider-background: var(--light);
|
2021-06-16 16:00:21 +00:00
|
|
|
--item-divider-color: var(--text-color);
|
2021-05-11 09:52:57 +00:00
|
|
|
ion-item-divider, ion-item.divider {
|
2021-05-19 14:26:59 +00:00
|
|
|
--background: var(--item-divider-background);
|
|
|
|
--color: var(--item-divider-color);
|
2021-05-11 09:52:57 +00:00
|
|
|
--min-height: var(--item-divider-min-height);
|
|
|
|
min-height: var(--min-height);
|
2022-01-19 13:25:57 +00:00
|
|
|
|
|
|
|
.expandable-status-icon {
|
|
|
|
font-size: 18px;
|
|
|
|
}
|
2020-12-14 13:50:37 +00:00
|
|
|
}
|
|
|
|
|
2021-06-16 16:00:21 +00:00
|
|
|
--spacer-background: var(--item-divider-background);
|
2021-05-21 09:17:27 +00:00
|
|
|
core-spacer {
|
2021-06-02 10:01:26 +00:00
|
|
|
--item-divider-background: var(--spacer-background);
|
2021-05-21 09:17:27 +00:00
|
|
|
}
|
|
|
|
|
2021-06-15 11:23:48 +00:00
|
|
|
ion-note {
|
|
|
|
--color: var(--subdued-text-color);
|
|
|
|
}
|
|
|
|
|
2021-09-29 07:14:48 +00:00
|
|
|
ion-back-button {
|
|
|
|
--min-height: var(--a11y-min-target-size);
|
|
|
|
--min-width: var(--a11y-min-target-size);
|
|
|
|
}
|
|
|
|
|
2021-05-07 08:31:06 +00:00
|
|
|
--core-combobox-background: var(--ion-item-background);
|
2022-01-27 17:03:02 +00:00
|
|
|
--core-combobox-color: var(--gray-900);
|
2022-01-27 22:13:21 +00:00
|
|
|
--core-combobox-border-color: var(--stroke);
|
|
|
|
--core-combobox-border-width: 1px;
|
|
|
|
--core-combobox-radius: var(--big-radius);
|
|
|
|
--core-combobox-box-shadow: none;
|
2021-06-16 16:00:21 +00:00
|
|
|
|
|
|
|
--selected-item-color: var(--primary);
|
|
|
|
--selected-item-border-width: 5px;
|
|
|
|
|
|
|
|
--core-login-background: var(--white);
|
2022-01-27 17:03:02 +00:00
|
|
|
--core-login-text-color: var(--gray-900);
|
2021-06-16 16:00:21 +00:00
|
|
|
--core-login-input-background: var(--white);
|
2022-01-27 17:03:02 +00:00
|
|
|
--core-login-input-color: var(--gray-900);
|
2021-06-16 16:00:21 +00:00
|
|
|
|
|
|
|
--core-star-color: var(--brand-color);
|
|
|
|
|
|
|
|
--core-large-avatar-size: 90px;
|
|
|
|
--core-avatar-size: 44px;
|
|
|
|
|
2022-01-27 17:03:02 +00:00
|
|
|
--core-send-message-input-background: var(--gray-200);
|
|
|
|
--core-send-message-input-color: var(--gray-900);
|
2021-06-16 16:00:21 +00:00
|
|
|
|
|
|
|
--core-courseimage-on-course-height: 150px;
|
|
|
|
|
2021-12-03 12:45:23 +00:00
|
|
|
--core-course-module-navigation-max-height: 56px;
|
|
|
|
--core-course-module-navigation-background: var(--contrast-background);
|
|
|
|
|
2022-01-21 16:17:51 +00:00
|
|
|
--core-user-menu-site-logo-max-height: 32px;
|
|
|
|
|
2021-06-16 16:00:21 +00:00
|
|
|
--addon-calendar-event-category-color: var(--purple);
|
|
|
|
--addon-calendar-event-course-color: var(--red);
|
|
|
|
--addon-calendar-event-group-color: var(--yellow);
|
|
|
|
--addon-calendar-event-user-color: var(--blue);
|
|
|
|
--addon-calendar-event-site-color: var(--green);
|
|
|
|
--addon-calendar-today-border-color: var(--primary);
|
2022-01-27 17:03:02 +00:00
|
|
|
--addon-calendar-border-color: var(--stroke);
|
2021-06-16 16:00:21 +00:00
|
|
|
|
|
|
|
--addon-messages-message-bg: var(--white);
|
2022-01-27 17:03:02 +00:00
|
|
|
--addon-messages-message-activated-bg: var(--gray-200);
|
|
|
|
--addon-messages-message-note-text: var(--gray-500);
|
2021-06-16 16:00:21 +00:00
|
|
|
--addon-messages-message-note-font-size: 75%;
|
2022-01-27 17:03:02 +00:00
|
|
|
--addon-messages-message-mine-bg: var(--gray-200);
|
|
|
|
--addon-messages-message-mine-activated-bg: var(--gray-300);
|
2021-06-16 16:00:21 +00:00
|
|
|
--addon-messages-avatar-size: 30px;
|
|
|
|
--addon-messages-discussion-badge: var(--primary);
|
|
|
|
--addon-messages-discussion-badge-text: var(--white);
|
|
|
|
|
|
|
|
--addon-forum-avatar-size: var(--core-avatar-size);
|
2022-01-27 17:03:02 +00:00
|
|
|
--addon-forum-border-color: var(--stroke);
|
|
|
|
--addon-forum-highlight-color: var(--light);
|
2021-02-16 10:18:12 +00:00
|
|
|
|
2021-05-10 09:52:41 +00:00
|
|
|
--drop-shadow: 0, 0, 0, 0.18;
|
2021-01-26 11:21:40 +00:00
|
|
|
|
2021-05-10 09:52:41 +00:00
|
|
|
--core-menu-box-shadow-end: -4px 0px 16px rgba(var(--drop-shadow));
|
|
|
|
--core-menu-box-shadow-start: 4px 0px 16px rgba(var(--drop-shadow));
|
2021-02-18 08:19:38 +00:00
|
|
|
|
|
|
|
--core-question-correct-color: var(--green-dark);
|
|
|
|
--core-question-correct-color-bg: var(--green-light);
|
|
|
|
--core-question-incorrect-color: var(--red);
|
|
|
|
--core-question-incorrect-color-bg: var(--red-light);
|
|
|
|
--core-question-feedback-color: var(--yellow-dark);
|
|
|
|
--core-question-feedback-color-bg: var(--yellow-light);
|
|
|
|
--core-question-warning-color: var(--red);
|
2022-01-27 17:03:02 +00:00
|
|
|
--core-question-saved-color-bg: var(--gray-200);
|
2021-02-18 08:19:38 +00:00
|
|
|
|
|
|
|
--core-question-state-correct-color: var(--green-light);
|
|
|
|
--core-question-state-partial-color: var(--yellow-light);
|
|
|
|
--core-question-state-partial-text: var(--yellow);
|
|
|
|
--core-question-state-incorrect-color: var(--red-light);
|
|
|
|
|
|
|
|
--core-question-feedback-color: var(--yellow-dark);
|
|
|
|
--core-question-feedback-background-color: var(--yellow-light);
|
|
|
|
|
2022-01-27 17:03:02 +00:00
|
|
|
--core-dd-question-selected-shadow: 2px 2px 4px var(--gray-500);
|
2021-05-28 12:15:42 +00:00
|
|
|
--core-dd-question-radius: 10px;
|
2022-01-27 17:03:02 +00:00
|
|
|
--core-dd-question-border: var(--medium);
|
2021-05-06 09:33:10 +00:00
|
|
|
|
2021-06-16 16:00:21 +00:00
|
|
|
@for $i from 0 to length($core-course-image-background) {
|
|
|
|
--core-course-color-#{$i}: #{nth($core-course-image-background, $i + 1)};
|
2021-05-14 15:08:41 +00:00
|
|
|
}
|
|
|
|
|
2021-06-16 16:00:21 +00:00
|
|
|
@for $i from 0 to length($core-dd-question-colors) {
|
|
|
|
--core-dd-question-color-#{$i + 1}: #{nth($core-dd-question-colors, $i + 1)};
|
|
|
|
--core-dd-question-color-#{$i + 1}-contrast: #{get_contrast_color(nth($core-dd-question-colors, $i + 1))};
|
2021-05-14 15:08:41 +00:00
|
|
|
}
|
2022-01-18 08:58:37 +00:00
|
|
|
|
|
|
|
// Make activtity colours available for custom modules.
|
|
|
|
@each $type, $value in $activity-icon-colors {
|
|
|
|
--activity#{$type}: #{$value};
|
|
|
|
}
|
2020-10-05 12:56:27 +00:00
|
|
|
}
|